Stringify and write JSON to a file atomically
☆225Sep 18, 2026Updated this week
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☆250Updated this week
- Write a package.json file☆89Updated this week
- Check if a value is a function☆29May 3, 2021Updated 5 years ago
- Exclude certain items from an array☆25Jun 13, 2025Updated last year
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 5 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.
- Simplified high resolution timing☆83Updated this week
- Check if a domain is public☆15Aug 10, 2021Updated 5 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆23Updated this week
- Check if a path is a file, directory, or symlink☆81Updated this week
- Get all emails in a text file or stdin☆26Feb 2, 2026Updated 7 months ago
- Node's default require extensions as a separate module☆11Updated this week
- Truncate a URL to a specific length☆62Sep 22, 2025Updated last year
- ES2015 Number.isSafeInteger() ponyfill☆19Jan 23, 2021Updated 5 years ago
- Include only certain items in an array☆19Jun 13, 2025Updated last year
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Find the root directory of a Node.js project or npm package☆27Jun 5, 2025Updated last year
- Check if a value is an object☆41Updated this week
- Test for deep equality - Node.js `assert.deepStrictEqual()` algorithm as a standalone module☆23Sep 17, 2021Updated 5 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆40Mar 4, 2026Updated 6 months ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Updated this week
- Remove leading, trailing and repeated whitespace from a string☆42Aug 10, 2021Updated 5 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 5 years ago
- Filter object keys and values into a new object☆105Updated this week
- Get a random item from an array☆57Mar 28, 2022Updated 4 years ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated this week
- Check if a number is a redirect HTTP status code☆25Updated this week
- Sum numbers☆10Sep 18, 2025Updated last year
- Read the closest package.json file☆266Updated this week
- Get free disk space info from `df -kP`☆63Updated this week
- Convert a time string to seconds: '0017' → 1337☆37May 3, 2021Updated 5 years ago
- Extract the article title of a HTML document☆59Sep 9, 2025Updated last year
- Check if a path exists☆154Updated this week
- Read a package.json file☆176Updated this week
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Detect the dominant newline character of a string☆55Updated this week
- Check if a string is a valid filename☆60Aug 28, 2026Updated 3 weeks ago
- Get namespaced config from the closest package.json☆117Updated this week
- Find the closest package.json file☆166Updated this week
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 5 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Add AVA to your project☆15Jan 24, 2021Updated 5 years ago