jsesc
Escape JavaScript strings, with short output (Node.js module)
Install
- All systems
-
curl cmd.cat/jsesc.sh
- Debian
-
apt-get install node-jsesc - Ubuntu
-
apt-get install node-jsesc - Arch Linux
-
pacman -S node-jsesc - Kali Linux
-
apt-get install node-jsesc - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install node-jsesc - Raspbian
-
apt-get install node-jsesc
node-jsesc
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.