svg-images
v1.0.0
Published
Extract Images from SVG file
Downloads
217
Maintainers
Readme
svg-images
Node module to extract images from SVG file
Installation
Use one of the following methods to add the Star Rating library to your project:
- Download ZIP
npm install svg-images
Dependencies
- https://www.npmjs.com/package/b64-to-image
Usage
const svgToImages = require('svg-images/svg-images');
svgToImages.extractImagesAsync('files\\input.svg', 'output\\images')
.then(result => {
console.log(result);
})
.catch(err => console.error(err));
Changelog
v1.0.0 - [2019-01-15]
- Initial release