{"name":"csv","version":"3.1.0","description":"CSV parser with simple api, full of options and tested against large datasets.","keywords":["node","csv","tsv","parser","parse","stringifier","stringify"],"homepage":"http://csv.adaltas.com","bugs":{"url":"https://github.com/adaltas/node-csv/issues"},"author":{"name":"David Worms","email":"david@adaltas.com","url":"http://www.adaltas.com"},"contributors":[{"name":"David Worms","email":"david@adaltas.com","url":"http://www.adaltas.com"}],"license":"BSD-3-Clause","engines":{"node":">= 0.1.90"},"main":"./lib","repository":{"type":"git","url":"git+https://github.com/adaltas/node-csv.git"},"dependencies":{"csv-generate":"^2.0.2","csv-parse":"^2.4.0","stream-transform":"^1.0.2","csv-stringify":"^3.0.0"},"devDependencies":{"coffeescript":"~2.3.0"},"optionalDependencies":{},"scripts":{"preversion":"grep '## Trunk' CHANGELOG.md && rm -rf lib && npm run coffee","version":"version=`grep '^  \"version\": ' package.json | sed 's/.*\"\\([0-9\\.]*\\)\".*/\\1/'` && sed -i \"s/## Trunk/## Version $version/\" CHANGELOG.md && git add CHANGELOG.md","postversion":"git push && git push --tags && npm publish","patch":"npm version patch -m 'Bump to version %s'","minor":"npm version minor -m 'Bump to version %s'","major":"npm version major -m 'Bump to version %s'","coffee":"coffee -b -o lib src"},"gitHead":"42eb7d381d40c9d35bd27886368493706a44f568","_id":"csv@3.1.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"david","email":"david@adaltas.com"},"dist":{"integrity":"sha512-SfnePMkhjljB7ehvubZESGjgrnM7V/gBe5ubZWKxeKwgmTl/HtVCdfSaGRgH/i/vG7qJaSLMpP0krNbAuunRBg==","shasum":"91ad8625e294bf37a5b366b84d01aa40b2d20f15","tarball":"http://registry-npm.ywwl.com/csv/download/csv-3.1.0.tgz","fileCount":11,"unpackedSize":11681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/UFtCRA9TVsSAnZWagAAYPcP/3IUCaE3cy/Nsl+hOeVY\n8hFfyZKY8mq6QAx2HHx8yZzSiRO1DJPQD2OIlGh5k9BbxUkTx+kaDqhBR1q+\nTGD9lzrNQ7vvoorIIQ1kQ9A8QIunp44AflKTdVMHXwDXMIeSz09NgHNM7pbG\ncDLiRRDGd7Ys2W+QQ88QWYTcroQa6ONDvLZMKuBzH6z3QlddpZAogiNJZY+W\n5i5rZgYGU/H0WFjPSkbgtRp+6bu+u3R8Ee31DM+XvyXDCe9kGfYs1+MkGazz\nD4aysKnaHjCTiLh/px7OEyBu/Izxdh/xjFITDbadCUMkyiXFMlrYo58VAv7p\nu9NcUDh5ypC752k2tO4bjx+VxYUuHJM6IC2ynI3KhY9gOk45y2NPoJtdY0ye\n6pWCs6MexrEjz8WnXySlU+Y9v/mWcXw7MEl7E6ZuUfQ88/NQLORLiqn0gsY1\nOoRUZam9L9DHGPc5buo1ju7RNeOwc3y0QPy5LKg4ZjvXO5TCsY0XC2L8LKiL\n7Hlqc7nQ3vg6Erx3oH5+3E650loXk9kwM9cg0h8pvAM1HKxsS1iF8tBcsejD\nmWgl8K1fNZbJR1Xn0tjpL8FXJcb4Twwyx4RAkKbFOZadL8T0suzRN5pbQyrV\nMPu8LJaX+GSV0BHKkLn34UnyGc2AHbBF0P3oflciNuvWtOrTOK+DRtjgqAwm\nHnhT\r\n=68jR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIApogIGtJAi/gndHQl6nMWoiXGwXCfpu+3ZQlhoWEwQFAiEAt8i0aSwJozUI7AaMeoCSJORgYfghCa23DTVyzcsgxUg="}],"size":3972,"noattachment":false,"key":"/csv/-/csv-3.1.0.tgz"},"maintainers":[{"name":"david","email":"david@adaltas.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csv_3.1.0_1526546795879_0.48409677325144895"},"_hasShrinkwrap":false,"readme":"\n# CSV for Node.js and the web\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/adaltas/node-csv/nodejs.yml?branch=master)](https://github.com/adaltas/node-csv/actions)\n[![NPM](https://img.shields.io/npm/dm/csv)](https://www.npmjs.com/package/csv) [![NPM](https://img.shields.io/npm/v/csv)](https://www.npmjs.com/package/csv)\n\nThe `csv` project provides CSV generation, parsing, transformation and serialization\nfor Node.js.\n\nIt has been tested and used by a large community over the years and should be\nconsidered reliable. It provides every option you would expect from an advanced\nCSV parser and stringifier.\n\nThis package exposes 4 packages:\n\n* [`csv-generate`](https://csv.js.org/generate/)\n  ([GitHub](https://github.com/adaltas/node-csv/tree/master/packages/csv-generate)),\n  a flexible generator of CSV string and Javascript objects.\n* [`csv-parse`](https://csv.js.org/parse/)\n  ([GitHub](https://github.com/adaltas/node-csv/tree/master/packages/csv-parse)),\n  a parser converting CSV text into arrays or objects.\n* [`csv-stringify`](https://csv.js.org/stringify/)\n  ([GitHub](https://github.com/adaltas/node-csv/tree/master/packages/csv-stringify)),\n  a stringifier converting records into a CSV text.\n* [`stream-transform`](https://csv.js.org/transform/)\n  ([GitHub](https://github.com/adaltas/node-csv/tree/master/packages/stream-transform)),\n  a transformation framework.\n\n## Documentation\n\nThe full documentation for the current version is available [here](https://csv.js.org).\n\n## Usage\n\nInstallation command is `npm install csv`.\n\nEach package is fully compatible with the Node.js stream 2 and 3 specifications.\nAlso, a simple callback-based API is always provided for convenience.\n\n## Sample\n\nThis example uses the Stream API to create a processing pipeline.\n\n```js\n// Import the package\nimport * as csv from '../lib/index.js';\n\n// Run the pipeline\ncsv\n// Generate 20 records\n  .generate({\n    delimiter: '|',\n    length: 20\n  })\n// Transform CSV data into records\n  .pipe(csv.parse({\n    delimiter: '|'\n  }))\n// Transform each value into uppercase\n  .pipe(csv.transform((record) => {\n    return record.map((value) => {\n      return value.toUpperCase();\n    });\n  }))\n// Convert objects into a stream\n  .pipe(csv.stringify({\n    quoted: true\n  }))\n// Print the CSV stream to stdout\n  .pipe(process.stdout);\n```\n\n## Development\n\nThis parent project doesn't have tests itself but instead delegates the\ntests to its child projects.\n\nRead the documentation of the child projects for additional information.\n\n## Contributors\n\nThe project is sponsored by [Adaltas](https://www.adaltas.com), an Big Data consulting firm based in Paris, France.\n\n*   David Worms: <https://github.com/wdavidw>\n\n## Related projects\n\n*   Pavel Kolesnikov \"ya-csv\": <http://github.com/koles/ya-csv>\n*   Chris Williams \"node-csv\": <http://github.com/voodootikigod/node-csv>\n*   Mat Holt \"PapaParse\": <https://github.com/mholt/PapaParse>\n\n[travis]: https://travis-ci.org/\n[travis-csv-generate]: http://travis-ci.org/adaltas/node-csv-generate\n[travis-csv-parse]: http://travis-ci.org/adaltas/node-csv-parse\n[travis-stream-transform]: http://travis-ci.org/adaltas/node-stream-transform\n[travis-csv-stringify]: http://travis-ci.org/adaltas/node-csv-stringify\n","publish_time":1526546796072,"_cnpm_publish_time":1526546796072,"dist-tags":{"latest":"6.6.4"}}