{"name":"csv","version":"6.1.2","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"],"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"}],"dependencies":{"csv-generate":"^4.1.0","csv-parse":"^5.2.0","csv-stringify":"^6.1.2","stream-transform":"^3.1.0"},"devDependencies":{"@rollup/plugin-eslint":"^8.0.2","@rollup/plugin-node-resolve":"^13.3.0","@types/mocha":"^9.1.1","@types/node":"^17.0.35","@types/should":"^13.0.0","coffeescript":"~2.7.0","eslint":"^8.16.0","mocha":"~10.0.0","rollup":"^2.74.1","rollup-plugin-node-builtins":"^2.1.2","rollup-plugin-node-globals":"^1.4.0","should":"~13.2.3","ts-node":"^10.8.0","typescript":"^4.6.4"},"engines":{"node":">= 0.1.90"},"exports":{".":{"import":"./lib/index.js","require":"./dist/cjs/index.cjs"},"./sync":{"import":"./lib/sync.js","require":"./dist/cjs/sync.cjs"},"./browser/esm":"./dist/esm/index.js","./browser/esm/sync":"./dist/esm/sync.js"},"homepage":"https://csv.js.org/","license":"MIT","main":"./dist/cjs/index.cjs","mocha":{"inline-diffs":true,"loader":"./test/loaders/all.js","recursive":true,"reporter":"spec","require":["should"],"throw-deprecation":true,"timeout":40000},"repository":{"type":"git","url":"git+https://github.com/adaltas/node-csv.git","directory":"packages/csv"},"scripts":{"build":"npm run build:rollup && npm run build:ts","build:rollup":"npx rollup -c","build:ts":"cp lib/*.ts dist/cjs && cp lib/*.ts dist/esm","lint":"npm run lint:lib && npm run lint:samples && npm run lint:test","lint:lib":"eslint --fix lib/*.js","lint:samples":"eslint --fix samples/*.js","lint:test":"coffeelint --fix test/*.coffee","preversion":"npm run build && git add dist","pretest":"npm run build","test":"mocha 'test/**/*.{coffee,ts}'","test:legacy":"mocha --loader=./test/loaders/legacy/all.js 'test/**/*.{coffee,ts}'"},"type":"module","types":"dist/esm/index.d.ts","typesVersions":{"*":{".":["dist/esm/index.d.ts"],"sync":["dist/esm/sync.d.ts"],"browser/esm":["dist/esm/index.d.ts"],"browser/esm/sync":["dist/esm/sync.d.ts"]}},"gitHead":"5147e6eb69f270d2c141b2cc14ee04a5c761038e","_id":"csv@6.1.2","_nodeVersion":"16.15.1","_npmVersion":"lerna/4.0.0/node@v16.15.1+x64 (linux)","dist":{"integrity":"sha512-SaG1r+VUc/KsvYHwJn7JC3fAzCIMbBaj6zH0Nj6IFQjNePMfm9HUl55uJ90elP2uRxxmbUy/uN+C2WOj4NOBfA==","shasum":"0e2686643bc2e143179621744040e05fb77f1dc0","tarball":"http://registry-npm.ywwl.com/csv/download/csv-6.1.2.tgz","fileCount":19,"unpackedSize":1851465,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVy1Ewe9lBLfMUNr1jJaMsGDdSuZnoWJlqysjw6tT61QIgXxLC3rdmkHoreFk66mYLhyGHZjvZ1fmYcT6NCRZhOSI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqJ8eACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp1Mw//XxFgNcnfz6JdmcIaDe/Q3lZhb4ymNcR7q8jpUQGHbue/Mn7Y\r\nS1ociDpPWLRjviKoA/+g7u+ePIyCIR3krR3F+nYgybjM0Z3D5OAjXOgU1UHK\r\nFduNoA8wCthZhSjPbl84EjnCfbZKkTBUWyXqFOEBk/qwzlS7ojXa03fvWHDD\r\n1OoXqCWhzdBJ4GciXtF7SBZuGYbB3HuVN++TNXoroYtO2K1TVV38aZ8VDktO\r\nFoMN0KqUo212zxY+bPyBDCESea7/3Y4WQUzAOV7AmwR1+qwIJ4l5YYzBLK5i\r\nq7EtCNcCsAHnZ/ziYIFbobyUxSi8RerxwoRrD0RDzlEc7xstM5bYMwLmr0xU\r\nieXfM5ckejeXGZNA9UQ8qmEe9USCxQQPDQvbYt//RvK87puYSEOcTyMY6VHO\r\n95/HcExi9RxZwRhSt1zU5ZBdodtnjGAx6wqf70MXSUgtJLfTWHwfjlVtIFan\r\nrJfomVitkJHcC6OGwFAmwn6PXFn9nafMU38NdRN3uu5oheVl4RjzxcRliLiA\r\n++VxMvfcmulT62jaJWoiFl8S7Zo7RSi7/6WdfG/87tD59p025CvV2kvyVLYX\r\nSMYfCp0Ib1FlxkBL1qqFuDW+ajLKw8oTLr4m8MXQq4lw8GZ0UbPqBoIN5Gji\r\nh6H1TEhBawMwJVnEdqaAGdUUObejfhoqJDo=\r\n=kidi\r\n-----END PGP SIGNATURE-----\r\n","size":372726,"noattachment":false,"key":"/csv/-/csv-6.1.2.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_6.1.2_1655217949878_0.40141814019067645"},"_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":1655217950139,"_cnpm_publish_time":1655217950139,"dist-tags":{"latest":"6.6.4"}}