{"version":"5.4.0","name":"csv-stringify","description":"CSV stringifier implementing the Node.js `stream.Transform` API","keywords":["csv","stringify","stringifier"],"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/adaltas/node-csv-stringify.git"},"homepage":"https://csv.js.org/stringify/","author":{"name":"David Worms","email":"david@adaltas.com","url":"https://www.adaltas.com"},"coffeelintConfig":{"indentation":{"level":"error","value":2},"line_endings":{"level":"error","value":"unix"},"max_line_length":{"level":"ignore"}},"devDependencies":{"@babel/cli":"^7.6.0","@babel/core":"^7.6.0","@babel/preset-env":"^7.6.0","@types/mocha":"^5.2.7","@types/node":"^12.7.5","@types/should":"^13.0.0","coffeescript":"~2.4.1","csv-generate":"~3.2.3","each":"^1.2.1","mocha":"~6.2.0","should":"~13.2.3","ts-node":"^8.4.1","typescript":"^3.6.3"},"optionalDependencies":{},"main":"./lib","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'","build":"cd lib && babel *.js -d es5 && cd ..","pretest":"npm run build","test":"mocha test/**/*.{coffee,ts}"},"types":"./lib/index.d.ts","gitHead":"2397aef4496bc41f3d4ffe70a7b645f6ead5ebab","bugs":{"url":"https://github.com/adaltas/node-csv-stringify/issues"},"dependencies":{},"_id":"csv-stringify@5.4.0","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-ROyLQvoEXZfDAREkulRHR7cfs9fJEBeaOXh91LvhTVZ1ndn30hJbon1vWmv8ykm3OT94ECgTCbeZfFHtsOQPdQ==","shasum":"4921acfec80a94f934c36c3d1bb562669908e050","tarball":"http://registry-npm.ywwl.com/csv-stringify/download/csv-stringify-5.4.0.tgz","fileCount":12,"unpackedSize":71849,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenb3oCRA9TVsSAnZWagAAYzMP/0xQdnOQPGgiYoOi8E2K\n8E6YFYnnqezTg5nZsHhrUZ55yk+6l+RRkldJHvnBfghXZH/zeSDTb6WSxSAh\nztAxKcc5AtTQ7ceDJZRnGH7Jn58LxszlZezRgFDbdId8Y2CS5ydIu20DeMdx\n6bYdMVhLj2sM6nBGkclACS1j1G6tKoQf7GLcvKIl34WPVGH81DestBdeSlei\nIhktixf5pk+Juh7mBv3QnZxl+TZH67CBnV3vvYz09A+JliJLN9qyNflePEX1\nBdvEK2StM/6MdcojrQqBLn+/lldEFaaoV6mXQarURaiSXJXvqHO7FVEnYun8\nIsayeoTzb9eDNulD5HNtaAe4kYrWI3cR65ZgKS7Uk3o62or59Wsj8MjXo1/3\nwtrAMHC5yDlChsba1C2bnDqqc2h56tVnlzF1/PC1awYknqpeGHdEu/Y9qF5n\nxz9oyoQLvIJ8cROQz7DiP0GbH0dqVadr9kFpl6/uewkBZUh6Crz1JgX4ku0H\n1qcEllbh9oQS7nPjcUs9vO8wZ+7eKQa5A93QtWLAsik/1iCpmpv+uMZCgjzy\nfoIIVKR0HF+Ol4HdJlv72+EFwPkGpXB8Jh8lK63JWUHKGm15KqV+jf3X5j10\n3wtrRfijbkhnqNAnAL8Yq9ZWO4/VITdVu5asO0OsP8f1Jt5xtPPaQIjh8huL\nJhlf\r\n=fH88\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGF47h00Ek+2I7ktVJV+0LIyB4DmeZO6EriDNY4x+W+AIgfZHC8qHbiFRU1lxg/ytVcr2rWJztL1ClT8SZ+dKUBPc="}],"size":15946,"noattachment":false,"key":"/csv-stringify/-/csv-stringify-5.4.0.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-stringify_5.4.0_1587396071785_0.4589593258251605"},"_hasShrinkwrap":false,"readme":"\n# CSV stringifier 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-stringify)](https://www.npmjs.com/package/csv-stringify)\n[![NPM](https://img.shields.io/npm/v/csv-stringify)](https://www.npmjs.com/package/csv-stringify)\n\nThe [`csv-stringify` package](https://csv.js.org/stringify/) is a stringifier converting records into a CSV text and\nimplementing the Node.js [`stream.Transform`\nAPI](https://nodejs.org/api/stream.html). It also provides the easier\nsynchronous and callback-based APIs for conveniency. It is both extremely easy\nto use and powerful. It was first released in 2010 and is tested against big\ndata sets by a large community.\n\n## Documentation\n\n* [Project homepage](https://csv.js.org/stringify/)\n* [API](https://csv.js.org/stringify/api/)\n* [Options](https://csv.js.org/stringify/options/)\n* [Examples](https://csv.js.org/stringify/examples/)\n\n## Main features\n\n* Follow the Node.js streaming API\n* Simplicity with the optional callback API\n* Support for custom formatters, delimiters, quotes, escape characters and header\n* Support big datasets\n* Complete test coverage and samples for inspiration\n* Only 1 external dependency\n* to be used conjointly with `csv-generate`, `csv-parse` and `stream-transform`\n* MIT License\n\n## Usage\n\nRun `npm install csv` to install the full CSV module or run `npm install csv-stringify` if you are only interested by the CSV stringifier.\n\nThe module is built on the Node.js Stream API. Use the callback and sync APIs for simplicity or the stream based API for scalability.\n\n## Example\n\nThe [API](https://csv.js.org/stringify/api/) is available in multiple flavors. This example illustrates the sync API.\n\n```js\nimport { stringify } from 'csv-stringify/sync';\nimport assert from 'assert';\n\nconst output = stringify([\n  [ '1', '2', '3', '4' ],\n  [ 'a', 'b', 'c', 'd' ]\n]);\n\nassert.equal(output, '1,2,3,4\\na,b,c,d\\n');\n```\n\n## Development\n\nTests are executed with mocha. To install it, run `npm install` followed by `npm\ntest`. It will install mocha and its dependencies in your project \"node_modules\"\ndirectory and run the test suite. The tests run against the CoffeeScript source\nfiles.\n\nTo generate the JavaScript files, run `npm run build`.\n\nThe test suite is run online with\n[Travis](https://travis-ci.org/#!/adaltas/node-csv-stringify). See the [Travis\ndefinition\nfile](https://github.com/adaltas/node-csv-stringify/blob/master/.travis.yml) to\nview the tested Node.js version.\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[csv_home]: https://github.com/adaltas/node-csv\n[stream_transform]: http://nodejs.org/api/stream.html#stream_class_stream_transform\n[examples]: https://csv.js.org/stringify/examples/\n[csv]: https://github.com/adaltas/node-csv\n","publish_time":1587396071941,"_cnpm_publish_time":1587396071941,"dist-tags":{"latest":"6.9.0"}}