{"name":"fs-monkey","version":"1.0.1","description":"Monkey patches for file system related things.","main":"lib/index.js","keywords":["fs","file","file system","monkey","fsmonkey","monkeyfs","monkeypatch","patch"],"directories":{"doc":"docs"},"repository":{"type":"git","url":"git+https://github.com/streamich/fs-monkey.git"},"scripts":{"build":"babel src --out-dir lib","test":"jest"},"dependencies":{},"devDependencies":{"jest":"23.6.0","babel-jest":"23.6.0","babel-core":"6.26.3","babel-cli":"6.26.0","babel-preset-es2015":"6.24.1","source-map-support":"0.5.19","@types/jest":"23.3.14","@types/node":"8.10.60","semantic-release":"15.14.0","@semantic-release/changelog":"3.0.6","@semantic-release/git":"7.0.18","@semantic-release/npm":"5.3.5"},"release":{"verifyConditions":["@semantic-release/changelog","@semantic-release/npm","@semantic-release/git"],"prepare":["@semantic-release/changelog","@semantic-release/npm","@semantic-release/git"]},"jest":{"collectCoverageFrom":["src/**/*.js"],"transform":{"^.+\\.jsx?$":"babel-jest"},"testRegex":".*(__tests__/|/test/unit/).*(test|spec)\\.(t|j)sx?$"},"gitHead":"6409b7ef44e407663a86957c829b35d003de489c","bugs":{"url":"https://github.com/streamich/fs-monkey/issues"},"homepage":"https://github.com/streamich/fs-monkey#readme","_id":"fs-monkey@1.0.1","_nodeVersion":"8.17.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-fcSa+wyTqZa46iWweI7/ZiUfegOZl0SG8+dltIwFXo7+zYU9J9kpS3NB6pZcSlJdhvIwp81Adx2XhZorncxiaA==","shasum":"4a82f36944365e619f4454d9fff106553067b781","tarball":"http://registry-npm.ywwl.com/fs-monkey/download/fs-monkey-1.0.1.tgz","fileCount":11,"unpackedSize":20773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevP5DCRA9TVsSAnZWagAAYlEQAJEF/Y93/5RsQeWFY95+\nfURPFzyc2zAKNprky1DjOThNr/Vc1u/Pl2XAGJfOuQLwt/4sLaGYIJ0UrXoI\nCNqOq6ER+BQdSNHfpvZvpGQi04vk+MMrQN1cnxC7t8KEjlY+K2o5cFhnvrH/\nIn8JGyH8ND+XdYoAmA1u1sOGAbKBJZ6MSlLTTFQmohDeoI7BE64HNOfeBMjp\nxwdo18xQd2+a5jOLE6fAMtap+YEUITho2uWMqndhC/smZUy6YNdoGsspfYmi\nfupcLFhF2fTmmEr2c2aztvZOzq+3Xak5bLHtkkvu69PzFgsGObknBwO3V14t\nkjahJThEtDX4MfWae6V/bfr8CSs21we3C/SQQsNbEQ+N+CQhylbq8oZ4HhBk\nLrH9I8xnofZhT2jTAPoHLVnMReOEnlUsuLl0StjyAa717KdXswH7WVUer7iP\n3qP38Ki4v1dzkjnIOEaqTi7+aekNjubUwTXv3l5VflJ+NtgmtPF2HQnUiwCk\n8FZr07iuLKnVg9ZWjcL7KuuP/GpMzfrGnadiYYjoSIzXOjxS+hrP0xJVmMTr\nJX+psBEBKp919I00UMZcsR7oeVaQiE/GsAglFecTZhYjywUQ877gjYUWwaA9\nf42oTA3iADAIU5gzZECzgBEIoRaruNboa0exhrNRDhXiVWpwd/fPe7PDhfb0\n9GH6\r\n=sh5P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDB7LdXQhF7t8o2JvasVKcTC7Jp08VYgOuLy4HYitCoaAiARE3fo8B9tnRRKJBf44ig/KYxJINafEdlbYqt8MsRS6w=="}],"size":6410,"noattachment":false,"key":"/fs-monkey/-/fs-monkey-1.0.1.tgz"},"maintainers":[{"name":"streamich","email":"vadimsdaleckis@gmail.com"}],"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-monkey_1.0.1_1589444163159_0.4292917042557409"},"_hasShrinkwrap":false,"readme":"# fs-monkey\n\n[![][npm-img]][npm-url] [![][travis-badge]][travis-url]\n\nMonkey-patches for filesystem related things.\n\n  - Rewrite `require` function to load Node's modules from memory.\n  - Or rewrite the whole `fs` filesystem module.\n\n## Install\n\n```shell\nnpm install --save fs-monkey\n```\n\n## Terms\n\nAn *fs-like* object is an object that implements methods of Node's\n[filesystem API](https://nodejs.org/api/fs.html).\nIt is denoted as `vol`:\n\n```js\nlet vol = {\n    readFile: () => { /* ... */ },\n    readFileSync: () => { /* ... */ },\n    // etc...\n}\n```\n\n\n## Reference\n\n - [`patchFs`](./docs/api/patchFs.md) - rewrites Node's filesystem module `fs` with *fs-like* object `vol`\n - [`patchRequire`](./docs/api/patchRequire.md) - rewrites `require` function, patches Node's `module` module to use a given *fs-like* object for module loading\n\n\n[npm-img]: https://img.shields.io/npm/v/fs-monkey.svg\n[npm-url]: https://www.npmjs.com/package/fs-monkey\n[travis-url]: https://travis-ci.org/streamich/fs-monkey\n[travis-badge]: https://travis-ci.org/streamich/fs-monkey.svg?branch=master\n\n\n## License\n\n[Unlicense](./LICENSE) - public domain.\n","publish_time":1589444163257,"_cnpm_publish_time":1589444163257,"dist-tags":{"latest":"1.1.0"}}