sindresorhus / write-json-file
Stringify and write JSON to a file atomically
☆222Updated 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
Sorting:
- Read and parse a JSON file☆246Updated 2 years ago
- Move a file - Even works across devices☆199Updated last year
- Copy files☆429Updated 9 months ago
- Make a directory and its parents if needed - Think `mkdir -p`☆479Updated last year
- Check whether a package or organization name is available on npm☆170Updated last year
- Get stdin as a string or buffer☆338Updated last year
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆239Updated 2 years ago
- Parse JSON with more helpful errors☆364Updated last month
- Get the latest version of an npm package☆176Updated last year
- Parse yes/no like values☆269Updated 2 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆155Updated last year
- Find a file or directory by walking up parent directories☆605Updated last month
- Get metadata of a package from the npm registry☆241Updated 10 months ago
- Stringify an object/array like JSON.stringify just without all the double-quotes☆313Updated 5 months ago
- Convert a string to a valid safe filename☆499Updated 2 years ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆349Updated 6 months ago
- Filter object keys and values into a new object☆101Updated 11 months ago
- Make directories and their parents if needed - Like `mkdir -p`, but cross-platform☆124Updated last year
- Find the root directory of a Node.js project or npm package☆243Updated last year
- node byte string parser☆469Updated 10 months ago
- Generate a unique random string☆85Updated 2 years ago
- Delay a promise a specified amount of time☆614Updated last year
- Generate random numbers that are consecutively unique☆115Updated last year
- Check if a path exists☆151Updated 3 years ago
- Simple micro templating☆362Updated 2 years ago
- Find the closest package.json file☆163Updated last year
- Get a random temporary file or directory path☆429Updated last year
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 3 years ago
- Read a package.json file☆165Updated last year
- Open stuff like URLs, files, executables. Cross-platform.☆423Updated last year