{"_id":"neat-csv","_rev":"1278176","name":"neat-csv","description":"Fast CSV parser","dist-tags":{"latest":"7.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2021-10-18T11:41:00.000Z","created":"2015-05-29T23:00:43.967Z","7.0.0":"2021-10-18T11:36:39.264Z","6.0.1":"2021-01-14T05:58:38.721Z","6.0.0":"2020-12-07T03:06:12.257Z","5.2.0":"2020-02-12T16:51:17.574Z","5.1.0":"2019-07-07T16:03:33.805Z","5.0.0":"2019-04-20T07:24:54.126Z","4.0.0":"2018-11-02T07:36:13.518Z","3.0.0":"2018-08-10T08:06:36.066Z","2.1.0":"2016-04-28T15:53:47.743Z","2.0.0":"2016-04-20T06:00:06.754Z","1.1.0":"2015-08-20T09:59:42.186Z","1.0.0":"2015-05-29T23:00:43.967Z"},"users":{"nichoth":true,"timdp":true,"stany":true,"viktor.konsta":true,"rocket0191":true,"willwolffmyren":true,"sammy_winchester":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/neat-csv.git"},"versions":{"7.0.0":{"name":"neat-csv","version":"7.0.0","description":"Fast CSV parser","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/neat-csv.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["parse","csv","comma","separated","values","tab","delimiter","separator","text","string","buffer","stream","parser"],"dependencies":{"csv-parser":"^3.0.0","get-stream":"^6.0.1"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.18.0","xo":"^0.45.0"},"gitHead":"f812db70f5d817b5efa6a442ed8a7d50bc7b9572","bugs":{"url":"https://github.com/sindresorhus/neat-csv/issues"},"homepage":"https://github.com/sindresorhus/neat-csv#readme","_id":"neat-csv@7.0.0","_nodeVersion":"16.10.0","_npmVersion":"7.20.3","dist":{"shasum":"3edfd4fde087ebbeb2136b87c10a81a1ea70a524","size":2134,"noattachment":false,"key":"/neat-csv/-/neat-csv-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/neat-csv/download/neat-csv-7.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/neat-csv_7.0.0_1634556999097_0.8464284378273139"},"_hasShrinkwrap":false,"publish_time":1634556999264,"_cnpm_publish_time":1634556999264},"6.0.1":{"name":"neat-csv","version":"6.0.1","description":"Fast CSV parser","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/neat-csv.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["parse","csv","comma","separated","values","tab","delimiter","separator","text","string","buffer","stream","parser"],"dependencies":{"csv-parser":"^3.0.0","get-stream":"^6.0.0","to-readable-stream":"^2.1.0"},"devDependencies":{"ava":"^2.4.0","tsd":"^0.14.0","xo":"^0.37.1"},"gitHead":"ec9a3cacf4b4c55f95c91ab45df6db7a6d0be204","bugs":{"url":"https://github.com/sindresorhus/neat-csv/issues"},"homepage":"https://github.com/sindresorhus/neat-csv#readme","_id":"neat-csv@6.0.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"c7f9a2cd63456047e8a48d6ad708a2ec4423975d","size":2243,"noattachment":false,"key":"/neat-csv/-/neat-csv-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/neat-csv/download/neat-csv-6.0.1.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/neat-csv_6.0.1_1610603918587_0.6145308713084985"},"_hasShrinkwrap":false,"publish_time":1610603918721,"_cnpm_publish_time":1610603918721},"6.0.0":{"name":"neat-csv","version":"6.0.0","description":"Fast CSV parser","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/neat-csv.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["parse","csv","comma","separated","values","tab","delimiter","separator","text","string","buffer","stream","parser"],"dependencies":{"csv-parser":"^3.0.0","get-stream":"^6.0.0","to-readable-stream":"^2.1.0"},"devDependencies":{"ava":"^2.4.0","tsd":"^0.14.0","xo":"^0.35.0"},"gitHead":"b167459725560cec4d190e2a4de429e47f5025b7","bugs":{"url":"https://github.com/sindresorhus/neat-csv/issues"},"homepage":"https://github.com/sindresorhus/neat-csv#readme","_id":"neat-csv@6.0.0","_nodeVersion":"10.22.1","_npmVersion":"6.14.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"cc8eee3069d4de6efc3037f121d22ba53213c564","size":2141,"noattachment":false,"key":"/neat-csv/-/neat-csv-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/neat-csv/download/neat-csv-6.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/neat-csv_6.0.0_1607310372108_0.6281131221014189"},"_hasShrinkwrap":false,"publish_time":1607310372257,"_cnpm_publish_time":1607310372257},"5.2.0":{"name":"neat-csv","version":"5.2.0","description":"Fast CSV parser","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/neat-csv.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["parse","csv","comma","separated","values","tab","delimiter","separator","text","string","buffer","stream","parser"],"dependencies":{"csv-parser":"^2.3.2","get-stream":"^5.1.0","to-readable-stream":"^2.1.0"},"devDependencies":{"ava":"^2.1.0","tsd":"^0.11.0","xo":"^0.25.4"},"gitHead":"ce9a87be49c93d119dfc22db4eec88abd834da50","bugs":{"url":"https://github.com/sindresorhus/neat-csv/issues"},"homepage":"https://github.com/sindresorhus/neat-csv#readme","_id":"neat-csv@5.2.0","_nodeVersion":"10.18.1","_npmVersion":"6.13.7","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"7c93c7d98dea8e29971bd9c52e0435cf9fdd939e","size":2060,"noattachment":false,"key":"/neat-csv/-/neat-csv-5.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/neat-csv/download/neat-csv-5.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/neat-csv_5.2.0_1581526277460_0.057973076634644016"},"_hasShrinkwrap":false,"publish_time":1581526277574,"_cnpm_publish_time":1581526277574},"5.1.0":{"name":"neat-csv","version":"5.1.0","description":"Fast CSV parser","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/neat-csv.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["parse","csv","comma","separated","values","tab","delimiter","separator","text","string","buffer","stream","parser"],"dependencies":{"csv-parser":"^2.3.0","get-stream":"^5.1.0","to-readable-stream":"^2.1.0"},"devDependencies":{"ava":"^2.1.0","tsd":"^0.7.3","xo":"^0.24.0"},"gitHead":"394ba5031b0c5e75dc627dacb934969122455c2f","bugs":{"url":"https://github.com/sindresorhus/neat-csv/issues"},"homepage":"https://github.com/sindresorhus/neat-csv#readme","_id":"neat-csv@5.1.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"521492a49dfed1577b3fc3cf7397c81e802659bb","size":2021,"noattachment":false,"key":"/neat-csv/-/neat-csv-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/neat-csv/download/neat-csv-5.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/neat-csv_5.1.0_1562515413644_0.051134118944542006"},"_hasShrinkwrap":false,"publish_time":1562515413805,"_cnpm_publish_time":1562515413805},"5.0.0":{"name":"neat-csv","version":"5.0.0","description":"Fast CSV parser","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/neat-csv.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"keywords":["parse","csv","comma","separated","values","tab","delimiter","separator","text","string","buffer","stream","parser"],"dependencies":{"csv-parser":"^2.1.0","get-stream":"^4.1.0","to-readable-stream":"^1.0.0"},"devDependencies":{"ava":"^1.4.1","xo":"^0.24.0"},"gitHead":"4a079cae28d3fa99143fcf140c0e9437b25e62dc","bugs":{"url":"https://github.com/sindresorhus/neat-csv/issues"},"homepage":"https://github.com/sindresorhus/neat-csv#readme","_id":"neat-csv@5.0.0","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f9e7d1008dfdf819331b57606bff724200433e15","size":1795,"noattachment":false,"key":"/neat-csv/-/neat-csv-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/neat-csv/download/neat-csv-5.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/neat-csv_5.0.0_1555745094000_0.8934056693346435"},"_hasShrinkwrap":false,"publish_time":1555745094126,"_cnpm_publish_time":1555745094126},"4.0.0":{"name":"neat-csv","version":"4.0.0","description":"Fast CSV parser","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/neat-csv.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"keywords":["parse","csv","comma","separated","values","tab","delimiter","separator","text","string","str","buffer","stream","parser"],"dependencies":{"csv-parser":"^2.1.0","get-stream":"^4.1.0","to-readable-stream":"^1.0.0"},"devDependencies":{"ava":"^0.25.0","xo":"^0.23.0"},"gitHead":"399ed185c3f2e2c347ca178b900e22184e507019","bugs":{"url":"https://github.com/sindresorhus/neat-csv/issues"},"homepage":"https://github.com/sindresorhus/neat-csv#readme","_id":"neat-csv@4.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"4d8c20fdd84d8c57968d57acafe1d34a5e81c135","size":1749,"noattachment":false,"key":"/neat-csv/-/neat-csv-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/neat-csv/download/neat-csv-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/neat-csv_4.0.0_1541144173351_0.9552487918423838"},"_hasShrinkwrap":false,"publish_time":1541144173518,"_cnpm_publish_time":1541144173518},"3.0.0":{"name":"neat-csv","version":"3.0.0","description":"Fast CSV parser","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/neat-csv.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["parse","csv","comma","separated","values","tab","delimiter","separator","text","string","str","buffer","stream","parser"],"dependencies":{"csv-parser":"^1.12.1","get-stream":"^4.0.0","to-readable-stream":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"82d0d77bafb455a2f55f14a5fea7f00208959f94","bugs":{"url":"https://github.com/sindresorhus/neat-csv/issues"},"homepage":"https://github.com/sindresorhus/neat-csv#readme","_id":"neat-csv@3.0.0","_npmVersion":"6.3.0","_nodeVersion":"8.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"3de98baf362004c6331de5f8fba0e428ad6533c9","size":1748,"noattachment":false,"key":"/neat-csv/-/neat-csv-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/neat-csv/download/neat-csv-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/neat-csv_3.0.0_1533888395956_0.7924016227227237"},"_hasShrinkwrap":false,"publish_time":1533888396066,"_cnpm_publish_time":1533888396066},"2.1.0":{"name":"neat-csv","version":"2.1.0","description":"Fast CSV parser","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/neat-csv.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["parse","csv","comma","separated","values","tab","delimiter","separator","text","string","str","buffer","stream","parser"],"dependencies":{"csv-parser":"^1.6.0","get-stream":"^2.1.0","into-stream":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"ab2a95d279e9af8e42cf08e23136c26bb5757f1c","bugs":{"url":"https://github.com/sindresorhus/neat-csv/issues"},"homepage":"https://github.com/sindresorhus/neat-csv#readme","_id":"neat-csv@2.1.0","_shasum":"06f58360c4c3b955bd467ddc85ae4511a3907a4c","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"06f58360c4c3b955bd467ddc85ae4511a3907a4c","size":1819,"noattachment":false,"key":"/neat-csv/-/neat-csv-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/neat-csv/download/neat-csv-2.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/neat-csv-2.1.0.tgz_1461858827287_0.19804027141071856"},"directories":{},"publish_time":1461858827743,"_cnpm_publish_time":1461858827743,"_hasShrinkwrap":false},"2.0.0":{"name":"neat-csv","version":"2.0.0","description":"Fast CSV parser","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/neat-csv.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["parse","csv","comma","separated","values","tab","delimiter","separator","text","string","str","buffer","stream","parser"],"dependencies":{"concat-stream":"^1.4.8","csv-parser":"^1.6.0","into-stream":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"eb87aa20a6efe71679f233208b128baac330740c","bugs":{"url":"https://github.com/sindresorhus/neat-csv/issues"},"homepage":"https://github.com/sindresorhus/neat-csv#readme","_id":"neat-csv@2.0.0","_shasum":"d8a6fd6b113b764f0525f5bc0aebe9d928255872","_from":".","_npmVersion":"2.15.0","_nodeVersion":"0.10.44","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"d8a6fd6b113b764f0525f5bc0aebe9d928255872","size":1861,"noattachment":false,"key":"/neat-csv/-/neat-csv-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/neat-csv/download/neat-csv-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/neat-csv-2.0.0.tgz_1461132004659_0.875484335469082"},"directories":{},"publish_time":1461132006754,"_cnpm_publish_time":1461132006754,"_hasShrinkwrap":false},"1.1.0":{"name":"neat-csv","version":"1.1.0","description":"Fast CSV parser","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/neat-csv.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["csv","comma","separated","values","tab","delimiter","separator","text","string","str","buffer","stream","parse","parser"],"dependencies":{"concat-stream":"^1.4.8","csv-parser":"^1.6.0","into-stream":"^2.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"502cb54416efb973fac57d40d3740b56bc352e6f","bugs":{"url":"https://github.com/sindresorhus/neat-csv/issues"},"homepage":"https://github.com/sindresorhus/neat-csv#readme","_id":"neat-csv@1.1.0","_shasum":"357a412f84b55b21160259945def3a70be30301c","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"357a412f84b55b21160259945def3a70be30301c","size":1864,"noattachment":false,"key":"/neat-csv/-/neat-csv-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/neat-csv/download/neat-csv-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1440064782186,"_cnpm_publish_time":1440064782186,"_hasShrinkwrap":false},"1.0.0":{"name":"neat-csv","version":"1.0.0","description":"Fast CSV parser","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/neat-csv"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["csv","comma","separated","values","tab","delimiter","separator","text","string","str","buffer","stream","parse","parser"],"dependencies":{"concat-stream":"^1.4.8","csv-parser":"^1.6.0","into-stream":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"d80d9f7e1bb1ae7f1a6b1cdb094186f6fbcd4dcd","bugs":{"url":"https://github.com/sindresorhus/neat-csv/issues"},"homepage":"https://github.com/sindresorhus/neat-csv","_id":"neat-csv@1.0.0","_shasum":"dee1c7f60109179b7b3d57528ce22c017080ae2c","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"dee1c7f60109179b7b3d57528ce22c017080ae2c","size":1853,"noattachment":false,"key":"/neat-csv/-/neat-csv-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/neat-csv/download/neat-csv-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1432940443967,"_cnpm_publish_time":1432940443967,"_hasShrinkwrap":false}},"readme":"# neat-csv\n\n> Fast CSV parser\n\nConvenience wrapper around the super-fast streaming [`csv-parser`](https://github.com/mafintosh/csv-parser) module. Use that one if you want streamed parsing.\n\nParsing-related issues should be reported to [`csv-parser`](https://github.com/mafintosh/csv-parser/issues).\n\n## Install\n\n```sh\nnpm install neat-csv\n```\n\n## Usage\n\n```js\nimport neatCsv from 'neat-csv';\n\nconst csv = 'type,part\\nunicorn,horn\\nrainbow,pink';\n\nconsole.log(await neatCsv(csv));\n//=> [{type: 'unicorn', part: 'horn'}, {type: 'rainbow', part: 'pink'}]\n```\n\n## API\n\n### neatCsv(data, options?)\n\nReturns a `Promise<object[]>` with the parsed CSV.\n\n#### data\n\nType: `string | Buffer | stream.Readable`\n\nThe CSV data to parse.\n\n#### options\n\nType: `object`\n\nSee the [`csv-parser` options](https://github.com/mafintosh/csv-parser#options).\n","_attachments":{},"homepage":"https://github.com/sindresorhus/neat-csv#readme","bugs":{"url":"https://github.com/sindresorhus/neat-csv/issues"},"license":"MIT"}