mathiasbynens/jsesc
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
JavaScriptMIT
Issues
- 2
ESM version?
#70 opened by kungfooman - 0
Rename LICENSE-MIT.txt to LICENSE
#69 opened by DanielRuf - 1
`none` mode
#41 opened by Kdex - 1
Can't we unescape?
#68 opened by saurabhck12 - 1
Map and Set included in JSON output
#57 opened by skeggse - 0
- 0
Git.io deprecation notice
#66 opened by npmmirror - 2
feature: use backticks as string delimiter
#65 opened by milahu - 1
Check for existence of Buffer
#63 opened by isidrok - 1
- 1
support Date objects
#56 opened by skeggse - 0
detect and throw on cyclic references
#55 opened by skeggse - 0
use minimal form for property names when possible
#54 opened by skeggse - 1
Add option to whitelist certain characters
#50 opened by spik3r - 1
option for forcing `longhand`
#38 opened by gurpreetatwal - 2
Notes source
#49 opened - 1
enable escaping to extended ascii
#47 opened by regevbr - 2
Usage of string.prototype.repeat breaks IE11
#46 opened by smonusbonus - 1
- 1
Browser Support?
#40 opened by athomasoriginal - 1
Live example?
#36 opened by mcandre - 1
- 0
Empty arrays / objects
#34 opened by mathiasbynens - 1
missing = in const declaration
#33 opened by Akkuma - 5
Node 4.5.0 fails to run jsesc
#32 opened by stevendesu - 1
SyntaxError in v0.12.7
#31 opened by danieltigse - 1
Why ó is escaped to \xF3 instead of \u00F3
#30 opened by danieltigse - 1
Do you know an implementation in Java?
#29 opened by danieltigse - 1
Support buffers
#28 opened by mathiasbynens - 0
Support Map/Set?
#26 opened by mathiasbynens - 0
Add `etago` option?
#27 opened by mathiasbynens - 1
Occurences vs occurrences
#25 opened by SnarkBoojum - 4
How to revert back escaped string
#24 opened by bcalik - 3
- 1
string-escape on npm
#21 opened by mattdesl - 4
'Allow newlines' option
#20 opened by cohix - 8
issue in parsing string to json
#19 opened by ahmedshendy - 1
Document or remove differences between `jsesc(data, { json: true })` and `JSON.stringify(data)`
#17 opened by mathiasbynens - 3
Performance for escaping strings
#16 opened by joliss - 1
- 1
Is this a super-set of js-string-escape?
#15 opened by joliss - 0
Add `es6` option
#13 opened by mathiasbynens - 4
Regular expressions: don’t use `eval`
#11 opened by mathiasbynens - 0
- 0
- 0
Tweak `--pretty` / `compact:false`
#8 opened by mathiasbynens - 2
Escape regular expressions
#6 opened by mathiasbynens - 1
Add `json` option?
#5 opened by mathiasbynens - 1
- 2
component support?
#3 opened by jwerle