jsesc
2.5.2Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
Dependencies
Behavioural monitoring and security for npm packages
Monitor every change in your dependency tree and automatically block malicious packages from entering your codebase. Safeguard your projects by using lstn in GitHub.