Skip to content
Discussion options

You must be logged in to vote

This library isn't zero-dependency, hence node is needed to load dependencies and thus it cannot be used in browsers out of the box. Out of the box, the library uses ES2018.

That being said, the library uses no node specific apis and thus can be used in browsers fairly easily. You'll just need to use a build tool (such as webpack or rollup) to bundle the library for browsers. These bundlers (with the use of plugins such as babel) will be able to handle down leveling JavaScript and adding any needed polyfills.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@NightProgramming
Comment options

Answer selected by NightProgramming
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #42 on February 11, 2022 02:17.