{"_id":"to-csv","_rev":"1760011","name":"to-csv","description":"Convert objects to CSV","dist-tags":{"latest":"0.1.1"},"maintainers":[{"name":"werle","email":"joseph.werle@gmail.com"}],"time":{"modified":"2026-11-23T09:27:42.000Z","created":"2013-08-06T19:57:49.074Z","0.1.1":"2016-01-29T19:45:39.138Z","0.1.0":"2015-04-24T19:35:49.065Z","0.0.3":"2014-09-28T18:07:45.985Z","0.0.2":"2014-06-18T19:31:38.861Z","0.0.1":"2013-08-06T19:57:49.074Z"},"users":{"ggeter":true,"nbarr":true},"author":{"name":"Joseph Werle","email":"joseph.werle@gmail.com"},"repository":{"type":"git","url":"git://github.com/jwerle/to-csv.git"},"versions":{"0.1.1":{"name":"to-csv","version":"0.1.1","description":"Convert objects to CSV","main":"index.js","scripts":{"test":"make test"},"keywords":["csv","object","convert"],"author":{"name":"Joseph Werle","email":"joseph.werle@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/jwerle/to-csv.git"},"bugs":{"url":"https://github.com/jwerle/to-csv/issues"},"gitHead":"a3e333aece6bdf204f13f3ffe0bee097cf7e3f4b","homepage":"https://github.com/jwerle/to-csv#readme","_id":"to-csv@0.1.1","_shasum":"6cb559084f8171eb85c71b149053c293b228c1da","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"werle","email":"joseph.werle@gmail.com"},"dist":{"shasum":"6cb559084f8171eb85c71b149053c293b228c1da","tarball":"http://registry-npm.ywwl.com/to-csv/download/to-csv-0.1.1.tgz","integrity":"sha512-0rBU30wadtK5aROellFd/T4ShWAVrLlwriyRs+1sFmU4ZwtEEHbxHrcEFqZKX57+SqpdYeRIOKGbOf9tv7PPhQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHGW/32Uum2r9ok1Qf/QCqbfmRcGvn9Srht4tCwT/2pGAiEAxcNDuKp+hM5Qqszgyr7LEwZZVMWZPOdTWN2bgJx5Qus="}],"size":2934,"noattachment":false,"key":"/to-csv/-/to-csv-0.1.1.tgz"},"maintainers":[{"name":"werle","email":"joseph.werle@gmail.com"}],"publish_time":1454096739138,"_cnpm_publish_time":1454096739138},"0.1.0":{"name":"to-csv","version":"0.1.0","description":"Convert objects to CSV","main":"index.js","scripts":{"test":"make test"},"keywords":["csv","object","convert"],"author":{"name":"Joseph Werle","email":"joseph.werle@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/jwerle/to-csv.git"},"bugs":{"url":"https://github.com/jwerle/to-csv/issues"},"gitHead":"21e7d7eebb14143e64342b6aec46fc594ce74ac0","homepage":"https://github.com/jwerle/to-csv","_id":"to-csv@0.1.0","_shasum":"5e528196b21de9eed5e34263d4e7f4d376714269","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.11.16","_npmUser":{"name":"werle","email":"joseph.werle@gmail.com"},"dist":{"shasum":"5e528196b21de9eed5e34263d4e7f4d376714269","tarball":"http://registry-npm.ywwl.com/to-csv/download/to-csv-0.1.0.tgz","integrity":"sha512-WLtwcrQfBaZgC7Z2Y5suSdzbyP9sVK3/1OYvL+OTUk+Jq8vGuQEMDtghjx3z7o1v3Nqngi5HcJmBM79SfduwBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC0dQzT1+wgOku/pVeDpeWS8+GhNevgBAHetI7t9VUboAiEA0GFezdxyA/Tn9hwjzpD/p6s1RREhRvhbr05oUth/RtQ="}],"size":2930,"noattachment":false,"key":"/to-csv/-/to-csv-0.1.0.tgz"},"maintainers":[{"name":"werle","email":"joseph.werle@gmail.com"}],"publish_time":1429904149065,"_cnpm_publish_time":1429904149065},"0.0.3":{"name":"to-csv","version":"0.0.3","description":"Convert objects to CSV","main":"index.js","scripts":{"test":"make test"},"keywords":["csv","object","convert"],"author":{"name":"Joseph Werle","email":"joseph.werle@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/jwerle/to-csv.git"},"bugs":{"url":"https://github.com/jwerle/to-csv/issues"},"gitHead":"4724f7c27f36ecef94ffb1eb354ed528dd95d00a","homepage":"https://github.com/jwerle/to-csv","_id":"to-csv@0.0.3","_shasum":"2510e2f430117b4cab284c3818d22ba4943bd4ab","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"werle","email":"joseph.werle@gmail.com"},"maintainers":[{"name":"werle","email":"joseph.werle@gmail.com"}],"dist":{"shasum":"2510e2f430117b4cab284c3818d22ba4943bd4ab","tarball":"http://registry-npm.ywwl.com/to-csv/download/to-csv-0.0.3.tgz","integrity":"sha512-yzr/qQ/b2S0CQ22+gCd3DP6TFnNrQoC7b12BNW6lRh1MuhYAl5N8uQyQcCpHZyfe/fwxO87hSZLU2YrDa/MuQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCHJBHMdcqm4yxP28ZUzOWaD0XyfnOHIn/aJ0t0t4IDgIhAIYFw20BaQB8XnJtm6+xRNnIi8QJfDFybjNcFhmmJf25"}],"size":2909,"noattachment":false,"key":"/to-csv/-/to-csv-0.0.3.tgz"},"publish_time":1411927665985,"_cnpm_publish_time":1411927665985},"0.0.2":{"name":"to-csv","version":"0.0.2","description":"Convert objects to CSV","main":"index.js","scripts":{"test":"make test"},"keywords":["csv","object","convert"],"author":{"name":"Joseph Werle","email":"joseph.werle@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/jwerle/to-csv.git"},"bugs":{"url":"https://github.com/jwerle/to-csv/issues"},"gitHead":"6d869f100abb3c06d8e72cf6e695309e8de56e22","homepage":"https://github.com/jwerle/to-csv","_id":"to-csv@0.0.2","_shasum":"179862d5385416c0437867c85defdb1c1f879822","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"werle","email":"joseph.werle@gmail.com"},"maintainers":[{"name":"werle","email":"joseph.werle@gmail.com"}],"dist":{"shasum":"179862d5385416c0437867c85defdb1c1f879822","tarball":"http://registry-npm.ywwl.com/to-csv/download/to-csv-0.0.2.tgz","integrity":"sha512-vKnnIN4fsRzktvBGLkhpWFbeZICbgNiSsZzU0reRw7SmpIMzMELw/Rzetx0BmbILtZGFqnrATQFSVzhPjx28ZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFoLqvRcX4GUI+1KQa0zW9HWy3Q0HfLmSgWDCJhSHwhCAiEArkfM4b+scUGqLlEOqkm/oMnCDFxvNFvyinL+OYZXwMM="}],"size":2547,"noattachment":false,"key":"/to-csv/-/to-csv-0.0.2.tgz"},"publish_time":1403119898861,"_cnpm_publish_time":1403119898861},"0.0.1":{"name":"to-csv","version":"0.0.1","description":"Convert objects to CSV","main":"index.js","scripts":{"test":"make test"},"keywords":["csv","object","convert"],"author":{"name":"Joseph Werle","email":"joseph.werle@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/jwerle/to-csv.git"},"bugs":{"url":"https://github.com/jwerle/to-csv/issues"},"_id":"to-csv@0.0.1","dist":{"shasum":"74d3959da8c46ca3bf11314b85cd54e923c8e299","tarball":"http://registry-npm.ywwl.com/to-csv/download/to-csv-0.0.1.tgz","integrity":"sha512-7WTAldVZApqnhJU45CfH8mXXmot1EWyrAS2wsnR10ZUDt5qC7rVmp8RHL/FMi8wl9HEC6eCROuak0voyo+aMkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHQjcpnkyN6FdeyzwJLKApRMx/z0S4qBa2tOHzBQlOFQAiEAy7v+nbFkZ79rim6n4tFkQk3qiXsU+qGhWr1H7h27bAU="}],"size":2384,"noattachment":false,"key":"/to-csv/-/to-csv-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"werle","email":"joseph.werle@gmail.com"},"maintainers":[{"name":"werle","email":"joseph.werle@gmail.com"}],"publish_time":1375819069074,"_cnpm_publish_time":1375819069074}},"readme":"to-csv\n=====\n\nConvert objects to CSV format\n\n## install\n\n```sh\n$ component install jwerle/to-csv\n```\n\n## api\n\n### csv(array, opts)\n\nAccepts an array of objects and converts them to CSV format\n\n## example\n\n```js\nvar data = [];\n\nfor (var i = 0; i < 10; ++i) {\n\tdata.push({ \n\t\tid: Math.random().toString(16).slice(2), \n\t\tvalue: data.length % 2 \n\t});\n}\n\nconsole.log(csv(data));\n/**\n \tid,value\n\t22dd67dd,0\n\t8d18327,1\n\tadfcb2bb,0\n\t5424635b,1\n\tf8049525,0\n\t49493c6d,1\n\taf99d0f1,0\n\td9f82d24,1\n\te7f38d52,0\n\t47ef5c67,1\n**/\n```\n\n## License\nMIT\n","_attachments":{},"homepage":"https://github.com/jwerle/to-csv#readme","bugs":{"url":"https://github.com/jwerle/to-csv/issues"},"license":"MIT"}