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.
AboutMonkey-patches for file system related things
Resources License Security policy Stars Watchers ForksYou can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4