{"name":"promise-fs","version":"1.3.0","description":"Implements module FS using Promises","main":"main.js","author":{"name":"Nick K."},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/octet-stream/promise-fs.git"},"keywords":["promises","promisify","fs"],"engines":{"node":">=6"},"scripts":{"make":"coffee --no-header -b -c main.coffee"},"dependencies":{"@octetstream/promisify":"1.1.0"},"devDependencies":{"coffee-script":"1.12.7"},"gitHead":"63dc2a70ed50d46cc079f9317235b2c78aec5841","bugs":{"url":"https://github.com/octet-stream/promise-fs/issues"},"homepage":"https://github.com/octet-stream/promise-fs#readme","_id":"promise-fs@1.3.0","_npmVersion":"5.4.1","_nodeVersion":"8.5.0","_npmUser":{"name":"octetstream","email":"nick.kruchinin@gmail.com"},"dist":{"integrity":"sha512-CXT/dzuNzWDl9UoJ49MHgv5GqjLcOw5iq7laC3DfBjDRpDFVt3kal6Ar8rTafzEv1cS5BJIW/5o3tTKYHOcEtg==","shasum":"d77ec67b9ae0ff7746e2fc296da9436921db39d7","tarball":"http://registry-npm.ywwl.com/promise-fs/download/promise-fs-1.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEwyHPNyOdkq9yocrk95UqYf4+skOb/yp0hbes5m2P7aAiA8M0JkJw1ciKFNjqgzCpvY7YP9ZBhe7oaO1rBm2PPNiA=="}],"size":1581,"noattachment":false,"key":"/promise-fs/-/promise-fs-1.3.0.tgz"},"maintainers":[{"name":"octetstream","email":"nick.kruchinin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promise-fs-1.3.0.tgz_1505781136468_0.7203481446485966"},"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":1505781137391,"_cnpm_publish_time":1505781137391,"dist-tags":{"latest":"2.1.1"}}