fs-monkey
Advanced tools
Weekly downloads
Changelog
Readme
Monkey-patches for filesystem related things.
require
function to load Node's modules from memory.fs
filesystem module.npm install --save fs-monkey
An fs-like object is an object that implements methods of Node's
filesystem API.
It is denoted as vol
:
let vol = {
readFile: () => { /* ... */ },
readFileSync: () => { /* ... */ },
// etc...
}
patchFs
- rewrites Node's filesystem module fs
with fs-like object vol
patchRequire
- rewrites require
function, patches Node's module
module to use a given fs-like object for module loadingUnlicense - public domain.
FAQs
Monkey patches for file system related things.
The npm package fs-monkey receives a total of 12,636,934 weekly downloads. As such, fs-monkey popularity was classified as popular.
We found that fs-monkey demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.