Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
☆801Dec 11, 2024Updated last year
Alternatives and similar repositories for jsesc
Users that are interested in jsesc are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Get an ArrayBuffer from a Buffer as fast as possible☆20Jul 9, 2021Updated 5 years ago
- Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.☆14Sep 25, 2016Updated 10 years ago
- ☆20Oct 18, 2021Updated 5 years ago
- DES for browserify☆10Dec 21, 2024Updated last year
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Sep 4, 2021Updated 5 years ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 9 years ago
- The Node.js `util.deprecate()` function with browser support☆37Nov 11, 2018Updated 7 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Removes all separators from the end of a string.☆12Dec 12, 2017Updated 8 years ago
- Try to guess if your terminal supports unicode☆18Dec 16, 2020Updated 5 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Create an array by repeating the given string n times.☆19Apr 7, 2021Updated 5 years ago
- A simple module for bitwise-xor on buffers☆32Dec 21, 2024Updated last year
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- A collection of Regenerate sets for Unicode various properties.☆21Sep 29, 2026Updated last month
- Parsing the JavaScript's RegExp in JavaScript.☆84Updated this week
- The set of canonical Unicode property names supported in ECMAScript RegExp property escapes.☆14Oct 8, 2026Updated 3 weeks ago
- ☆19Dec 21, 2024Updated last year
- shim for require.main.filename() that works in as many environments as possible☆20Dec 15, 2023Updated 2 years ago
- Generate JavaScript-compatible regular expressions based on a given set of Unicode symbols or code points.☆378Oct 4, 2026Updated 3 weeks ago
- process.nextTick always accepts args, always☆34Jun 19, 2019Updated 7 years ago
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 years ago
- ☆19Dec 21, 2024Updated last year
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- regexpu’s core functionality, i.e. `rewritePattern(pattern, flag, options)`, which enables rewriting regular expressions that make use of…☆82Oct 6, 2026Updated 3 weeks ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Jan 21, 2026Updated 9 months ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 7 years ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 5 years ago
- Find the module object for something that was require()d☆27Apr 21, 2023Updated 3 years ago
- Repeat a string - fast☆35Sep 18, 2026Updated last month
- A transform to make UglifyJS work in browserify☆20Feb 18, 2020Updated 6 years ago
- Detect whether or not an object is a Typed Array☆22Jan 23, 2024Updated 2 years ago
- deterministic JSON.stringify() with custom sorting to get deterministic hashes from stringified results☆13Apr 11, 2021Updated 5 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Like `new Map` but for older JavaScripts☆21Oct 25, 2025Updated last year
- Check if an object can be used like an Array☆17Sep 13, 2025Updated last year
- Right-align the text in a string.☆19May 4, 2018Updated 8 years ago
- the tty module from node core for browsers☆18Dec 21, 2024Updated last year
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Get the user home directory with fallback to the system temp directory☆30Sep 18, 2026Updated last month
- Regular expression for matching a shebang line☆48Sep 18, 2026Updated last month