Properly escape JSON for usage as an object literal inside of a `<script>` tag
☆42Jun 21, 2022Updated 4 years ago
Alternatives and similar repositories for htmlescape
Users that are interested in htmlescape are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Synchronously write a file and create its ancestor directories if needed☆14May 26, 2019Updated 7 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14May 6, 2018Updated 8 years ago
- Unpipe a stream from all destinations☆22Dec 15, 2020Updated 5 years ago
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 years ago
- DES for browserify☆10Dec 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.
- Native OS module API shim for older node.js versions☆12Jun 12, 2017Updated 9 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Read stream to buffer or string☆14Jan 27, 2016Updated 10 years ago
- Return true if the file is (or the file path has) a dotfile.☆14May 30, 2017Updated 9 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
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Jul 13, 2017Updated 9 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Apr 12, 2017Updated 9 years ago
- Iterator abstraction as specified in ECMAScript6☆20Jun 30, 2021Updated 5 years ago
- Get the length of the longest item in an array.☆30Apr 4, 2018Updated 8 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- character encoding utilities in node.js☆15Sep 3, 2018Updated 8 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Returns true if a string has an extglob☆24May 25, 2019Updated 7 years ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated 2 months ago
- Array#filter for older browsers.☆18Feb 23, 2024Updated 2 years ago
- ☆19Dec 21, 2024Updated last year
- Tests if a json property can be safely accessed using the . syntax☆12May 11, 2016Updated 10 years ago
- Right-align the text in a string.☆19May 4, 2018Updated 8 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- list of SPDX standard license exceptions☆17Apr 25, 2024Updated 2 years ago
- Check if a path is the current working directory☆23Sep 18, 2026Updated 2 months ago
- Create an array by repeating the given string n times.☆19Apr 7, 2021Updated 5 years ago
- Check if a Buffer/Uint8Array is a TAR file☆13Oct 17, 2017Updated 9 years ago
- Try to guess if your terminal supports unicode☆19Dec 16, 2020Updated 5 years ago
- Create a vinyl file or stream from a buffer☆13Oct 17, 2017Updated 9 years ago
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Sep 4, 2021Updated 5 years ago
- Check if a path is in the current working directory☆23Sep 18, 2026Updated 2 months ago
- finds an item in an array matching a predicate function, and returns its index☆11Feb 12, 2019Updated 7 years ago
- 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 tool for respawning node binaries when special flags are present.☆21Sep 25, 2026Updated last month
- ☆19Dec 21, 2024Updated last year
- Center-align the text in a string.☆23May 26, 2017Updated 9 years ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆24Feb 27, 2017Updated 9 years ago
- shim for require.main.filename() that works in as many environments as possible☆20Dec 15, 2023Updated 2 years ago
- PostCSS helpers to throw or output GNU style messages☆10Jul 2, 2024Updated 2 years ago
- the tty module from node core for browsers☆18Dec 21, 2024Updated last year
Are these results useful?