v0.2.0
- You can now specify a directory name to automatically convert
*.svg
within that directory, or specify an arbitrary glob pattern (e.g.figs/**/*.svg
). - This feature works especially well in combination with watch mode:
svgink
will automatically detect new matching files in addition to changed existing files. Just be sure to quote globs so that your shell doesn't expand them. - API gains
convertGlob()
for converting directories or globs. - API now has events, which includes notifications for all matching input files, all successful conversions, all successful
run
jobs, and all errors. This is an easy way to consume what happens fromconvertGlob()
andwatch()
. - BREAKING CHANGE in API:
watch()
no longer asynchronously generates results. Instead, you're encouraged to use the event interface.
Full Changelog: v0.1.0...v0.2.0