Command-line tool
jsesc
npm/jsesc
Checked 25 Oct 2026, 21:11 UTC · Still published on npm
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data. buffer escape javascript json map set string stringify tool
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:11 UTC
Install it
Windows
npm install -g jsesc
macOS
npm install -g jsesc
Linux
npm install -g jsesc
Related command-line tools
- cssesc
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only… - chars
Command-line tool to display information about unicode characters - pfetch-rs
Pretty system information tool written in Rust - toilet
Color-based alternative to figlet (uses libcaca) - minicom
Menu-driven communications program - astroterm
Planetarium for your terminal - shortest
AI-powered natural language end-to-end testing framework - ipsumdump
Summarizes TCP/IP dump files into a self-describing ASCII format
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents