Skip to content

Conversation

@arnaudjuracek
Copy link

The only thing preventing this library to be used in a browser environment seems to be the process.exit used to throw an error when a SVG command is not recognised, because the process API is not available in the browser environment.

Instead of terminating the process, throwing an error allows the user to choose its own method of handling the error, and avoid using the process API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant