fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.
Easily read/write JSON files.
Get stdin as a string or buffer
Read and parse a JSON file
Read a package.json file
Get a stream as a string, buffer, or array
Read the closest package.json file
Get an ArrayBuffer from a Buffer as fast as possible
Access the system clipboard (copy/paste)
Read a chunk from a file
Reads and caches the entire contents of a file until it is modified
Return true if a value is a valid glob pattern or patterns.
Get namespaced config from the closest package.json
Returns a `stream.Readable` from a URI string
Read all stream content and pass it to callback
Get an event when you're being sent data or asked for it.
Simple config handling for your app or module
Read in the last N lines of a file efficiently using node.js and fs.
Create a vinyl file from an actual file
Read files with path relative to the current module without annoying boilerplate code
powered by npms.io 🚀