Stringify and write JSON to a file atomically
☆224Sep 14, 2025Updated 9 months ago
Alternatives and similar repositories for write-json-file
Users that are interested in write-json-file are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Read and parse a JSON file☆249May 17, 2023Updated 3 years ago
- Write a package.json file☆90Sep 11, 2025Updated 9 months ago
- Check if a value is a function☆29May 3, 2021Updated 5 years ago
- Exclude certain items from an array☆25Jun 13, 2025Updated last year
- Simplified high resolution timing☆84Sep 13, 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.
- Check if a domain is public☆15Aug 10, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated 4 months ago
- Get all emails in a text file or stdin☆26Feb 2, 2026Updated 4 months ago
- Node's default require extensions as a separate module☆11Oct 27, 2022Updated 3 years ago
- Truncate a URL to a specific length☆62Sep 22, 2025Updated 8 months ago
- Include only certain items in an array☆19Jun 13, 2025Updated last year
- Remove leading, trailing and repeated whitespace from a string☆42Aug 10, 2021Updated 4 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 5 years ago
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 4 years ago
- Test for deep equality - Node.js `assert.deepStrictEqual()` algorithm as a standalone module☆23Sep 17, 2021Updated 4 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Feb 2, 2026Updated 4 months ago
- Check if a value is an object☆42Apr 16, 2021Updated 5 years ago
- ES2015 Number.isSafeInteger() ponyfill☆19Jan 23, 2021Updated 5 years ago
- Find the root directory of a Node.js project or npm package☆27Jun 5, 2025Updated last year
- Filter object keys and values into a new object☆105May 27, 2024Updated 2 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆38Mar 4, 2026Updated 3 months ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 5 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Get a random item from an array☆58Mar 28, 2022Updated 4 years ago
- Get namespaced config from the closest package.json☆120Nov 5, 2023Updated 2 years ago
- Add AVA to your project☆15Jan 24, 2021Updated 5 years ago
- Sum numbers☆10Sep 18, 2025Updated 8 months ago
- Read the closest package.json file☆268Nov 7, 2025Updated 7 months ago
- Get free disk space info from `df -kP`☆65Sep 13, 2025Updated 9 months ago
- Convert a time string to seconds: '0017' → 1337☆37May 3, 2021Updated 5 years ago
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago
- Check if a path exists☆156Mar 3, 2022Updated 4 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.
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Extract the article title of a HTML document☆57Sep 9, 2025Updated 9 months ago
- Check if a string is a valid filename☆60Aug 16, 2021Updated 4 years ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Find the closest package.json file☆166Jun 5, 2025Updated last year
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 5 years ago
- Read a package.json file☆175Feb 8, 2026Updated 4 months ago