{"name":"promise-fs","version":"1.2.3","description":"Implements module FS using Promises","main":"index.js","keywords":["promises","promisify","fs"],"author":{"name":"Nick K."},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/octet-stream/promise-fs.git"},"dependencies":{"pify":"2.3.0","pinkie-promise":"2.0.1"},"gitHead":"0d0572c041d4f731f6de0daf5d1bad80f8ba61ec","bugs":{"url":"https://github.com/octet-stream/promise-fs/issues"},"homepage":"https://github.com/octet-stream/promise-fs#readme","_id":"promise-fs@1.2.3","scripts":{},"_shasum":"402410f92edd8c3978ee5552369f1c5bebccfc22","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"octetstream","email":"nick.kruchinin@gmail.com"},"dist":{"shasum":"402410f92edd8c3978ee5552369f1c5bebccfc22","tarball":"http://registry-npm.ywwl.com/promise-fs/download/promise-fs-1.2.3.tgz","integrity":"sha512-49PBBpPUWB1o19tY+tdteM2ifqwcTkzFdFz3K5LZpCQZriWYvsgLVl6cfs3vJ8/fCGNBXjgbz3IrI7qFhzX8IA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDa+ekZ+tBoODyDBU/cv3uKwegc+KHuCSZK5az2ykymMAIhAJ9cDBzE2MKMCJ2X7sMfLeduIS5qikQ0oGF+si3vUIzg"}],"size":1691,"noattachment":false,"key":"/promise-fs/-/promise-fs-1.2.3.tgz"},"maintainers":[{"name":"octetstream","email":"nick.kruchinin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/promise-fs-1.2.3.tgz_1477510235425_0.15790922520682216"},"directories":{},"readme":"# Promise FS\n\nWraps FS methods using Promise\n\n## Installation\n\nYou can install this module using Yarn:\n\n```\nyarn add promise-fs\n```\n\n```\nnpm install promise-fs\n```\n\n## Usage\n\n```js\n  import fs from \"promise-fs\"\n\n  fs.readFile(\"path/to/file\")\n    .then(content => console.log(String(content))) // Do something with the content\n    .catch(err => console.log(err)) // Handle error\n```\n\n# Wrapped methods:\n\naccess, readFile, writeFile, close, open, read, write, rename, rmdir, mkdir, readdir, stat, lstat, fstat, appendFile, realpath, link, unlink, readlink, chmod, fchmod, chown, fchown, lchown, fsync, utimes, futimes, ftruncate\n\n# License\n\nMIT\n","publish_time":1477510237671,"_cnpm_publish_time":1477510237671,"dist-tags":{"latest":"2.1.1"}}