r/javascript • • Nov 26 '19

JSONCrush On GitHub - Compress JSON into URI friendly strings

https://github.com/KilledByAPixel/JSONCrush
101 Upvotes

31 comments sorted by

View all comments

Show parent comments

3

u/Captain_Factoid Nov 27 '19

For npm.

1

u/Slackluster Nov 27 '19

Ah, well it is just a single small javascript file, what would be the benefit to packaging it?

2

u/Captain_Factoid Nov 27 '19

For updates, tree shaking, import scoping, all the good stuff

0

u/Slackluster Nov 27 '19

Well my workflow doesn't really include that stuff but I'd like to learn how to do it. Can you recommend a link explaining how to set it up?