Preparing for system design interviews?  Try bugzed.com →

Unescape JavaScript and Python Escape Sequences

JSON →
library 1.1.4 ·javascript abandoned
verified Jun 17, 2026

unescape-js is a lightweight JavaScript utility designed to convert strings containing JavaScript and Python-style escape sequences back into their literal characters. This includes standard JavaScript escapes like `\n`, `\t`, Unicode escapes such as `\u00A9` for copyright, and ES2015 Unicode code point escapes like `\u{1F604}`. It also supports Python-style Unicode character escapes (`\UXXXXXXXX`). The current stable version is 1.1.4, though the package has not seen updates for approximately six years, indicating an abandoned or extremely low-maintenance status. A key differentiator is its robust handling of various octal escape sequence nuances, which was significantly improved in earlier versions to prevent misinterpretation of single, double, and three-digit octal codes, including those starting with `\0` and sequences with non-octal digits.

total hits 6
actors 3 distinct systems
last hit 16d ago AhrefsBot
Script
1
Search engines
1

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany