jsesc

mathiasbynens
popular js
jsesc JS library homepage jsesc JS library on GitHub jsesc JS library on npm Download jsesc JS library

Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.

Version 3.0.2 License MIT
jsesc JS library homepage
jsesc JS library on GitHub
jsesc JS library on npm
Download jsesc JS library
Keywords
bufferescapejavascriptjsonmapsetstringstringifytool