jsesc

Escape JavaScript strings, with short output (Node.js module)

Debian Debian
RUN apt-get update && \ apt-get install -y node-jsesc
Ubuntu
RUN apt-get update && \ apt-get install -y node-jsesc
Arch Arch Linux
RUN pacman -S --noconfirm node-jsesc
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y node-jsesc
Raspbian
RUN apt-get update && \ apt-get install -y node-jsesc
click the source code to copy install jsesc on any operating system with command-not-found.com