sindresorhus / write-json-fileLinks
Stringify and write JSON to a file atomically
☆222Updated last year
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☆245Updated 2 years ago
- Move a file - Even works across devices☆201Updated last year
- Copy files☆429Updated last week
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆240Updated last week
- Check whether a package or organization name is available on npm☆171Updated last year
- Get the latest version of an npm package☆176Updated last year
- Make directories and their parents if needed - Like `mkdir -p`, but cross-platform☆124Updated last year
- Parse milliseconds into an object☆119Updated last year
- Parse yes/no like values☆270Updated last week
- Round a number to a specific number of decimal places: 1.234 → 1.2☆158Updated last week
- Parse JSON with more helpful errors☆367Updated 4 months ago
- Check if a file path is an image☆96Updated 2 years ago
- Get stdin as a string or buffer☆340Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last year
- Get a random temporary file or directory path☆436Updated 2 years ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆352Updated 10 months ago
- Read a chunk from a file☆123Updated last year
- Generate a unique random string☆85Updated 3 years ago
- Filter object keys and values into a new object☆104Updated last year
- Open stuff like URLs, files, executables. Cross-platform.☆428Updated 2 weeks ago
- Get a formatted timestamp. Used in gulp, assemble, generate, and many others.☆110Updated 4 years ago
- Find the root directory of a Node.js project or npm package☆246Updated 2 months ago
- Get metadata of a package from the npm registry☆242Updated last year
- Generate a random integer☆86Updated 4 years ago
- Get the real path of the system temp directory☆81Updated 2 years ago
- Copy a file☆121Updated 2 weeks ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆145Updated 2 years ago
- Replace all substring matches in a string☆88Updated 4 years ago
- Check whether a package or organization name is available on npm☆287Updated last year
- Convert a value to an array☆129Updated 3 years ago