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)
Reads and caches the entire contents of a file until it is modified
Read a chunk from a file
Return true if a value is a valid glob pattern or patterns.
Get namespaced config from the closest package.json
Read all stream content and pass it to callback
Returns a `stream.Readable` from a URI string
Simple config handling for your app or module
Create a vinyl file from an actual file
Get an event when you're being sent data or asked for it.
Read in the last N lines of a file efficiently using node.js and fs.
Read files with path relative to the current module without annoying boilerplate code
powered by npms.io 🚀