{"_id":"firstline","_rev":"2740143","name":"firstline","description":"Async npm module for Node JS that reads the first line of a file","dist-tags":{"latest":"2.0.2"},"maintainers":[{"name":"pensierinmusica","email":"alessandro@zanardi.org"}],"time":{"modified":"2022-01-28T15:56:35.000Z","created":"2015-02-28T16:58:09.865Z","2.0.2":"2018-05-24T00:46:10.461Z","2.0.1":"2018-05-22T05:19:54.268Z","2.0.0":"2018-05-22T03:48:58.096Z","1.3.1":"2018-05-22T00:23:16.803Z","1.3.0":"2018-04-26T18:25:22.840Z","1.2.1":"2016-12-07T21:16:23.518Z","1.2.0":"2016-03-09T12:02:03.302Z","1.1.3":"2016-03-06T18:58:25.736Z","1.1.2":"2016-03-06T18:43:11.515Z","1.1.1":"2016-03-06T16:53:47.896Z","1.1.0":"2016-03-06T15:38:56.122Z","1.0.0":"2015-02-28T16:58:09.865Z"},"users":{"jlembeck":true,"danielbayley":true,"ouq77":true},"author":{"name":"Alessandro Zanardi"},"repository":{"type":"git","url":"git+https://github.com/pensierinmusica/firstline.git"},"versions":{"2.0.2":{"name":"firstline","description":"Async npm module for Node JS that reads the first line of a file","main":"index.js","scripts":{"coverage":"nyc report --reporter=text-lcov | coveralls","lint":"eslint .","pre-commit":"npm test","semantic-release":"semantic-release","travis-deploy-once":"travis-deploy-once --pro","test":"npm run lint && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/pensierinmusica/firstline.git"},"homepage":"https://github.com/pensierinmusica/firstline","bugs":{"url":"https://github.com/pensierinmusica/firstline/issues"},"keywords":["read","check","file","content","filesystem","io","stream","async","promise"],"author":{"name":"Alessandro Zanardi"},"license":"MIT","engines":{"node":">=6.4.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"devDependencies":{"chai":"^4.1.2","chai-as-promised":"^7.1.1","coveralls":"^3.0.0","cz-conventional-changelog":"^2.1.0","eslint":"^4.19.1","husky":"^0.14.3","js-promisify":"^1.1.0","mocha":"^5.1.1","nyc":"^11.7.1","rimraf":"^2.6.2","semantic-release":"^15.5.0","travis-deploy-once":"^5.0.0"},"version":"2.0.2","gitHead":"1ddb45976bcc1fe3fb015201f47627cda807e926","_id":"firstline@2.0.2","_npmVersion":"5.6.0","_nodeVersion":"10.2.0","_npmUser":{"name":"pensierinmusica","email":"alessandro@zanardi.org"},"dist":{"shasum":"3fdfd894a80e181cd2fa478b07cadb8d446c53cd","size":6013,"noattachment":false,"key":"/firstline/-/firstline-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/firstline/download/firstline-2.0.2.tgz"},"maintainers":[{"name":"pensierinmusica","email":"alessandro@zanardi.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/firstline_2.0.2_1527122770279_0.8917392099275858"},"_hasShrinkwrap":false,"publish_time":1527122770461,"_cnpm_publish_time":1527122770461},"2.0.1":{"name":"firstline","description":"Async npm module for Node JS that reads the first line of a file","main":"index.js","scripts":{"coverage":"nyc report --reporter=text-lcov | coveralls","lint":"eslint .","pre-commit":"npm test","semantic-release":"semantic-release","travis-deploy-once":"travis-deploy-once --pro","test":"npm run lint && nyc mocha","test-travis":"npm run lint && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/pensierinmusica/firstline.git"},"homepage":"https://github.com/pensierinmusica/firstline","bugs":{"url":"https://github.com/pensierinmusica/firstline/issues"},"keywords":["read","check","file","content","filesystem","io","stream","async","promise"],"author":{"name":"Alessandro Zanardi"},"license":"MIT","engines":{"node":">=6.4.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"devDependencies":{"chai":"^4.1.2","chai-as-promised":"^7.1.1","coveralls":"^3.0.0","cz-conventional-changelog":"^2.1.0","eslint":"^4.19.1","husky":"^0.14.3","js-promisify":"^1.1.0","mocha":"^5.1.1","nyc":"^11.7.1","rimraf":"^2.6.2","semantic-release":"^15.5.0","travis-deploy-once":"^5.0.0"},"version":"2.0.1","gitHead":"d9231f6e02915e2344d727b473f4ba724b579083","_id":"firstline@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"pensierinmusica","email":"alessandro@zanardi.org"},"dist":{"shasum":"d05a36f9ddb4fa969887f493cf0deece33c0509f","size":6028,"noattachment":false,"key":"/firstline/-/firstline-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/firstline/download/firstline-2.0.1.tgz"},"maintainers":[{"name":"pensierinmusica","email":"alessandro@zanardi.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/firstline_2.0.1_1526966394038_0.7662695685036887"},"_hasShrinkwrap":false,"publish_time":1526966394268,"_cnpm_publish_time":1526966394268},"2.0.0":{"name":"firstline","description":"Async npm module for Node JS that reads the first line of a file","main":"index.js","scripts":{"coverage":"nyc report --reporter=text-lcov | coveralls","lint":"eslint .","pre-commit":"npm test","semantic-release":"semantic-release","travis-deploy-once":"travis-deploy-once --pro","test":"npm run lint && nyc mocha","test-travis":"npm run lint && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/pensierinmusica/firstline.git"},"homepage":"https://github.com/pensierinmusica/firstline","bugs":{"url":"https://github.com/pensierinmusica/firstline/issues"},"keywords":["read","check","file","content","filesystem","io","stream","async","promise"],"author":{"name":"Alessandro Zanardi"},"license":"MIT","engines":{"node":">=6.4.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"devDependencies":{"chai":"^4.1.2","chai-as-promised":"^7.1.1","coveralls":"^3.0.0","cz-conventional-changelog":"^2.1.0","eslint":"^4.19.1","husky":"^0.14.3","js-promisify":"^1.1.0","mocha":"^5.1.1","nyc":"^11.7.1","rimraf":"^2.6.2","semantic-release":"^15.5.0","travis-deploy-once":"^5.0.0"},"version":"2.0.0","gitHead":"d0e3ef802c6713e9c4676ae16941c1c174453a06","_id":"firstline@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"pensierinmusica","email":"alessandro@zanardi.org"},"dist":{"shasum":"c9a99d810204649cc1ee1477c07ce033be01945e","size":5989,"noattachment":false,"key":"/firstline/-/firstline-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/firstline/download/firstline-2.0.0.tgz"},"maintainers":[{"name":"pensierinmusica","email":"alessandro@zanardi.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/firstline_2.0.0_1526960937995_0.34643083531116403"},"_hasShrinkwrap":false,"publish_time":1526960938096,"_cnpm_publish_time":1526960938096},"1.3.1":{"name":"firstline","description":"Async npm module for Node JS that reads the first line of a file","main":"index.js","scripts":{"coverage":"nyc report --reporter=text-lcov | coveralls","lint":"eslint . --ext js,json --ignore-pattern !.*","pre-commit":"npm test","semantic-release":"semantic-release","travis-deploy-once":"travis-deploy-once","test":"npm run lint && mocha","test-travis":"npm run lint && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/pensierinmusica/firstline.git"},"homepage":"https://github.com/pensierinmusica/firstline","bugs":{"url":"https://github.com/pensierinmusica/firstline/issues"},"keywords":["read","check","file","content","filesystem","io","stream","async","promise"],"author":{"name":"Alessandro Zanardi"},"license":"MIT","engines":{"node":">=6.4.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"devDependencies":{"chai":"^4.1.2","chai-as-promised":"^7.1.1","coveralls":"^3.0.0","cz-conventional-changelog":"^2.1.0","eslint":"^4.19.1","eslint-plugin-json":"^1.2.0","husky":"^0.14.3","istanbul":"^0.4.5","js-promisify":"^1.1.0","mocha":"^5.1.1","nyc":"^11.7.1","rimraf":"^2.6.2","semantic-release":"^15.5.0","travis-deploy-once":"^5.0.0"},"version":"1.3.1","gitHead":"092fb403af3ae119c5d7637976f34597829ef19c","_id":"firstline@1.3.1","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"pensierinmusica","email":"alessandro@zanardi.org"},"dist":{"shasum":"59e84af0fd858fbc6dac0a0ff97fd22a47e58084","size":6855,"noattachment":false,"key":"/firstline/-/firstline-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/firstline/download/firstline-1.3.1.tgz"},"maintainers":[{"name":"pensierinmusica","email":"alessandro@zanardi.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/firstline_1.3.1_1526948595912_0.9240245466432369"},"_hasShrinkwrap":false,"publish_time":1526948596803,"_cnpm_publish_time":1526948596803},"1.3.0":{"name":"firstline","description":"Async npm module for Node JS that reads the first line of a file","main":"index.js","scripts":{"coverage":"nyc report --reporter=text-lcov | coveralls","lint":"eslint . --ext js,json --ignore-pattern !.*","pre-commit":"npm test","semantic-release":"semantic-release","travis-deploy-once":"travis-deploy-once","test":"npm run lint && mocha","test-travis":"npm run lint && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/pensierinmusica/firstline.git"},"homepage":"https://github.com/pensierinmusica/firstline","bugs":{"url":"https://github.com/pensierinmusica/firstline/issues"},"keywords":["read","check","file","content","filesystem","io","stream","async","promise"],"author":{"name":"Alessandro Zanardi"},"license":"MIT","engines":{"node":">=6.4.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"devDependencies":{"chai":"^4.1.2","chai-as-promised":"^7.1.1","coveralls":"^3.0.0","cz-conventional-changelog":"^2.1.0","eslint":"^4.19.1","eslint-plugin-json":"^1.2.0","husky":"^0.14.3","istanbul":"^0.4.5","js-promisify":"^1.1.0","mocha":"^5.1.1","nyc":"^11.7.1","rimraf":"^2.6.2","semantic-release":"^15.1.7","travis-deploy-once":"^4.4.1"},"version":"1.3.0","gitHead":"5e86a742fd6139d863fb145b8d639680514c00a1","_id":"firstline@1.3.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"pensierinmusica","email":"alessandro@zanardi.org"},"dist":{"shasum":"aa7b4e9fb9874ac49ecc3f42acc90e08863cbb4b","size":6851,"noattachment":false,"key":"/firstline/-/firstline-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/firstline/download/firstline-1.3.0.tgz"},"maintainers":[{"name":"pensierinmusica","email":"alessandro@zanardi.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/firstline_1.3.0_1524767122476_0.45353024923983964"},"_hasShrinkwrap":false,"publish_time":1524767122840,"_cnpm_publish_time":1524767122840},"1.2.1":{"name":"firstline","description":"Async npm module for Node JS that reads the first line of a file","main":"index.js","scripts":{"test":"mocha","test-travis":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/pensierinmusica/firstline.git"},"homepage":"https://github.com/pensierinmusica/firstline","bugs":{"url":"https://github.com/pensierinmusica/firstline/issues"},"keywords":["read","check","file","content","filesystem","io","stream","async","promise"],"author":{"name":"Alessandro Zanardi"},"license":"MIT","engines":{"node":">=4.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"pre-commit":"mocha"}},"devDependencies":{"chai":"^3.5.0","chai-as-promised":"^5.2.0","coveralls":"^2.11.8","cz-conventional-changelog":"^1.1.7","ghooks":"^1.0.3","istanbul":"^0.4.2","js-promisify":"^1.1.0","mocha":"^2.4.5","rimraf":"^2.5.2","semantic-release":"^4.3.5"},"version":"1.2.1","gitHead":"b056f852689619e29de5f6235f877718154c70a3","_id":"firstline@1.2.1","_shasum":"b88673c42009f8821fac2926e99720acee924fae","_from":".","_npmVersion":"2.15.11","_nodeVersion":"7.2.1","_npmUser":{"name":"pensierinmusica","email":"alessandro@zanardi.org"},"dist":{"shasum":"b88673c42009f8821fac2926e99720acee924fae","size":5566,"noattachment":false,"key":"/firstline/-/firstline-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/firstline/download/firstline-1.2.1.tgz"},"maintainers":[{"name":"pensierinmusica","email":"alessandro@zanardi.org"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/firstline-1.2.1.tgz_1481145382977_0.6442857182119042"},"directories":{},"publish_time":1481145383518,"_cnpm_publish_time":1481145383518,"_hasShrinkwrap":false},"1.2.0":{"name":"firstline","version":"1.2.0","description":"Async npm module for Node JS that reads the first line of a file","main":"firstline.js","repository":{"type":"git","url":"git+https://github.com/pensierinmusica/firstline.git"},"keywords":["read","check","file","content","filesystem","io","stream","async","promise"],"author":{"name":"Alessandro Zanardi"},"license":"MIT","bugs":{"url":"https://github.com/pensierinmusica/firstline/issues"},"homepage":"https://github.com/pensierinmusica/firstline","devDependencies":{"chai":"^3.5.0","chai-as-promised":"^5.2.0","coveralls":"^2.11.8","istanbul":"^0.4.2","js-promisify":"^1.0.4","mocha":"^2.4.5","rimraf":"^2.5.2","semantic-release":"^4.3.5"},"engines":{"node":">=4.0.0"},"scripts":{"test":"mocha","test-travis":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"gitHead":"9d35e85bdbaad1111428cdd53f904fc04e158a83","_id":"firstline@1.2.0","_shasum":"c9f4886e7f7fbf0afc12d71941dce06b192aea05","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"pensierinmusica","email":"alessandro@zanardi.org"},"maintainers":[{"name":"pensierinmusica","email":"alessandro@zanardi.org"}],"dist":{"shasum":"c9f4886e7f7fbf0afc12d71941dce06b192aea05","size":5523,"noattachment":false,"key":"/firstline/-/firstline-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/firstline/download/firstline-1.2.0.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/firstline-1.2.0.tgz_1457524918788_0.917569937184453"},"directories":{},"publish_time":1457524923302,"_cnpm_publish_time":1457524923302,"_hasShrinkwrap":false},"1.1.3":{"name":"firstline","version":"1.1.3","description":"Async npm module for Node JS that reads the first line of a file","main":"firstline.js","repository":{"type":"git","url":"git+https://github.com/pensierinmusica/firstline.git"},"keywords":["read","check","file","content","filesystem","io","stream","async","promise"],"author":{"name":"Alessandro Zanardi"},"license":"MIT","bugs":{"url":"https://github.com/pensierinmusica/firstline/issues"},"homepage":"https://github.com/pensierinmusica/firstline","devDependencies":{"chai":"^3.5.0","chai-as-promised":"^5.2.0","coveralls":"^2.11.8","istanbul":"^0.4.2","js-promisify":"^1.0.4","mocha":"^2.4.5","rimraf":"^2.5.2"},"engines":{"node":">=4.0.0"},"scripts":{"test":"mocha","test-travis":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha"},"gitHead":"a79570dae93fe5c84b4115d8947f8648bffdf71b","_id":"firstline@1.1.3","_shasum":"1afc2837ae24190a6dcaab221c8f8018e4d2824a","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"pensierinmusica","email":"alessandro@zanardi.org"},"maintainers":[{"name":"pensierinmusica","email":"alessandro@zanardi.org"}],"dist":{"shasum":"1afc2837ae24190a6dcaab221c8f8018e4d2824a","size":5299,"noattachment":false,"key":"/firstline/-/firstline-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/firstline/download/firstline-1.1.3.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/firstline-1.1.3.tgz_1457290702510_0.6814931940753013"},"directories":{},"publish_time":1457290705736,"_cnpm_publish_time":1457290705736,"_hasShrinkwrap":false},"1.1.2":{"name":"firstline","version":"1.1.2","description":"Async npm module for Node JS that reads the first line of a file","main":"firstline.js","repository":{"type":"git","url":"git+https://github.com/pensierinmusica/firstline.git"},"keywords":["read","check","file","content","filesystem","io","stream","async","promise"],"author":{"name":"Alessandro Zanardi"},"license":"MIT","bugs":{"url":"https://github.com/pensierinmusica/firstline/issues"},"homepage":"https://github.com/pensierinmusica/firstline","devDependencies":{"chai":"^3.5.0","chai-as-promised":"^5.2.0","coveralls":"^2.11.8","istanbul":"^0.4.2","js-promisify":"^1.0.3","mocha":"^2.4.5","rimraf":"^2.5.2"},"engines":{"node":">=4.0.0"},"scripts":{"test":"mocha","test-travis":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha"},"gitHead":"38a12cb612cfb2b623584328d079a9ba3a0259d1","_id":"firstline@1.1.2","_shasum":"f6f9ad418bd8a1d2643cd92ed1983cbf35337b4f","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"pensierinmusica","email":"alessandro@zanardi.org"},"maintainers":[{"name":"pensierinmusica","email":"alessandro@zanardi.org"}],"dist":{"shasum":"f6f9ad418bd8a1d2643cd92ed1983cbf35337b4f","size":5305,"noattachment":false,"key":"/firstline/-/firstline-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/firstline/download/firstline-1.1.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/firstline-1.1.2.tgz_1457289788442_0.7413943896535784"},"directories":{},"publish_time":1457289791515,"_cnpm_publish_time":1457289791515,"_hasShrinkwrap":false},"1.1.1":{"name":"firstline","version":"1.1.1","description":"Async npm module for Node JS that reads the first line of a file","main":"firstline.js","repository":{"type":"git","url":"git+https://github.com/pensierinmusica/firstline.git"},"keywords":["read","check","file","content","filesystem","io","stream","async","promise"],"author":{"name":"Alessandro Zanardi"},"license":"MIT","bugs":{"url":"https://github.com/pensierinmusica/firstline/issues"},"homepage":"https://github.com/pensierinmusica/firstline","dependencies":{},"devDependencies":{"chai":"^3.5.0","chai-as-promised":"^5.2.0","coveralls":"^2.11.8","istanbul":"^0.4.2","js-promisify":"^1.0.3","mocha":"^2.4.5","rimraf":"^2.5.2"},"scripts":{"test":"mocha","test-travis":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha"},"gitHead":"2c3e30bba2adb87e8356373153c9255596e50833","_id":"firstline@1.1.1","_shasum":"c37af673ac6b256613fffd2adf07ce454ffa5e84","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"pensierinmusica","email":"alessandro@zanardi.org"},"maintainers":[{"name":"pensierinmusica","email":"alessandro@zanardi.org"}],"dist":{"shasum":"c37af673ac6b256613fffd2adf07ce454ffa5e84","size":5289,"noattachment":false,"key":"/firstline/-/firstline-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/firstline/download/firstline-1.1.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/firstline-1.1.1.tgz_1457283224754_0.8474900333676487"},"directories":{},"publish_time":1457283227896,"_cnpm_publish_time":1457283227896,"_hasShrinkwrap":false},"1.1.0":{"name":"firstline","version":"1.1.0","description":"Async npm module for Node JS that reads the first line of a file","main":"firstline.js","repository":{"type":"git","url":"git+https://github.com/pensierinmusica/firstline.git"},"keywords":["read","check","file","content","filesystem","io","stream","async","promise"],"author":{"name":"Alessandro Zanardi"},"license":"MIT","bugs":{"url":"https://github.com/pensierinmusica/firstline/issues"},"homepage":"https://github.com/pensierinmusica/firstline","dependencies":{},"devDependencies":{"chai":"^2.1.0","chai-as-promised":"^4.2.0","coveralls":"^2.11.2","istanbul":"^0.3.6","js-promisify":"^1.0.2","mocha":"^2.1.0","rimraf":"^2.2.8"},"scripts":{"test":"mocha","test-travis":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha"},"gitHead":"54c82de4a721a0857f23386ca29c0d39b8bcab4e","_id":"firstline@1.1.0","_shasum":"559c71157fe8485b29c4c1e8cf609a56b2b84718","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"pensierinmusica","email":"alessandro@zanardi.org"},"maintainers":[{"name":"pensierinmusica","email":"alessandro@zanardi.org"}],"dist":{"shasum":"559c71157fe8485b29c4c1e8cf609a56b2b84718","size":5280,"noattachment":false,"key":"/firstline/-/firstline-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/firstline/download/firstline-1.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/firstline-1.1.0.tgz_1457278733076_0.2613489229697734"},"directories":{},"publish_time":1457278736122,"_cnpm_publish_time":1457278736122,"_hasShrinkwrap":false},"1.0.0":{"name":"firstline","version":"1.0.0","description":"Async npm module for Node JS that reads the first line of a file","main":"firstline.js","repository":{"type":"git","url":"https://github.com/pensierinmusica/firstline.git"},"keywords":["read","check","file","content","filesystem","io","stream","async","promise"],"author":{"name":"Alessandro Zanardi"},"license":"MIT","bugs":{"url":"https://github.com/pensierinmusica/firstline/issues"},"homepage":"https://github.com/pensierinmusica/firstline","dependencies":{"q":"^1.2.0"},"devDependencies":{"chai":"^2.1.0","chai-as-promised":"^4.2.0","coveralls":"^2.11.2","istanbul":"^0.3.6","mocha":"^2.1.0","q-io":"^1.11.6","rimraf":"^2.2.8"},"scripts":{"test":"mocha","test-travis":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha"},"gitHead":"0d170b9b76ded674b6e36d56a8c71c93940bda01","_id":"firstline@1.0.0","_shasum":"14999b845191e225775ab1731a6b4a11dbf95c49","_from":".","_npmVersion":"2.4.1","_nodeVersion":"1.1.0","_npmUser":{"name":"pensierinmusica","email":"alessandro@zanardi.org"},"maintainers":[{"name":"pensierinmusica","email":"alessandro@zanardi.org"}],"dist":{"shasum":"14999b845191e225775ab1731a6b4a11dbf95c49","size":5273,"noattachment":false,"key":"/firstline/-/firstline-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/firstline/download/firstline-1.0.0.tgz"},"directories":{},"publish_time":1425142689865,"_cnpm_publish_time":1425142689865,"_hasShrinkwrap":false}},"readme":"# Firstline\n\n[![Build status](https://img.shields.io/travis/pensierinmusica/firstline.svg)](https://travis-ci.com/pensierinmusica/firstline)\n[![Test coverage](https://img.shields.io/coveralls/pensierinmusica/firstline.svg)](https://coveralls.io/r/pensierinmusica/firstline)\n[![Dependencies](https://img.shields.io/david/pensierinmusica/firstline.svg)](https://www.npmjs.com/package/firstline)\n[![Npm version](https://img.shields.io/npm/v/firstline.svg)](https://www.npmjs.com/package/firstline)\n[![License](https://img.shields.io/github/license/pensierinmusica/firstline.svg)](https://www.npmjs.com/package/firstline)\n\n## Introduction\n\nFirstline is a [npm](http://npmjs.org) async module for [NodeJS](http://nodejs.org/), that **reads and returns the first line of any file**. It uses native JS promises and streams (requires Node >= v6.4.0). It is well tested and built for high performance.\n\nIt is particularly suited when you need to programmatically access the first line of a large amount of files, while handling errors if they occur.\n\n## Install\n\n`npm install firstline`\n\n## Usage\n\n`firstline(filePath, [opts])`\n\n- filePath (String): the full path to the file you want to read.\n- opts (Object, optional):\n  - encoding (String), set the file encoding (must be [supported by Node.js](https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings)).\n  - lineEnding (String), the character used for line ending (defaults to `\\n`).\n\nIncrementally reads data from `filePath` until it reaches the end of the first line.\n\nReturns a promise, eventually fulfilled with a string.\n\n## Examples\n\n```js\n// Imagine the file content is:\n// abc\n// def\n// ghi\n//\n\nfirstline('./my-file.txt');\n// -> Returns a promise that will be fulfilled with 'abc'.\n\nfirstline('./my-file.txt', { lineEnding: '\\r' });\n// -> Same as above, but using '\\r' as line ending.\n```\n\n***\n\nMIT License","_attachments":{},"homepage":"https://github.com/pensierinmusica/firstline","bugs":{"url":"https://github.com/pensierinmusica/firstline/issues"},"license":"MIT"}