{"name":"csv","version":"5.1.2","description":"CSV parser with simple api, full of options and tested against large datasets.","keywords":["node","csv","tsv","parser","parse","stringifier","stringify"],"homepage":"https://csv.js.org/","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":"MIT","engines":{"node":">= 0.1.90"},"main":"./lib","repository":{"type":"git","url":"git+https://github.com/adaltas/node-csv.git"},"coffeelintConfig":{"indentation":{"level":"error","value":2},"line_endings":{"level":"error","value":"unix"},"max_line_length":{"level":"ignore"}},"dependencies":{"csv-generate":"^3.2.3","csv-parse":"^4.4.5","stream-transform":"^2.0.1","csv-stringify":"^5.3.3"},"devDependencies":{"@types/mocha":"^5.2.7","@types/node":"^12.7.1","@types/should":"^13.0.0","coffeescript":"~2.4.1","mocha":"~6.2.0","should":"~13.2.3","ts-node":"^8.3.0","typescript":"^3.5.3"},"optionalDependencies":{},"scripts":{"preversion":"grep '## Trunk' CHANGELOG.md && npm test && cp lib/*.ts lib/es5 && git add lib/es5/*.ts","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'","test":"mocha test/**/*.{coffee,ts}"},"types":"./lib/index.d.ts","gitHead":"614477daaa39bcb0bd2df7482b3b541e7b404836","_id":"csv@5.1.2","_nodeVersion":"12.7.0","_npmVersion":"6.10.1","dist":{"integrity":"sha512-2NA/Fp9FuRAJY6bu5mZsSyBFeqbDZjGg8z1WYETpBpuO30gyWOkxf9KjzBNEZiCsXuNxdQrU3rKrpejyucznMg==","shasum":"6e3c5262dd91a18768552a5e40d531a68cc00f3e","tarball":"http://registry-npm.ywwl.com/csv/download/csv-5.1.2.tgz","fileCount":12,"unpackedSize":10446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTzVmCRA9TVsSAnZWagAACkcP/R0XsNwzJG4JoTfxmd8N\nCy21t29M0WZY9y8O4rDIv9WIhM7UTQ6cKiRNKhMovBUQjL7CcDcZ6xp2pVA5\nPY/q3Ox7WyMtnMigBi+LIdYsSu56NSrkczexSS4kZIOhQEHZWlmHncQPjAdI\nFXc+VhLIyKbL8cASQmbIHcWyxESGjQfUv8GiCuVcuol20do+ht3UTgjmEG2d\nkZhVSpowDYfyLANBUEMxJv6HD1ymD1C6VLawLpMFnbXie5vu9x5ObLL7/8HK\nq9+iai0AX3DTRe99WJH4FD5UQAgxeu+sdmvqF9hApA42AxH3ISRYZxhCRUMN\nz8EU5jz7cIhYWO+H0r7MczF9KDcNP9K5dw6ifHneJ5+dxbZLQ71u0zleGT2/\nDp3lxg63lfKgP6yHOBGyCYCtUKRp28T1tMCK9SFdaEkEDCZkEMpi8fZ0q2vX\n+oUqQROKg6FPS1npMQoW0BXp6H56Vh4z7NYixuiqcwFSs/XyY1ApGBHm71Zc\nD/jIKfq/wkx91IMdXna29/+0KHnCBmP1I4L96dvyQPTnGPDgSwfktpR/2zlM\nKL4tQODNxlc+V/VdUwKLJ5lF2K4+UJ+5a3lMh+KJBc02vgELqINj0QoIBOLs\nJ3EbCoOmZR72wFe4XE5FnextuqL24KYje/3p2jsDiLvxAz8eenMnho8Dkx1M\n0Z+z\r\n=quIx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2ndfjRbN4BgBQ6LOoB1Hql8LKIWgCuhESTspXJOnTtAiEAp8uQeS/ivTFdDUQkSmg8mzfst23qSgaHxgoa8ZFsyHg="}],"size":3688,"noattachment":false,"key":"/csv/-/csv-5.1.2.tgz"},"maintainers":[{"name":"david","email":"david@adaltas.com"}],"_npmUser":{"name":"david","email":"david@adaltas.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csv_5.1.2_1565472102193_0.7607189858456673"},"_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":1565472102330,"_cnpm_publish_time":1565472102330,"dist-tags":{"latest":"6.6.4"}}