mathiasbynens / jsesc

Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
https://mths.be/jsesc
MIT License
716 stars 48 forks source link

Browser Support? #40

Closed athomasoriginal closed 7 years ago

athomasoriginal commented 7 years ago

Summary

I recently attempted to use jsesc in the browser, but ran into the following issue: https://github.com/facebookincubator/create-react-app/issues/2891#issuecomment-319952213

Are there any plans to publish this library pre-compiled for browsers?

mathiasbynens commented 7 years ago

https://github.com/mathiasbynens/jsesc#support