{"name":"csv","version":"5.5.0","description":"A mature CSV toolset with simple api, full of options and tested against large datasets.","keywords":["node","csv","tsv","parser","parse","stringifier","stringify","transform","stream","generate","generation"],"homepage":"https://csv.js.org/","bugs":{"url":"https://github.com/adaltas/node-csv/issues"},"author":{"name":"David Worms","email":"david@adaltas.com","url":"https://www.adaltas.com"},"contributors":[{"name":"David Worms","email":"david@adaltas.com","url":"https://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.4.0","csv-parse":"^4.15.3","stream-transform":"^2.1.0","csv-stringify":"^5.6.2"},"devDependencies":{"@babel/core":"^7.13.14","@types/mocha":"^8.2.2","@types/node":"^14.14.37","@types/should":"^13.0.0","babelify":"^10.0.0","browserify":"^17.0.0","coffeescript":"~2.5.1","mocha":"~8.3.2","should":"~13.2.3","ts-node":"^9.1.1","typescript":"^4.2.3"},"mocha":{"throw-deprecation":true,"require":["should","coffeescript/register","ts-node/register"],"inline-diffs":true,"timeout":40000,"reporter":"spec","recursive":true},"optionalDependencies":{},"scripts":{"build":"browserify lib/index.js --transform babelify --standalone parse > lib/browser/index.js && browserify lib/sync.js --transform babelify --standalone parse > lib/browser/sync.js","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":"4dc7686c5f98f23aea0596cddb1421777b22c5c1","_id":"csv@5.5.0","_nodeVersion":"14.15.5","_npmVersion":"7.6.3","dist":{"integrity":"sha512-32tcuxdb4HW3zbk8NBcVQb8/7xuJB5sv+q4BuQ6++E/K6JvHvWoCHcGzB5Au95vVikNH4ztE0XNC/Bws950cfA==","shasum":"8ef89e9ac22559064aedf3cbbb912ed4c2aaf9ac","tarball":"http://registry-npm.ywwl.com/csv/download/csv-5.5.0.tgz","fileCount":14,"unpackedSize":698651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgaN2YCRA9TVsSAnZWagAAxEEP/2CXNUX9euoje+HZKehb\nbL7kM8pfY4W798eDsAMHt8QMJ7idLCZ/ESzkC2qAq78NZ15zVgFA5bCYS8m3\nE8jJNizSU/HTu+MciiTw0PtOCjCnFdxXxTwoQCeJ2nmEvHfGW1GQ9V4ZkxoK\nzHdb9hc8UYX99DpzaHDqW3tFYKUnH+37+03eG4xF8QUHeX7/YtuE3SpYlA5a\nMWxFv4MeyKd1RD4gYZDioOysOMyuUIC9se14xDX8EDuVi6rbWrevLQCTx8lH\ni/aVwyg1NvLEXuTQnnoWmNsVKQF6ef7xefAzLIoP4PKGOBDxw8oko6/RAWlp\nqI+duRlaZzQ8Lu9KYyZ/w46/nvavyxI+Qx7yxQegNnWan/HDf7BNes7xvEnU\nWt90x8TmhJCGrJbZGHs/uJA/lU9DReNmaNFtgGy/5TPO6GjkoSxKLnDGTBWy\nU3cxazZ1ChHTAPtv2hFPs7D98MHZpZZQldI/fM4lKxiz9KQJFUaaPv8OsVXU\nwW7dQfpoRvDy4DeIWqYuzluA6TfiyIB40s5TTnmEl0KCyJW/iUGhVlHr9Ogn\nvZoDfi1xDnq12DQVG/Z+45QGJaKLj24zqEUr0uasiDbxtEd0ljxkTFx5tIuM\nCfc/IqNVbbG/QuADanQ4JS/6Vy791fVgGhQdP5lZIP/0DmxihQFC67320l74\niVV2\r\n=xzLt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZz8gQLpPof1HsEg7oWiiGrMhavAZomkHBCDteyWk2XgIhAP+SCI8R0TMKijHXSVkoA3eVIQjP7Z778GhqyiIw1qKz"}],"size":169660,"noattachment":false,"key":"/csv/-/csv-5.5.0.tgz"},"_npmUser":{"name":"david","email":"david@adaltas.com"},"directories":{},"maintainers":[{"name":"david","email":"david@adaltas.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csv_5.5.0_1617485208424_0.7310382459738314"},"_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":1617485208578,"_cnpm_publish_time":1617485208578,"dist-tags":{"latest":"6.6.4"}}