https://github.com/jstransformers/jstransformer-svgo
SVGO support for JSTransformers
https://github.com/jstransformers/jstransformer-svgo
Last synced: 12 months ago
JSON representation
SVGO support for JSTransformers
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-svgo
- Owner: jstransformers
- License: mit
- Created: 2015-05-13T17:10:14.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2021-09-17T21:51:56.000Z (over 4 years ago)
- Last Synced: 2025-05-30T16:25:17.630Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://npm.im/jstransformer-svgo
- Size: 69.3 KB
- Stars: 3
- Watchers: 5
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-svgo
[SVGO](https://github.com/svg/svgo) support for [JSTransformers](https://github.com/jstransformers/jstransformer).
[](https://travis-ci.org/jstransformers/jstransformer-svgo)
[](https://codecov.io/gh/jstransformers/jstransformer-svgo)
[](http://david-dm.org/jstransformers/jstransformer-svgo)
[](https://www.npmjs.org/package/jstransformer-svgo)
## Installation
npm install jstransformer-svgo
## API
```js
var svgo = require('jstransformer')(require('jstransformer-svgo'))
svgo.renderFile('hello.svg').body
//=> Optimized hello.svg file
```
## License
MIT