Skip to content

Node.js packages for converting SVG into other formats using headless Chromium

License

Notifications You must be signed in to change notification settings

PaintSwap/convert-svg

 
 

Repository files navigation

convert-svg

Build Status License Release

This monorepo contains the following Node.js packages that can convert a SVG into another format using headless Chromium:

The first two packages are core dependencies for SVG converters, which make up the remainder of the packages, trying to adhere to the following naming convention:

convert-svg-to-<FORMAT>

It works by using headless Chromium to take a screenshot of the SVG and outputs the buffer. This does mean that the supported output formats is limited to those supported by that the API for headless Chromium, however, as more formats are added, additional packages can easily be created.

Each of the SVG converters will share a common API and CLI with the same options, however, some converters may come with additional options specific for their output format.

Click on the links above for the SVG converters for more information on how to install, use, and even contribute to them.

License

Copyright © 2022 neocotic

See LICENSE.md for more information on our MIT license.

About

Node.js packages for converting SVG into other formats using headless Chromium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%