{"_id":"fs-then-native","_rev":"11-ca61711c67fece1c411d129b63d7393c","name":"fs-then-native","dist-tags":{"latest":"2.0.0"},"versions":{"0.1.0":{"name":"fs-then-native","version":"0.1.0","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"fs-then-native@0.1.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/fs-then-native#readme","bugs":{"url":"https://github.com/75lb/fs-then-native/issues"},"dist":{"shasum":"9c2c3dd1ed3b3579da0a9f9df9cb6207f34c3e24","tarball":"https://registry.npmjs.org/fs-then-native/-/fs-then-native-0.1.0.tgz","integrity":"sha512-t4haeLJcK/RUYYcPGwHx6lvPGg+cdI/vEBnb7p8sGXHsgyGAaHuX0iwKu97ZKacHK5hMjpdOgZFMvM+dIaRdaQ==","signatures":[{"sig":"MEYCIQCbApVj7h4HUL8oeogHdVS+kCHp8gfUad2O7z4v+zaMfAIhALqmoy+/a1Kz43YSV8uJj/9rpW1VPntp9lDINnDMwQMl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"9c2c3dd1ed3b3579da0a9f9df9cb6207f34c3e24","engines":{"node":">=0.10.0"},"gitHead":"b85115c84b559df10ae7e489cfc38ecd7024beae","scripts":{"es5":"rm -rf es5 && babel --presets babel-preset-es2015 --no-comments src --out-dir es5","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"node test.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/fs-then-native.git","type":"git"},"_npmVersion":"3.10.7","description":"fs-then-native","_nodeVersion":"6.7.0","dependencies":{"feature-detect-es6":"^1.3.1"},"devDependencies":{"rimraf":"^2.5.4","core-assert":"^0.2.1","test-runner":"^0.2.4","babel-preset-es2015":"^6.16.0"},"_npmOperationalInternal":{"tmp":"tmp/fs-then-native-0.1.0.tgz_1475704099648_0.047292621806263924","host":"packages-12-west.internal.npmjs.com"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.1":{"name":"fs-then-native","version":"0.1.1","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"fs-then-native@0.1.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/fs-then-native#readme","bugs":{"url":"https://github.com/75lb/fs-then-native/issues"},"dist":{"shasum":"9b8b4ef4c705ac650cd2c298f0bd297175953422","tarball":"https://registry.npmjs.org/fs-then-native/-/fs-then-native-0.1.1.tgz","integrity":"sha512-Sa90CrW9u4W7gxD9nOYNf8xqEGws9aPcPX6JbT4fkmLHSsq2lFNi2Hm6K3RDd5/kxQEzRqiU/cRTbY6+E3astg==","signatures":[{"sig":"MEYCIQDgolRv90uPS16Dy3nqPKBY9Fw5BDQ3jRSKx+H4HkjrywIhAMyMYHnzoKWyriywVeML8w/NW02Fq1Bg7IgkhFP9VYFj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"9b8b4ef4c705ac650cd2c298f0bd297175953422","engines":{"node":">=0.10.0"},"gitHead":"298ab39016e9bf04c382a8361a713092f9f6db9e","scripts":{"es5":"rm -rf es5 && babel --presets babel-preset-es2015 --no-comments src --out-dir es5","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"node test.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/fs-then-native.git","type":"git"},"_npmVersion":"3.10.7","description":"fs-then-native","_nodeVersion":"6.7.0","dependencies":{"feature-detect-es6":"^1.3.1"},"devDependencies":{"rimraf":"^2.5.4","core-assert":"^0.2.1","test-runner":"^0.2.4","babel-preset-es2015":"^6.16.0"},"_npmOperationalInternal":{"tmp":"tmp/fs-then-native-0.1.1.tgz_1475832250319_0.30147419520653784","host":"packages-12-west.internal.npmjs.com"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2":{"name":"fs-then-native","version":"0.1.2","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"fs-then-native@0.1.2","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/fs-then-native#readme","bugs":{"url":"https://github.com/75lb/fs-then-native/issues"},"dist":{"shasum":"4152e35452b0ca3a795d1448d6edd33f73d4175b","tarball":"https://registry.npmjs.org/fs-then-native/-/fs-then-native-0.1.2.tgz","integrity":"sha512-/HpZBsDZZoqPw0QC9ZyYuak90v9YtqTdYGU0lqFy8PTNqIcpV2WDrIw+0qT6XyUT7bLsuZ2bEqGSC3M7AcfDpA==","signatures":[{"sig":"MEYCIQCrmvTTk1kEFb7qKe75PMQ3Xx1aU7wGdwVsA6FsJQg+hwIhAJk2mdgnkhkQfjjB7E6zF2Ae4q+onHILmSRQei5+WWKw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"4152e35452b0ca3a795d1448d6edd33f73d4175b","engines":{"node":">=0.10.0"},"gitHead":"b9b02a981145a46e68326532e35be15f78cac772","scripts":{"es5":"rm -rf es5 && babel --presets babel-preset-es2015 --no-comments src --out-dir es5","docs":"jsdoc2md -t jsdoc2md/README.hbs src/lib/*.js > README.md; echo","test":"node test.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/fs-then-native.git","type":"git"},"_npmVersion":"3.10.7","description":"fs-then-native","_nodeVersion":"6.7.0","dependencies":{"feature-detect-es6":"^1.3.1"},"devDependencies":{"rimraf":"^2.5.4","core-assert":"^0.2.1","test-runner":"^0.2.4","babel-preset-es2015":"^6.16.0"},"_npmOperationalInternal":{"tmp":"tmp/fs-then-native-0.1.2.tgz_1476040561350_0.4345008754171431","host":"packages-12-west.internal.npmjs.com"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.0":{"name":"fs-then-native","version":"1.0.0","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"fs-then-native@1.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/fs-then-native#readme","bugs":{"url":"https://github.com/75lb/fs-then-native/issues"},"dist":{"shasum":"ba0be08afd394cd97cc7e1f2998c5f0a6689ad00","tarball":"https://registry.npmjs.org/fs-then-native/-/fs-then-native-1.0.0.tgz","integrity":"sha512-fd32HBgu9sj6jg9aFbLd6SOcQbGA/5s8LscQwJGiX51kh2EtegMPFVV6Agiim6GigD3KWL4lVAkL9qFOIQOblQ==","signatures":[{"sig":"MEUCIHu5oCb7hH6vnVPsJce6p1JkM7dCH54AtLj4Z4w62vkfAiEA7BznZnKtDfTnaC/xibW3f23fURFCjAcdNQDD12TWIWg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"ba0be08afd394cd97cc7e1f2998c5f0a6689ad00","engines":{"node":">=0.10.0"},"gitHead":"8cf377f60e2f262fb232a2e31fe808c6ea2435b6","scripts":{"es5":"rm -rf es5 && babel --presets babel-preset-es2015 --no-comments src --out-dir es5","docs":"jsdoc2md -t jsdoc2md/README.hbs src/lib/*.js > README.md; echo","test":"node test.js","cover":"istanbul cover ./node_modules/.bin/test-runner src/test/*.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage; echo"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/fs-then-native.git","type":"git"},"_npmVersion":"3.10.7","description":"Wraps the Node.js fs library with a Promise API using whichever `Promise` implementation is available","_nodeVersion":"6.7.0","dependencies":{"feature-detect-es6":"^1.3.1"},"devDependencies":{"rimraf":"^2.5.4","coveralls":"^2.11.14","core-assert":"^0.2.1","test-runner":"^0.2.4","babel-preset-es2015":"^6.16.0"},"_npmOperationalInternal":{"tmp":"tmp/fs-then-native-1.0.0.tgz_1476041978576_0.6764148978982121","host":"packages-12-west.internal.npmjs.com"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1":{"name":"fs-then-native","version":"1.0.1","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"fs-then-native@1.0.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/fs-then-native#readme","bugs":{"url":"https://github.com/75lb/fs-then-native/issues"},"dist":{"shasum":"148ba983bcb9c268057431d1baeeb1a1529555eb","tarball":"https://registry.npmjs.org/fs-then-native/-/fs-then-native-1.0.1.tgz","integrity":"sha512-lf9fVPjnERn+AFYp9YtYnUgG2DE7ht5zcTlZDwwBekKVPGUBvUJDGc5KYBCuxRLdtE05KWZysjh0PTXqRXz/lg==","signatures":[{"sig":"MEQCIBFvvWHRBj2CaPgxrs/i9qQ6V7EezqedDMs9HBQv9QV6AiAkF7YsUAxGwTDtIcZj1OGLc62101+XP+mjCl2ga0oSAg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"148ba983bcb9c268057431d1baeeb1a1529555eb","engines":{"node":">=0.10.0"},"gitHead":"bfcd585fc07e8fb4e9b5b5f6679ff4169f134efa","scripts":{"es5":"rm -rf es5 && babel --presets babel-preset-es2015 --no-comments src --out-dir es5","docs":"jsdoc2md -t jsdoc2md/README.hbs src/lib/*.js > README.md; echo","test":"node test.js","cover":"istanbul cover ./node_modules/.bin/test-runner src/test/*.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage; echo"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/fs-then-native.git","type":"git"},"_npmVersion":"3.10.7","description":"Wraps the Node.js fs library with a Promise API using whichever `Promise` implementation is available","_nodeVersion":"6.7.0","dependencies":{"feature-detect-es6":"^1.3.1"},"devDependencies":{"rimraf":"^2.5.4","coveralls":"^2.11.14","core-assert":"^0.2.1","test-runner":"^0.2.5","babel-preset-es2015":"^6.16.0"},"_npmOperationalInternal":{"tmp":"tmp/fs-then-native-1.0.1.tgz_1476045866990_0.029752834234386683","host":"packages-12-west.internal.npmjs.com"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.2":{"name":"fs-then-native","version":"1.0.2","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"fs-then-native@1.0.2","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/fs-then-native#readme","bugs":{"url":"https://github.com/75lb/fs-then-native/issues"},"dist":{"shasum":"ac8d3807c9f1bbd1279607fb228e0ab649bb41fe","tarball":"https://registry.npmjs.org/fs-then-native/-/fs-then-native-1.0.2.tgz","integrity":"sha512-Rbz2Jggj4AHs56esXBzCAmDTthzCisuKOTFulwwu2jztQh07q86FhIwHytQCK6HfkKES2+u1YZU1fyCajPuWKg==","signatures":[{"sig":"MEYCIQCJCf7UQphmpqe56RuB4UIm1kre5JwAeZXCDkMEFUYBLQIhAPAYhhwYN0q3j9UBzLZ6diJkfAKxjuWXSdAD3/EHHEA+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"ac8d3807c9f1bbd1279607fb228e0ab649bb41fe","engines":{"node":">=0.10.0"},"gitHead":"d5c42d139468f90bf2afa6e57d9516b8dd4e6068","scripts":{"es5":"rm -rf es5 && babel --presets babel-preset-es2015 --no-comments src --out-dir es5","docs":"jsdoc2md -t jsdoc2md/README.hbs src/lib/*.js > README.md; echo","test":"node test.js","cover":"istanbul cover ./node_modules/.bin/test-runner src/test/*.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage; echo"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/fs-then-native.git","type":"git"},"_npmVersion":"3.10.7","description":"Wraps the Node.js fs library with a Promise API using whichever `Promise` implementation is available","_nodeVersion":"6.7.0","dependencies":{"feature-detect-es6":"^1.3.1"},"devDependencies":{"rimraf":"^2.5.4","coveralls":"^2.11.14","core-assert":"^0.2.1","test-runner":"^0.2.5","babel-preset-es2015":"^6.16.0"},"_npmOperationalInternal":{"tmp":"tmp/fs-then-native-1.0.2.tgz_1476046899789_0.6698561545927078","host":"packages-12-west.internal.npmjs.com"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.0":{"name":"fs-then-native","version":"2.0.0","keywords":["fs","then","promise","native","promises","readFile","writeFile"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"fs-then-native@2.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/fs-then-native#readme","bugs":{"url":"https://github.com/75lb/fs-then-native/issues"},"dist":{"shasum":"19a124d94d90c22c8e045f2e8dd6ebea36d48c67","tarball":"https://registry.npmjs.org/fs-then-native/-/fs-then-native-2.0.0.tgz","integrity":"sha512-X712jAOaWXkemQCAmWeg5rOT2i+KOpWz1Z/txk/cW0qlOu2oQ9H61vc5w3X/iyuUEfq/OyaFJ78/cZAQD1/bgA==","signatures":[{"sig":"MEUCIQD9WmXUIuC0A+FkWDR7DXYtiS/mDMrsLJ9lt1DvL5MdogIgUZ0WZiIiCBMRIk1D4DWmUnxU7hBtr17oG3slevOyNus=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/fs-then-native","_from":".","_shasum":"19a124d94d90c22c8e045f2e8dd6ebea36d48c67","engines":{"node":">=4.0.0"},"gitHead":"c35f453fcf6775b7fda0d752f16cee8a34216f63","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"test-runner test/*.js","cover":"istanbul cover ./node_modules/.bin/test-runner test/*.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage; echo"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/fs-then-native.git","type":"git"},"_npmVersion":"4.1.2","description":"Wraps the Node.js fs library with a Promise API using whichever `Promise` implementation is available","_nodeVersion":"7.5.0","devDependencies":{"rimraf":"^2.5.4","coveralls":"^2.11.16","test-runner":"^0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/fs-then-native-2.0.0.tgz_1486586845292_0.9224253178108484","host":"packages-12-west.internal.npmjs.com"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2016-10-05T21:48:21.237Z","modified":"2026-03-02T17:27:40.748Z","0.1.0":"2016-10-05T21:48:21.237Z","0.1.1":"2016-10-07T09:24:12.069Z","0.1.2":"2016-10-09T19:16:03.353Z","1.0.0":"2016-10-09T19:39:40.259Z","1.0.1":"2016-10-09T20:44:28.871Z","1.0.2":"2016-10-09T21:01:41.742Z","2.0.0":"2017-02-08T20:47:27.248Z"},"bugs":{"url":"https://github.com/75lb/fs-then-native/issues"},"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","homepage":"https://github.com/75lb/fs-then-native#readme","keywords":["fs","then","promise","native","promises","readFile","writeFile"],"repository":{"url":"git+https://github.com/75lb/fs-then-native.git","type":"git"},"description":"Wraps the Node.js fs library with a Promise API using whichever `Promise` implementation is available","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"readme":"[![view on npm](http://img.shields.io/npm/v/fs-then-native.svg)](https://www.npmjs.org/package/fs-then-native)\n[![npm module downloads](http://img.shields.io/npm/dt/fs-then-native.svg)](https://www.npmjs.org/package/fs-then-native)\n[![Build Status](https://travis-ci.org/75lb/fs-then-native.svg?branch=master)](https://travis-ci.org/75lb/fs-then-native)\n[![Coverage Status](https://coveralls.io/repos/github/75lb/fs-then-native/badge.svg?branch=master)](https://coveralls.io/github/75lb/fs-then-native?branch=master)\n[![Dependency Status](https://david-dm.org/75lb/fs-then-native.svg)](https://david-dm.org/75lb/fs-then-native)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)\n\n# fs-then-native\n\nA minimal wrapper around the [Node.js fs library](https://nodejs.org/dist/latest-v6.x/docs/api/fs.html) adding a Promise API. It uses whichever `Promise` implementation is available, leaving responsibility one exists to the user.\n\n## Synopsis\n\n```js\nfs.readFile('file.txt', 'utf8')\n  .then(content => {\n    // process file content\n  })\n  .catch(err => {\n    // handle exception\n  })\n```\n\n* * *\n\n&copy; 2016-17 Lloyd Brookes \\<75pound@gmail.com\\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).\n","readmeFilename":"README.md"}