{"_id":"sb-fs","_rev":"9-1cef01afc77871e305dd8bc39128663e","name":"sb-fs","description":"Promisified fs for Node.js","dist-tags":{"latest":"4.0.0"},"versions":{"1.0.0":{"name":"sb-fs","version":"1.0.0","description":"Promisified fs for Node.js","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check) && (eslint . )","clean":"rm -rf lib","build":"npm run clean; babel src --out-dir lib","watch":"npm run build -- -w"},"keywords":["sb","fs","promise"],"repository":{"type":"git","url":"git+https://github.com/steelbrain/fs.git"},"author":{"name":"steelbrain"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/fs/issues"},"homepage":"https://github.com/steelbrain/fs#readme","devDependencies":{"babel-cli":"^6.14.0","babel-preset-steelbrain":"^4.0.2","eslint-config-steelbrain":"^1.0.4","flow-bin":"^0.32.0","jasmine-fix":"^1.0.1"},"dependencies":{"mkdirp":"^0.5.1","rimraf":"^2.5.4","sb-promisify":"^2.0.1"},"gitHead":"ca2d04ac947b696d0a8af6dd086769df4a11c5d2","_id":"sb-fs@1.0.0","_shasum":"6263ce89352b508abdf27c6c4f9f9923f1744a5a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"6263ce89352b508abdf27c6c4f9f9923f1744a5a","tarball":"https://registry.npmjs.org/sb-fs/-/sb-fs-1.0.0.tgz","integrity":"sha512-IW5F17tmOtFpqdnvgrtbHR51hHzyUztNiNH/dg1zXgAIn+rthP6UiuyvmrpR7hXFiG929SY9EP+LpZ0kRABVyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFhw5A3hyx95Fjk5bbcQqpj5c9G+y4gY53XdavCRJHH7AiAmpaeKZzywYAJbGkh685VJssz623vV5EF4iFqxqI7L0g=="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sb-fs-1.0.0.tgz_1473519206091_0.6718176596332341"},"directories":{}},"1.1.0":{"name":"sb-fs","version":"1.1.0","description":"Promisified fs for Node.js","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check) && (eslint . )","clean":"rm -rf lib","build":"npm run clean; babel src --out-dir lib","watch":"npm run build -- -w"},"keywords":["sb","fs","promise"],"repository":{"type":"git","url":"git+https://github.com/steelbrain/fs.git"},"author":{"name":"steelbrain"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/fs/issues"},"homepage":"https://github.com/steelbrain/fs#readme","devDependencies":{"babel-cli":"^6.14.0","babel-preset-steelbrain":"^4.0.2","eslint-config-steelbrain":"^1.0.4","flow-bin":"^0.32.0","jasmine-fix":"^1.0.1"},"dependencies":{"mkdirp":"^0.5.1","rimraf":"^2.5.4","sb-promisify":"^2.0.1"},"gitHead":"093d28858f2393c10e28df9456955c1b71f20f8c","_id":"sb-fs@1.1.0","_shasum":"73cc479fbe7cbc17bc0d06ab7d56c6248af73c60","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"73cc479fbe7cbc17bc0d06ab7d56c6248af73c60","tarball":"https://registry.npmjs.org/sb-fs/-/sb-fs-1.1.0.tgz","integrity":"sha512-+jd0qHjMTWaujZ0nMcbC17YA4/timC2AQq6chhREw+mZIs/kwJbETg3lzKyrqRO8BHtpyuyEaIVfeeSWCEV2BQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDM7Q2WiVMIZQFjNbK3dboVGU/4UOd6bmcuSBpxyrXwAIgWb8fuK+Zpy302T4boyXyUbc2mS471Tt4nrg3vHNeRRU="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sb-fs-1.1.0.tgz_1473723970130_0.07041497528553009"},"directories":{}},"1.1.1":{"name":"sb-fs","version":"1.1.1","description":"Promisified fs for Node.js","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check) && (eslint . )","clean":"rm -rf lib","compile":"npm run clean; babel src --out-dir lib","watch":"npm run compile -- -w"},"keywords":["sb","fs","promise"],"repository":{"type":"git","url":"git+https://github.com/steelbrain/fs.git"},"author":{"name":"steelbrain"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/fs/issues"},"homepage":"https://github.com/steelbrain/fs#readme","devDependencies":{"babel-cli":"^6.14.0","babel-preset-steelbrain":"^4.0.2","eslint-config-steelbrain":"^2.0.0","flow-bin":"^0.32.0","jasmine-fix":"^1.0.1"},"dependencies":{"mkdirp":"^0.5.1","rimraf":"^2.5.4","sb-promisify":"^2.0.1"},"gitHead":"f60f8527ea62e5f66fdc58bf02f628991273bc26","_id":"sb-fs@1.1.1","_shasum":"1fd6b071040e28a966e88e8ad2312192c6b6c1cd","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"1fd6b071040e28a966e88e8ad2312192c6b6c1cd","tarball":"https://registry.npmjs.org/sb-fs/-/sb-fs-1.1.1.tgz","integrity":"sha512-nN8Ygbll8spToUnzEJ/A5wb9TdTxJhmByk5hUh8vr75ASJizEtkjACW9nVRxGjPemuoBVFI9zLFs5+MEOybPPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHEjo3c05qWcK6eP3VPgqIAeJJy7q+pRFRIHqSojm/OyAiA6DnM7plYvH7equ/vdpIZ7P5DQIbySSwaGWRXdFdEZIA=="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/sb-fs-1.1.1.tgz_1474332185385_0.1504463420715183"},"directories":{}},"2.0.0":{"name":"sb-fs","version":"2.0.0","description":"Promisified fs for Node.js","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check) && (eslint . )","clean":"rm -rf lib","compile":"npm run clean; babel src --out-dir lib","watch":"npm run compile -- -w"},"keywords":["sb","fs","promise"],"repository":{"type":"git","url":"git+https://github.com/steelbrain/fs.git"},"author":{"name":"steelbrain"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/fs/issues"},"homepage":"https://github.com/steelbrain/fs#readme","devDependencies":{"babel-cli":"^6.14.0","babel-preset-steelbrain":"^5.0.0","eslint-config-steelbrain":"^2.0.0","flow-bin":"^0.40.0","jasmine-fix":"^1.0.1"},"dependencies":{"mkdirp":"^0.5.1","rimraf":"^2.5.4","sb-promisify":"^2.0.1"},"gitHead":"4a1c6c7bca85d9ef5fa98df98530cb9a8772b0f9","_id":"sb-fs@2.0.0","_shasum":"7cff473c62b32465f8096dc7b6020a9b0dfa4135","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"7cff473c62b32465f8096dc7b6020a9b0dfa4135","tarball":"https://registry.npmjs.org/sb-fs/-/sb-fs-2.0.0.tgz","integrity":"sha512-Hzy+3XPcHcHz0W/bzUoFtIkjiy46XS+LMdkktEfHhsnLIi/xbdqRz5Ff7WJ7KBnk1PdNiuXX/tro0QrMKdsmvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCd+5dMetXF24SlzPN7V4aQIjF3BaMFFijLXCmgjMSw0AIgRavKc+AKaDnLXfP/0H6FqQ7jAPpVn0l2RhFfhxG7mKA="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sb-fs-2.0.0.tgz_1488446746181_0.7554157227277756"},"directories":{}},"3.0.0":{"name":"sb-fs","version":"3.0.0","description":"Promisified fs for Node.js","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check) && (eslint . )","clean":"rm -rf lib","compile":"npm run clean; babel src --out-dir lib","watch":"npm run compile -- -w"},"keywords":["sb","fs","promise"],"repository":{"type":"git","url":"git+https://github.com/steelbrain/fs.git"},"author":{"name":"steelbrain"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/fs/issues"},"homepage":"https://github.com/steelbrain/fs#readme","devDependencies":{"babel-cli":"^6.14.0","babel-preset-steelbrain":"^5.0.0","eslint-config-steelbrain":"^3.0.0","flow-bin":"^0.43.0","jasmine-fix":"^1.0.1"},"dependencies":{"sb-promisify":"^2.0.1","strip-bom-buf":"^1.0.0"},"gitHead":"eab6c138a842d923aaebe982ba6d7900bbcf8d4a","_id":"sb-fs@3.0.0","_shasum":"fbdcdd3010e80a1b8e27490cef336064974203b8","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.2","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"fbdcdd3010e80a1b8e27490cef336064974203b8","tarball":"https://registry.npmjs.org/sb-fs/-/sb-fs-3.0.0.tgz","integrity":"sha512-wLeNGwxM4aDw0/OsTG1+EE1Ml3UPWlKnMlwrnJX0drEpmi0BC0ygTSUcLVUwHVHbWyHcSke9ytIauIpE4CAF0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7eo/s4lYG7MYPWWbzpWMnt+BDPh2Zfw1VxrnglPb0gAIgKyyUgbu8rr/dMXMOGVpC+Fl8YBRPpCqh4ycifpQSBZI="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sb-fs-3.0.0.tgz_1491783287336_0.6180746518075466"},"directories":{}},"4.0.0":{"name":"sb-fs","version":"4.0.0","description":"Promisified fs for Node.js","main":"lib/index.js","scripts":{"test":"ava spec/*-spec.js","prepare":"npm run compile","compile":"sb-babel-cli src -o lib","lint":"(flow check) && (eslint . ) && (prettier --list-different src/*.js)","watch":"npm run compile -- -w"},"keywords":["sb","fs","promise"],"repository":{"type":"git","url":"git+https://github.com/steelbrain/fs.git"},"author":{"name":"steelbrain"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/fs/issues"},"homepage":"https://github.com/steelbrain/fs#readme","devDependencies":{"@babel/core":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/preset-flow":"^7.0.0","ava":"^1.4.1","eslint-config-steelbrain":"^7.0.0","flow-bin":"^0.97.0","sb-babel-cli":"^2.0.0"},"dependencies":{"strip-bom-buf":"^1.0.0"},"engines":{"node":">= 8"},"gitHead":"25ed0603ad69850628e476c69f2c671e607685aa","_id":"sb-fs@4.0.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-UjjIHC4uahPWvKYqgknvFCCJ11S0oDahz+nsmyTCAmARKto31aoE+Lu7GGGK0nogengJEKGzFdh46ho5+IL88Q==","shasum":"b84ca0045f09d4643304113d4e0543b508a56f73","tarball":"https://registry.npmjs.org/sb-fs/-/sb-fs-4.0.0.tgz","fileCount":8,"unpackedSize":5965,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcu3xNCRA9TVsSAnZWagAArr0QAJV24yG7ZwznNAK9PDbq\nF+4W2EW3YSZ/b7T0HChS4/Mhq/5SIJ9V8+cbsEtYadJ6PPsL02VFRjOXo3Ho\nWdieb6nRXN1yX1GOIMpwBq42GLaoFZFZriAr/uMl8cBW+Or+GYH3R7jh2Jwc\nitsFxvgtPS0Z+oJTmdcN8At4CwROl1XieCr4w+ltlFulKL9yaUNjY7/9KZ1W\nf3dSx6kBLTOFZ+TCOyKEpxQV4/jC7tojyBF9cUVwIczcbWYVJs7bCM/oL6EN\nZxZyqaZgLeeY6CwCz8bkrCO4ovPHI7mVOmD4TkApwVTaetoMY/r+hmuGhQCb\nppEJ1sRAAWHmlpOZH0wSZh3r5glxaxJNrkD3pit9YNl1Xtu5xtAY79pmn93N\n+E3LAihj4vUrUJ+CWwCrKvOpjN1y48+L1EoYHNtE84Y9nYNEScxY7HNbCbjF\nScW9066p/hMnPOvbyEGcdkOqSYfrRsys4evbleN8FUAPdj5AMPuHVbZchS+I\nI3NQHfM3xikCYgy/w4uB7gbjoby8NDu1QwwUq3qpepyfotBllPnhM2vAHK7K\nHjyB7cSTd45+nEJJkAHCX2XLHcxtaJANT/GS6kG91/3soDFIdYboTxTHWI0e\npG/vzPHN/4lSOxfI4kCcCdP+HvL0hPZSJLjqwhhSTGfPF4aZJAlPzpTlRCLh\nZb+3\r\n=Cmoz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqep6jNB+x0xefWyQfYKfDDHogrASNhkXKnWlGUU+w2wIgJ0E0ZjbUi9CjZKfJwOMiUTdGe/j4H5FMjG3Da3FbClk="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sb-fs_4.0.0_1555790925328_0.7892998408395937"},"_hasShrinkwrap":false}},"readme":"# FS\n\n`sb-fs` is a Node.js module that exports a promisified FS.\n\n## Installation\n\n```\nnpm install --save sb-fs\n```\n\n## API\n\n```js\nexport promisifyAll(*) from 'fs'\nexport function exists(path: string): Promise<boolean>\nexport function readFile(path: string): Promise<string>\n// ^ Returns a BOM stripped string\n```\n\n## Usage\n\n```js\nimport { readFile, exists, createReadStream, createWriteStream } from \"sb-fs\";\n\nexport default async function freedom() {\n  console.log(await readFile(__filename));\n  console.log(\n    (await exists(\"/path/to/humanity\")) ? \"it exists!!\" : \"Naah it doesnt exist\"\n  );\n  createReadStream(\"source.js\").pipe(createWriteStream(\"target.js\"), {\n    end: true\n  });\n}\n```\n\n## License\n\nThis package is licensed under the terms of MIT License. See the LICENSE file for more info.\n","maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"time":{"modified":"2022-06-26T16:16:51.384Z","created":"2016-09-10T14:53:27.537Z","1.0.0":"2016-09-10T14:53:27.537Z","1.1.0":"2016-09-12T23:46:10.362Z","1.1.1":"2016-09-20T00:43:08.759Z","2.0.0":"2017-03-02T09:25:46.820Z","3.0.0":"2017-04-10T00:14:49.368Z","4.0.0":"2019-04-20T20:08:45.516Z"},"homepage":"https://github.com/steelbrain/fs#readme","keywords":["sb","fs","promise"],"repository":{"type":"git","url":"git+https://github.com/steelbrain/fs.git"},"author":{"name":"steelbrain"},"bugs":{"url":"https://github.com/steelbrain/fs/issues"},"license":"MIT","readmeFilename":"README.md"}