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.
Read the closest package.json file
Get stdin as a string or buffer
Get a stream as a string, buffer, or array
Read a package.json file
Read and parse a JSON file
Access the system clipboard (copy/paste)
Get an ArrayBuffer from a Buffer as fast as possible
Read a chunk from a file
Return true if a value is a valid glob pattern or patterns.
Simple config handling for your app or module
Reads and caches the entire contents of a file until it is modified
Get namespaced config from the closest package.json
Returns a `stream.Readable` from a URI string
Create a vinyl file from an actual file
Get an event when you're being sent data or asked for it.
Read all stream content and pass it to callback
Read files with path relative to the current module without annoying boilerplate code
A unique way to work with a binary file in the browser and the server.
powered by npms.io 🚀