JSPM

svg-transform

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 578
  • Score
    100M100P100Q98310F
  • License MIT

Makes working with CS transforms a little nicer.

Package Exports

  • svg-transform

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (svg-transform) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

svg-transform

Example usage

var transform = require('svg-transform');
transform([{translate: [10, 20]}); // === 'translate(20, 10)'
transform([{scale: 20}, {translate: [20, 10]}]); // === 'scale(20) translate(20, 10)'