{"_id":"@acce/promise-fs","_rev":"2-63f98968e158dbc925fc4b5b2bba8266","name":"@acce/promise-fs","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.4":{"name":"@acce/promise-fs","version":"0.0.4","description":"a wrapper around fs functionality to support promises","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Lawrence Tranter"},"license":"ISC","dependencies":{"fs-extra":"^4.0.2"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/xXACCEXx/promise-fs.git"},"bugs":{"url":"https://github.com/xXACCEXx/promise-fs/issues"},"homepage":"https://github.com/xXACCEXx/promise-fs#readme","gitHead":"66a25e418ef691718b58b706038d0a042c74e924","_id":"@acce/promise-fs@0.0.4","_npmVersion":"5.6.0","_nodeVersion":"8.6.0","_npmUser":{"name":"acce","email":"lawrence.tranter@gmail.com"},"dist":{"integrity":"sha512-MLLE1NSeUbWl24ESYnUVbwsfHXPFMlgRjWgNbpTS5Qj2yySQ84ZXQheZ0+4Vqdh6vqhPY60vcvnA7fS15cY8yg==","shasum":"9e263d2f63fd963fa7b541daf6ce465a03da63c4","tarball":"https://registry.npmjs.org/@acce/promise-fs/-/promise-fs-0.0.4.tgz","fileCount":3,"unpackedSize":1674,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBNgNW0ovfudP22J16is8Gy7t46ztSkw+71sABWorZ0DAiEArmsvnkHgVY3iwHjMXwLaBi4zIA89sJKG2UsiRJQVgfA="}]},"maintainers":[{"name":"acce","email":"lawrence.tranter@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promise-fs_0.0.4_1519533960218_0.16380999670745555"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-25T04:46:00.166Z","0.0.4":"2018-02-25T04:46:00.275Z","modified":"2022-04-04T11:06:29.788Z"},"maintainers":[{"name":"acce","email":"lawrence.tranter@gmail.com"}],"description":"a wrapper around fs functionality to support promises","homepage":"https://github.com/xXACCEXx/promise-fs#readme","repository":{"type":"git","url":"git+https://github.com/xXACCEXx/promise-fs.git"},"author":{"name":"Lawrence Tranter"},"bugs":{"url":"https://github.com/xXACCEXx/promise-fs/issues"},"license":"ISC","readme":"# Promise FS\n\nThis package provides a promise based wrapper around the node fs package. Essentially, it curries the callback function, and provides a promise in its place.\n\nCurrently this only supports a few simple interfaces, listed bellow.\n\n* mkdir\n* mkdtemp\n* lstat\n* readdir\n* readFile\n* writeFile\n* mkdtemp\n* rename\n* rmdir\n* unlink\n* remove\n\n## Example\n\n``` js\nlet { writeFile } = require('@acce/promise-fs')\n\nwriteFile('./some.txt', 'foo bar', 'utf8')\n\n\t.then(() => do.something())\n\t.catch(e => console.error('Oh snap.', e))\n```\n\n# Installing\n\n```\nnpm i --save @acce/promise-fs\n```\n\n## Contributing\n\nFeel free to add extra modules, I'll merge where useful. I'm kinda slack so maybe fork?...","readmeFilename":"readme.md"}