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 53 forks source link

add forceLonghand option #43

Closed blackholegalaxy closed 6 years ago

blackholegalaxy commented 6 years ago

Closes #42

We can now use --force-longhand in CLI or { longHand: true } in options to prevent shortening of 00 unicode character code.

Maybe we could push a tag to include that feature.

blackholegalaxy commented 6 years ago

Closed until further testing

mathiasbynens commented 6 years ago

Use the json option.