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:
- Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.☆14Sep 25, 2016Updated 10 years ago
- ☆21Oct 18, 2021Updated 5 years ago
- DES for browserify☆10Dec 21, 2024Updated last year
- Get an ArrayBuffer from a Buffer as fast as possible☆20Jul 9, 2021Updated 5 years ago
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Sep 4, 2021Updated 5 years ago
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 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
- The Node.js `util.deprecate()` function with browser support☆38Nov 11, 2018Updated 8 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
- Try to guess if your terminal supports unicode☆19Dec 16, 2020Updated 5 years ago
- shim for require.main.filename() that works in as many environments as possible☆20Dec 15, 2023Updated 2 years ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- ☆19Dec 21, 2024Updated last year
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 9 years ago
- Generate JavaScript-compatible regular expressions based on a given set of Unicode symbols or code points.☆378Oct 4, 2026Updated last month
- process.nextTick always accepts args, always☆34Jun 19, 2019Updated 7 years ago
- Parsing the JavaScript's RegExp in JavaScript.☆85Updated this week
- A collection of Regenerate sets for Unicode various properties.☆22Sep 29, 2026Updated last month
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 years ago
- The set of canonical Unicode property names supported in ECMAScript RegExp property escapes.☆15Oct 8, 2026Updated last month
- ☆19Dec 21, 2024Updated last year
- 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.
- regexpu’s core functionality, i.e. `rewritePattern(pattern, flag, options)`, which enables rewriting regular expressions that make use of…☆82Updated this week
- 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 2 months ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆25Jan 21, 2026Updated 10 months ago
- deterministic JSON.stringify() with custom sorting to get deterministic hashes from stringified results☆13Apr 11, 2021Updated 5 years ago
- Detect whether or not an object is a Typed Array☆22Jan 23, 2024Updated 2 years ago
- A transform to make UglifyJS work in browserify☆20Feb 18, 2020Updated 6 years ago
- Like `new Map` but for older JavaScripts☆21Oct 25, 2025Updated last year
- 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.
- Returns true if a string has an extglob☆24May 25, 2019Updated 7 years ago
- 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
- Check if an object can be used like an Array☆18Sep 13, 2025Updated 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 2 months ago
- Regular expression for matching a shebang line☆48Sep 18, 2026Updated 2 months ago
Are these results useful?