npm.io
0.6.4 • Published 4 years ago

convert-svg-test-helper

Licence
MIT
Version
0.6.4
Deps
5
Size
431 kB
Vulns
0
Weekly
0
Stars
200
DeprecatedThis package is deprecated

convert-svg-test-helper

A Node.js package for testing SVG converters implementing using convert-svg-core.

Build Status License Release

Install

Install using npm:

$ npm install --save-dev convert-svg-test-helper

You'll need to have at least Node.js 12.20.0 or newer.

If you're looking to create a converter for a new format, we'd urge you to consider contributing to this framework so that it can be easily integrated and maintained. Read the Contributors section for information on how you can contribute.

Usage

Take a look at the tests for existing SVG converters under the packages directory for examples on how to use this package.

Testing

Testing your SVG converter actually works is just as important as implementing it. Since convert-svg-core contains a lot of the conversion logic, a convert-svg-test-helper package is available to make testing implementations even easier. Again, take a look at the tests for existing SVG converters under the packages directory for examples.

Bugs

If you have any problems with this package or would like to see changes currently in development you can do so here.

Contributors

If you want to contribute, you're a legend! Information on how you can do so can be found in CONTRIBUTING.md. We want your suggestions and pull requests!

A list of all contributors can be found in AUTHORS.md.

License

Copyright 2022 neocotic

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