[ 源代码: node-jsesc ]
软件包:node-jsesc(3.0.2-2)
Escape JavaScript strings, with short output (Node.js module)
Escapes JavaScript strings while generating the shortes possible valid ASCII-only output. This can be used to avoid various encoding issues.
Node.js is an event-based server-side JavaScript engine.