{"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"}],"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","publish_time":1429904149065,"_cnpm_publish_time":1429904149065,"dist-tags":{"latest":"0.1.1"}}