{"name":"promise-fs","version":"1.1.0","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"},"gitHead":"8ad467cab86a265d494914c0e2ac713867f6a4cd","bugs":{"url":"https://github.com/octet-stream/promise-fs/issues"},"homepage":"https://github.com/octet-stream/promise-fs#readme","_id":"promise-fs@1.1.0","scripts":{},"_shasum":"b687cff3c7adbdd7ea14c8d653a3c086273dac1a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"octetstream","email":"nick.kruchinin@gmail.com"},"dist":{"shasum":"b687cff3c7adbdd7ea14c8d653a3c086273dac1a","tarball":"http://registry-npm.ywwl.com/promise-fs/download/promise-fs-1.1.0.tgz","integrity":"sha512-dE7Bm5m0Rv22is+YNkPyZkmk6GyD8xjlB3rcCbIYTUqosg826nSoAdcGskQ5Ile86nMhgOqHen0wwdVcHgEJ9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDl48VNU/XTULPnTtdxdrMIsIsY6elgRUjDOKrIKVgswIhAMQbP7xDNyiaQsxQzNMH609sEhc5zXoukHvJAy1piWlY"}],"size":1533,"noattachment":false,"key":"/promise-fs/-/promise-fs-1.1.0.tgz"},"maintainers":[{"name":"octetstream","email":"nick.kruchinin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/promise-fs-1.1.0.tgz_1471731038437_0.0994393948931247"},"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":1471731039783,"_cnpm_publish_time":1471731039783,"dist-tags":{"latest":"2.1.1"}}