sindresorhus / write-json-fileLinks
Stringify and write JSON to a file atomically
☆223Updated 4 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
Sorting:
- Read and parse a JSON file☆247Updated 2 years ago
- Move a file - Even works across devices☆204Updated 2 years ago
- Check whether a package or organization name is available on npm☆172Updated last year
- Copy files☆434Updated 3 months ago
- Get stdin as a string or buffer☆346Updated 2 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆161Updated 4 months ago
- Get the latest version of an npm package☆176Updated last year
- Parse JSON with more helpful errors☆372Updated 9 months ago
- Parse yes/no like values☆272Updated 4 months ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆243Updated 5 months ago
- Parse milliseconds into an object☆124Updated last year
- Generate a random integer☆89Updated 4 months ago
- Filter object keys and values into a new object☆105Updated last year
- Clear the terminal screen if possible☆114Updated 4 years ago
- Generate a unique random string☆89Updated 3 years ago
- Make directories and their parents if needed - Like `mkdir -p`, but cross-platform☆126Updated last year
- Truncate a string to a specific width in the terminal☆88Updated 2 months ago
- Read a chunk from a file☆125Updated last year
- Check if a file path is an image☆99Updated 2 years ago
- Copy a file☆122Updated 5 months ago
- Get metadata of a package from the npm registry☆246Updated last year
- Filter out OS junk files like .DS_Store and Thumbs.db☆246Updated 2 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆148Updated 4 months ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆144Updated 4 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆358Updated last year
- Generate random numbers that are consecutively unique☆118Updated last year
- Humanize a URL: https://sindresorhus.com → sindresorhus.com☆252Updated 3 years ago
- Get a random temporary file or directory path☆440Updated 2 years ago
- Wordwrap a string with ANSI escape codes☆130Updated 4 months ago
- Simple micro templating☆373Updated 4 months ago