Stringify and write JSON to a file atomically
☆224Sep 14, 2025Updated 7 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 2 years ago
- Write a package.json file☆90Sep 11, 2025Updated 7 months ago
- Check if a value is a function☆29May 3, 2021Updated 5 years ago
- Exclude certain items from an array☆25Jun 13, 2025Updated 10 months ago
- Simplified high resolution timing☆84Sep 13, 2024Updated last year
- 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.
- 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 3 months ago
- Get all emails in a text file or stdin☆26Feb 2, 2026Updated 3 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 7 months ago
- Include only certain items in an array☆19Jun 13, 2025Updated 10 months ago
- 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
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆37Aug 9, 2021Updated 4 years ago
- Test for deep equality - Node.js `assert.deepStrictEqual()` algorithm as a standalone module☆23Sep 17, 2021Updated 4 years ago
- Check if a value is an object☆42Apr 16, 2021Updated 5 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Feb 2, 2026Updated 3 months ago
- ES2015 Number.isSafeInteger() ponyfill☆19Jan 23, 2021Updated 5 years ago
- Find the root directory of a Node.js project or npm package☆28Jun 5, 2025Updated 11 months ago
- Filter object keys and values into a new object☆105May 27, 2024Updated last year
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆38Mar 4, 2026Updated 2 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 7 months ago
- Read the closest package.json file☆268Nov 7, 2025Updated 5 months ago
- Get free disk space info from `df -kP`☆65Sep 13, 2025Updated 7 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
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- 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 7 months ago
- Check if a string is a valid filename☆61Aug 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 10 months ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 5 years ago
- Read a package.json file☆175Feb 8, 2026Updated 2 months ago