{"_id":"cson","_rev":"167-5bb5d6a58a214b21f459732dcb4e058e","name":"cson","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","dist-tags":{"latest":"8.4.0","next":"8.4.0-next.1703862812.379264c2ac0b97044b8ec4d95d965bda9f823898"},"versions":{"0.1.0":{"name":"cson","version":"0.1.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/balupton/cson.npm","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},"maintainers":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/balupton/cson.npm/issues"},"licenses":[{"type":"MIT","url":"http://creativecommons.org/licenses/MIT/"}],"repository":{"type":"git","url":"git://github.com/balupton/cson.npm.git"},"dependencies":{"coffee-script":">=1.1.1"},"engines":{"node":">=0.4.0"},"directories":{"lib":"lib"},"main":"./lib/cson.coffee","_id":"cson@0.1.0","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.7","_nodeVersion":"v0.4.7","_defaultsLoaded":true,"dist":{"shasum":"44b04840cd4537773c3c0e6564bccb0dcb2bf387","tarball":"https://registry.npmjs.org/cson/-/cson-0.1.0.tgz","integrity":"sha512-hPsrSfz7GVPZLUixB4/78mxp46S65W2x8Mln1JN75tAr5eK7jPOn8moCZzvrT1wi34hH4nlAgiJh4ndRv9ijJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcptlArmVyF48KQI83NZmoOZuIdR+/5Jt4GhXCbvx7DAIgbLzniRo09eUnOR3/qRPFNAAVcYbe+SsrcgiJ2pag9I8="}]},"scripts":{}},"0.1.1":{"name":"cson","version":"0.1.1","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/balupton/cson.npm","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},"maintainers":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/balupton/cson.npm/issues"},"licenses":[{"type":"MIT","url":"http://creativecommons.org/licenses/MIT/"}],"repository":{"type":"git","url":"git://github.com/balupton/cson.npm.git"},"dependencies":{"coffee-script":">=1.1.1"},"engines":{"node":">=0.4.0"},"directories":{"lib":"lib"},"main":"./lib/cson.coffee","_npmJsonOpts":{"file":"/Users/balupton/.npm/cson/0.1.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"cson@0.1.1","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.9","_defaultsLoaded":true,"dist":{"shasum":"0e26456a398f88ea04591f7fd8eed6efeabec4a9","tarball":"https://registry.npmjs.org/cson/-/cson-0.1.1.tgz","integrity":"sha512-5vJVzvXnp1wZzWZRPn5zAKeRvqx7ib3RG/EOWRPAvEAicJWNwQZceEtTZV/glpYs/dvqtN4s1F8HPmzLCP9IIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyby0yqv37nLRu7QtwwkX1SG/bK1gWvcrktfiFt6QEwAIhALpd4MhMxdGexbSazjQQEhCgLKjaXZ0qbpqLi51fPTg0"}]},"scripts":{}},"0.2.0":{"name":"cson","version":"0.2.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/balupton/cson.npm","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Nicolae Claudius","email":"nicolae_claudius@yahoo.com","url":"http://clyfe.github.com"}],"bugs":{"url":"https://github.com/balupton/cson.npm/issues"},"licenses":[{"type":"MIT","url":"http://creativecommons.org/licenses/MIT/"}],"repository":{"type":"git","url":"git://github.com/balupton/cson.npm.git"},"dependencies":{"coffee-script":">=1.1.1"},"engines":{"node":">=0.4.0"},"directories":{"lib":"lib"},"main":"./lib/cson.coffee","_npmJsonOpts":{"file":"/Users/balupton/.npm/cson/0.2.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"cson@0.2.0","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.22","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"cefcce04417017e7202e4990a13fc3b84338ed1e","tarball":"https://registry.npmjs.org/cson/-/cson-0.2.0.tgz","integrity":"sha512-KskQ3PtX7R5vC5gqAVPKeeN+1o3ReWfrWcrtFhc/Z5oy3kAa9AsXdQO/jO+uVDYivzcoSgWFeYDW6GPvyM3h+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWjxezOef61wZRzWIOaEkyzMgyDnt4aqRr2dN8yUUt/QIgdD4yL1B5Ndq/P/p/7FlYRFA5FNqDdKxd0V26BtP5/90="}]},"scripts":{}},"1.0.0":{"name":"cson","version":"1.0.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git://github.com/bevry/cson.git"},"engines":{"node":">=0.4.0"},"dependencies":{"coffee-script":"1.3.x","js2coffee":"0.1.x"},"devDependencies":{"mocha":"1.0.x"},"directories":{"lib":"lib"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"scripts":{"test":"node ./node_modules/mocha/bin/mocha"},"main":"./main.js","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"_id":"cson@1.0.0","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"ec29e37842c9ce9b6d1c7ea904b180985503ddd8","tarball":"https://registry.npmjs.org/cson/-/cson-1.0.0.tgz","integrity":"sha512-ngEhBTWeSQ6hlu8thTEM65EN1ecgdkoHcUjGn9r+DbLJKfNG30N6laEUhThVyfBBR20R/MZ/SgspU3zpbhefCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC037CP95oUW4ECjasPYqP+yWFUWC/74OQ6FsG+KW+M0AIhAPNYBihgLgyMota6gF314rUvGRLSKVR7vqFykj8yWHdJ"}]}},"1.0.1":{"name":"cson","version":"1.0.1","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git://github.com/bevry/cson.git"},"engines":{"node":">=0.4.0"},"dependencies":{"coffee-script":"1.3.x","js2coffee":"0.1.x"},"devDependencies":{"mocha":"1.0.x"},"directories":{"lib":"lib"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"scripts":{"test":"node ./node_modules/mocha/bin/mocha"},"main":"./main.js","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"_id":"cson@1.0.1","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"a5539334214b2e4124ce3583ec14d37076dae2ba","tarball":"https://registry.npmjs.org/cson/-/cson-1.0.1.tgz","integrity":"sha512-GZMmCKZ8Xf1rNRQNULC5YnHwPkrtDLivYLd8qE+NBXsatNuaRbQmnJ72AR1muML5WkHE+hidqHuIjstsVmzlDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAVfh84/PDQGc8aU/Hou3tFx1KTtdVr1Onf7W9nvUOaZAiEAvxEUvMKkZfoRLDAmwniK9xI0Bg5h10Qa9iTnNQCenwY="}]}},"1.0.2":{"name":"cson","version":"1.0.2","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git://github.com/bevry/cson.git"},"engines":{"node":">=0.4.0"},"dependencies":{"coffee-script":"1.3.x","js2coffee":"0.1.x"},"devDependencies":{"bal-util":"1.6.x","mocha":"1.0.x"},"directories":{"lib":"lib"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"scripts":{"test":"node ./node_modules/mocha/bin/mocha"},"main":"./main.js","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"_id":"cson@1.0.2","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"9a633772262d89c327a10a7527d488aa5152d444","tarball":"https://registry.npmjs.org/cson/-/cson-1.0.2.tgz","integrity":"sha512-JtLsbS7YvykwfewNQ7wZhHmtAcECgx2IMrjxIjnY6K0JlB5lzpgzH124JuNEVhkYivOlwZbBJVtrsHpVkDlylw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxGMt2fy335SAFjdW/dZx8tPaBVPTfLkGVsSZz5igdigIgIe85bTTrlm7B6DuXBl/0jKdZ5aFQq2jvvOIjFDZf+hI="}]}},"1.1.0":{"name":"cson","version":"1.1.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.4.0"},"dependencies":{"coffee-script":"1.3.x","js2coffee":"0.1.x"},"devDependencies":{"joe":"1.0.x","bal-util":"1.8.x"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/everything.test.js --joe-reporter=list"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/balutil","_id":"cson@1.1.0","dist":{"shasum":"684b6bf85fe3c339548647421fc2f87a8675b0f9","tarball":"https://registry.npmjs.org/cson/-/cson-1.1.0.tgz","integrity":"sha512-PbH26OWgpMP0YuR5JDtLgEXYv6QgTVUCLFZ4Id6Xrgpm+V2HVQqhBOJf+MVt7iD9iUGy3BSnJXNjzQjefv6DcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYIR9oDIKUcC+aGQrZ5gZ7e3B17wO9MRuJmIKmnH40ygIgKVLYcaj9SDabXPijghAYBZV+lEshZVsCpUO1zNtR9+0="}]}},"1.1.1":{"name":"cson","version":"1.1.1","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.4.0"},"dependencies":{"coffee-script":"1.3.x","js2coffee":"0.1.x"},"devDependencies":{"joe":"1.0.x"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/everything.test.js --joe-reporter=list"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","_id":"cson@1.1.1","dist":{"shasum":"7eee9789177c8551b08f71ef1e44918fa79671f0","tarball":"https://registry.npmjs.org/cson/-/cson-1.1.1.tgz","integrity":"sha512-ydc80Ne07zVTFN+NthPiuERPGM363c/IANCvLLFwDHECJ7/YZ8OT17CXBOWxyvVmYRSyg7vUlCafyzKh/CaXlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHhtXRL4hocogss5kxBJweFL9+lpWsUa9M4uckaJbfyjAiEAodGtMUl9dNkuklkSVkMSfFnr5miGuCMNqZc4q8X1T0w="}]}},"1.1.2":{"name":"cson","version":"1.1.2","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.4.0"},"dependencies":{"coffee-script":"1.3.x","js2coffee":"0.1.x"},"devDependencies":{"joe":"1.0.x"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/everything.test.js --joe-reporter=list"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","_id":"cson@1.1.2","dist":{"shasum":"2b5b8a692edd1763b6168434ad8b82c1fcfcd63e","tarball":"https://registry.npmjs.org/cson/-/cson-1.1.2.tgz","integrity":"sha512-3ihJbywHKoQH7etlqbtXpCcUXIbZggC83HTxaBH6N6EDqk7qukBl8FfpxZ9AhOakWJPR71ZGc2SnYePWNKbzbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAwazFpAmyaDrDCz/4SyDxNJxK7XBv49kQrVuC3Xo8f3AiBCTGYoOEesIa5P+MHT9iFeE84RU1gf2sB+qy9B6i2/YA=="}]}},"1.2.0":{"name":"cson","version":"1.2.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.4.0"},"dependencies":{"coffee-script":"1.3.x","js2coffee":"0.1.x"},"devDependencies":{"joe":"1.0.x"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/everything.test.js --joe-reporter=list"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","_id":"cson@1.2.0","dist":{"shasum":"79b6f8dbb15cdf6c9e049416e443ab39aaca5679","tarball":"https://registry.npmjs.org/cson/-/cson-1.2.0.tgz","integrity":"sha512-V2EBo86V9bH7HCPKBCGCmkTsWjCP6Ow8/XoFBlC9E59txOvO1sApDaQ3nVVc3xi/H70pGvFQz/WJaDHgUUZI7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEssJjGaDOtEGF6Pb9kOViz9xQV0zGoJwMpS3Jsrxed/AiEAuXxf44E8qB+ZswLJ7xsu56pozPydK6e4aIYk+02uj6I="}]}},"1.2.1":{"name":"cson","version":"1.2.1","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.4.0"},"dependencies":{"coffee-script":"1.3.x","js2coffee":"0.1.x"},"devDependencies":{"joe":"1.0.x"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/everything.test.js --joe-reporter=list"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","_id":"cson@1.2.1","dist":{"shasum":"9b8f2ca12644c7cb629147ee2fdd9d29752bde3a","tarball":"https://registry.npmjs.org/cson/-/cson-1.2.1.tgz","integrity":"sha512-6IynYRktcwrM/7ew8B01FivkFJYl+5yb3m0TJOJD/iHKl9myufUqtktaNFPph3nO0AP2/z4mZYP7qmYnuEmOFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDZU92iEQzAI17L7V54HzDhmKPP4wkIMRls+iNeq3YVkAiEA7ttbwlwJjecuNlw8BEG3sV7l7PVafK3kLq+FwQKyYyE="}]}},"1.2.2":{"name":"cson","version":"1.2.2","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.4.0"},"dependencies":{"coffee-script":"1.3.x","js2coffee":"0.1.x"},"devDependencies":{"joe":"1.0.x"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/everything.test.js --joe-reporter=list"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","_id":"cson@1.2.2","dist":{"shasum":"9cdbc3209cedc443a3e671269f1d166725bac20d","tarball":"https://registry.npmjs.org/cson/-/cson-1.2.2.tgz","integrity":"sha512-s5eBjH0KjMkSmvler1UD8HUWy1/JzjPMtbhPwsi9HaOaVJ+msxX2oVlhxmlF0JN5lXWBEqAs3jKwJnp2JGyGLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAJzoRQ7CEAeGmjBjfZi7sf1Uj9eXMLvRAuMlchBkRhhAiBMIWVq7OK97LbCspv0Ae70s7PlXk3kA9lL+t2Fz1Vmvg=="}]}},"1.2.3":{"name":"cson","version":"1.2.3","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zhang Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.4.0"},"dependencies":{"coffee-script":"1.3.x","js2coffee":"0.1.x"},"devDependencies":{"joe":"1.0.x"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/everything.test.js --joe-reporter=list"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","_id":"cson@1.2.3","dist":{"shasum":"20462286cd0a2b8b510801837f19c5d0b7caffe9","tarball":"https://registry.npmjs.org/cson/-/cson-1.2.3.tgz","integrity":"sha512-b2I6/k1NzZG/e/uPjcS8lZHJNtakakJiTAFDTBDVUnV+P0/XBuwgja00ZnawmzqxulxBGC7cEXRxjcrevEERHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhdX6Fbiqx9Sc04tWE3BE9DVMjhHshnck7TwdQoFgRcgIgemDdPb5bqKSIErXc5/nVD/5wIIXoZiAIthANAZBnR6c="}]}},"1.3.0":{"name":"cson","version":"1.3.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Linus G Thiel","email":"inus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Zhang Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.6.0"},"dependencies":{"coffee-script":"1.3.x","js2coffee":"0.1.x"},"devDependencies":{"joe":"1.0.x"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/everything.test.js --joe-reporter=list"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","_id":"cson@1.3.0","dist":{"shasum":"377dcaab89a934d5a58e4a78f190a20ddc2283e1","tarball":"https://registry.npmjs.org/cson/-/cson-1.3.0.tgz","integrity":"sha512-XyHbWV+GPCZdnNlcnsp/eR+/qCZpwiG1DOq5zZ+ABAuj9Ajnplzhym/FWYofPHKuBGOsr0zV7T4M09a2vy7Sew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNH/7Ea9zJi9W0uYBgrQE0cts80Zjonz6P5VfraIM1WwIgHd9voxIg1edG4hMKW24aS4nIGtmVmKFOWbSSfQ/FRdQ="}]}},"1.4.0":{"name":"cson","version":"1.4.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Zhang Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.6.0"},"dependencies":{"coffee-script":"1.4.x","js2coffee":"0.1.x"},"devDependencies":{"joe":"1.0.x"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/everything.test.js --joe-reporter=list"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","_id":"cson@1.4.0","dist":{"shasum":"8026407f8b04f941df88c9b4d52a9348e1759b69","tarball":"https://registry.npmjs.org/cson/-/cson-1.4.0.tgz","integrity":"sha512-PtnmOJ86YBJJLB+Oe/Oi+AnGXT3HF4ZPDl5SvNk2CXgJ5+KwEdbDbh1Fq4HRpj/b+TLFFArErsSqL1Un4BWccQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDBRoyQzUzieVGapvsERQCOSseS9sd3DE0ffRkNaisz9AiAGve1dY5IxTMBydWuvLUH1OUxdnMQ5fAQ2hV3vgBb/jg=="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"balupton","email":"b@lupton.cc"}},"1.4.1":{"name":"cson","version":"1.4.1","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Zhang Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Nicolae Claudius","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Joel Perras","email":"joel.perras@gmail.com","url":"https://github.com/jperras"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.6.0"},"dependencies":{"coffee-script":"~1.6.1","js2coffee":"~0.1.3"},"devDependencies":{"joe":"~1.1.1"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/everything.test.js --joe-reporter=list"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","_id":"cson@1.4.1","dist":{"shasum":"c2019faa4a9905ad85e938b2c3758a5aa76a3dff","tarball":"https://registry.npmjs.org/cson/-/cson-1.4.1.tgz","integrity":"sha512-BzQD7yQC+qmKvj9RbhNSYhXarBu7FJxbtT0/rmjtYJe1zbtK85PLdHjp/20XmrEFJPvZG30XKK4yXsImUYE5ew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAWT2GKduHi+nk4NiwjkxeN1FSTBUl8d/XJ34aAjtOvaAiEA/UX3zrgcx4go6ALCpfaa/aUq5zMasRX1BzwvdoqlX2M="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"balupton","email":"b@lupton.cc"}},"1.4.2":{"name":"cson","version":"1.4.2","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Zhang Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Nicolae Claudius","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Joel Perras","email":"joel.perras@gmail.com","url":"https://github.com/jperras"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.6.0"},"dependencies":{"coffee-script":"~1.6.3","js2coffee":"~0.1.4"},"devDependencies":{"chai":"~1.6.1","joe":"~1.2.0","joe-reporter-console":"~1.2.1"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/everything.test.js"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","_id":"cson@1.4.2","dist":{"shasum":"baf5d549ccd7cef1ba11e6931639cf6091b340b1","tarball":"https://registry.npmjs.org/cson/-/cson-1.4.2.tgz","integrity":"sha512-AzvkOonf3DEtwKBlkdhFw6zprN0nHIENMIl5OnyaAna9zJzKc5GRp72+qdN0Wd5UeHmpiTJFcztcQa7alNGYsw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDE59ratb64GVrvS6CylX3v6Djmt6JiltZpo4keGsJcxgIhAPswQo3r/5hKF+8C9Y1ICWecGCLjZ4kgtTAXNmx5mjrS"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"balupton","email":"b@lupton.cc"}},"1.4.3":{"name":"cson","version":"1.4.3","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Zhang Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Nicolae Claudius","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Joel Perras","email":"joel.perras@gmail.com","url":"https://github.com/jperras"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.8.0"},"dependencies":{"coffee-script":"~1.6.3","js2coffee":"~0.1.4","extract-opts":"~2.2.0","requirefresh":"~1.1.1"},"devDependencies":{"chai":"~1.7.2","joe":"~1.3.0","joe-reporter-console":"~1.2.1"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/everything.test.js"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","_id":"cson@1.4.3","dist":{"shasum":"6f674af9b3e034bec7de6231313c2adee6cfa6da","tarball":"https://registry.npmjs.org/cson/-/cson-1.4.3.tgz","integrity":"sha512-+3wpsw+k3277PF+izBThdO1Lio7Xnc4YL+bBPKDFcLHDIn5xLvVxkHnpgA4FJxawcQ6dkzribQj7Ro3iP8B9ww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCz24vWUHFe7DMDtSZIDCCMe0sITZ98942/ZnXJ/l7ttwIhAIBZe1wrBWKATZhXiyWeseO6vxQQJb5XfpHunhfqDDPe"}]},"_from":".","_npmVersion":"1.3.9","_npmUser":{"name":"balupton","email":"b@lupton.cc"}},"1.4.4":{"name":"cson","version":"1.4.4","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Zhang Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Nicolae Claudius","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Joel Perras","email":"joel.perras@gmail.com","url":"https://github.com/jperras"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.8.0"},"dependencies":{"coffee-script":"~1.6.3","js2coffee":"~0.1.4","extract-opts":"~2.2.0","requirefresh":"~1.1.2"},"devDependencies":{"chai":"~1.7.2","joe":"~1.3.0","joe-reporter-console":"~1.2.1"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/everything.test.js"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","_id":"cson@1.4.4","dist":{"shasum":"6243789c46a9e27702c6a23748443499a52c28af","tarball":"https://registry.npmjs.org/cson/-/cson-1.4.4.tgz","integrity":"sha512-Is/Pg6TcVj4xIMW89RdKWizsUhKsOyd//aTRt/xaGomAJUJdoveX9q8vm89mOJOdlnqGGAZsI5dwCDIWQhb12Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkbfqIbml8rQUdXhnzwvM624k6+/Pja7gsl7pCcWgBvAIgH0NMGFxcTyBBzvFJWbX/mgOSVIh2oI8U/MlSOjnztgg="}]},"_from":".","_npmVersion":"1.3.9","_npmUser":{"name":"balupton","email":"b@lupton.cc"}},"1.4.5":{"title":"CSON","name":"cson","version":"1.4.5","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","license":{"type":"MIT"},"badges":{"travis":true,"npm":true,"gittip":"bevry","flattr":"344188/balupton-on-Flattr","paypal":"QB8GQPZAH84N6"},"keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Joel Perras","email":"joel.perras@gmail.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Nicolae Claudius","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Zhang Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.8.0"},"dependencies":{"coffee-script":"~1.6.3","js2coffee":"~0.2.3","extract-opts":"~2.2.0","requirefresh":"~1.1.2"},"devDependencies":{"chai":"~1.8.1","joe":"~1.3.0","joe-reporter-console":"~1.2.1","projectz":"~0.2.5"},"directories":{"lib":"./out/lib"},"scripts":{"preinstall":"node ./cyclic.js","test":"node ./out/test/cson-test.js"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","_id":"cson@1.4.5","dist":{"shasum":"25f99ffd579846186d7f2fde8ad46db924eaf6bf","tarball":"https://registry.npmjs.org/cson/-/cson-1.4.5.tgz","integrity":"sha512-zq19rt9wDEHVsu1kiYLhvOxwyHWvdShH9WFY7bXDd7rJK3K5Y6GQKHgYQA0NlH0SJEuAQwY5Af6uk2SkYDrmJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaiWdhxkD1uHQr9hhaMQR9AFwqVhQtFzjsH1OU9BelJQIhAMK9UDZc6HXv577RUMC7XaBkdfF9SaaaafojcYaxrFI2"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"balupton","email":"b@lupton.cc"}},"1.6.0":{"title":"CSON","name":"cson","version":"1.6.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects","homepage":"https://github.com/bevry/cson","license":{"type":"MIT"},"badges":{"travis":true,"npm":true,"david":true,"daviddev":true,"gittip":"bevry","flattr":"344188/balupton-on-Flattr","paypal":"QB8GQPZAH84N6","bitcoin":"https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a","wishlist":"http://amzn.com/w/2F8TXKSNAFG4V"},"keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"attilaolah","url":"https://github.com/attilaolah"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"jasonkarns","url":"https://github.com/jasonkarns"},{"name":"Joel Perras","email":"joel.perras@gmail.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Nicolae Claudius","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"RobLoach","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Zhang Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.8.0"},"dependencies":{"ambi":"^2.2.0","coffee-script":"~1.7.1","extract-opts":"~2.2.0","js2coffee":"~0.3.0","requirefresh":"~1.1.2"},"devDependencies":{"chai":"~1.9.0","joe":"~1.3.0","joe-reporter-console":"~1.2.1","projectz":"~0.3.10"},"directories":{"lib":"./out/lib"},"scripts":{"preinstall":"node ./cyclic.js","test":"node ./out/test/cson-test.js"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","cakeConfiguration":{"COFFEE_SRC_PATH":"src"},"_id":"cson@1.6.0","_shasum":"e8f68fdbeb196e68b3b0f81d65cdf174038f5c77","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"dist":{"shasum":"e8f68fdbeb196e68b3b0f81d65cdf174038f5c77","tarball":"https://registry.npmjs.org/cson/-/cson-1.6.0.tgz","integrity":"sha512-xEfpNWHpPqEWjh0p8+kPPa8z3npozwFD2xLsg0lCM6zS8vV7cnGtxDdSRNDSe2KhD1siuKtVg2gzMZkAfx+BXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLxO/K6vaKXyPDub0s0w3acRDwzIUG+UP4+1lDhYO+9AIgQ5uJRWOZZDUzNjdN4set5GH3C3YPRoQtDiGxoHMJrMY="}]}},"1.6.1":{"title":"CSON","name":"cson","version":"1.6.1","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":{"type":"MIT"},"badges":{"travis":true,"npm":true,"david":true,"daviddev":true,"gittip":"bevry","flattr":"344188/balupton-on-Flattr","paypal":"QB8GQPZAH84N6","bitcoin":"https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a","wishlist":"http://amzn.com/w/2F8TXKSNAFG4V"},"keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"attilaolah","url":"https://github.com/attilaolah"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"jasonkarns","url":"https://github.com/jasonkarns"},{"name":"Joel Perras","email":"joel.perras@gmail.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Nicolae Claudius","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"RobLoach","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"Zhang Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.8.0"},"dependencies":{"ambi":"^2.2.0","coffee-script":"~1.7.1","extract-opts":"~2.2.0","js2coffee":"~0.3.1","requirefresh":"~1.1.2"},"devDependencies":{"chai":"~1.9.0","joe":"~1.5.0","joe-reporter-console":"~1.2.1","projectz":"~0.3.15"},"directories":{"lib":"./out/lib"},"scripts":{"preinstall":"node ./cyclic.js","test":"node ./out/test/cson-test.js"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","cakeConfiguration":{"COFFEE_SRC_PATH":"src"},"gitHead":"4a46a72269fe43f746335a68cc736b1296dc7798","_id":"cson@1.6.1","_shasum":"f9c172cb40bf668855b578d94a08d70517a682eb","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"dist":{"shasum":"f9c172cb40bf668855b578d94a08d70517a682eb","tarball":"https://registry.npmjs.org/cson/-/cson-1.6.1.tgz","integrity":"sha512-q9xz58mQmSvzjnq3XoYpUC4384XB3YM5pB7wx0fi1DqWJa3ZWdpKPzgKy6ZYaQQkZWTknphQKpgN68QhGavd+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZDYGs9VwCDBHwDzT9pusk3hWZfiHZBCvU5U4nOfCDwQIgSb9P1ti7YJyt1QDfO9Z/1Mkf8CAWW8xvTzc+Qu28fHk="}]}},"1.6.2":{"title":"CSON","name":"cson","version":"1.6.2","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":{"type":"MIT"},"badges":{"travis":true,"npm":true,"npmdownloads":true,"david":true,"daviddev":true,"gittip":"bevry","flattr":"344188/balupton-on-Flattr","paypal":"QB8GQPZAH84N6","bitcoin":"https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a","wishlist":"http://amzn.com/w/2F8TXKSNAFG4V"},"keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"attilaolah","url":"https://github.com/attilaolah"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"jasonkarns","url":"https://github.com/jasonkarns"},{"name":"Joel Perras","email":"joel.perras@gmail.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Nicolae Claudius","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"RobLoach","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"Zhang Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.8.0"},"dependencies":{"ambi":"^2.2.0","coffee-script":"~1.8.0","extract-opts":"~2.2.0","js2coffee":"~0.3.5","requirefresh":"~1.1.2"},"devDependencies":{"chai":"~1.10.0","joe":"~1.5.0","joe-reporter-console":"~1.2.1","projectz":"~0.3.17"},"directories":{"lib":"./out/lib"},"scripts":{"preinstall":"node ./cyclic.js","test":"node ./out/test/cson-test.js"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","cakeConfiguration":{"COFFEE_SRC_PATH":"src"},"gitHead":"84366aadbabfe21f5195d2d6f7a2189c7406d12b","_id":"cson@1.6.2","_shasum":"fae7b13da1ceb077de2afdba8630c6790325f459","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.33","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"dist":{"shasum":"fae7b13da1ceb077de2afdba8630c6790325f459","tarball":"https://registry.npmjs.org/cson/-/cson-1.6.2.tgz","integrity":"sha512-x+I/7eXjVBSEaLVWSc3JLuSYdyVE17qYuRy0IejfMzkwMCaShZhbwRoyWUKwyNAouDoaZNZF04gnt54u/Q8Vpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGoEoJ6NSnCLGDIYDmraU0jeofOwDnqhnKXMUBbblHBsAiEA48n5hWiB9HMxOAXRK79bau9X++GH2D2CbJQFFItFqcI="}]}},"2.0.0":{"title":"CSON","name":"cson","version":"2.0.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":{"type":"MIT"},"badges":{"travis":true,"npm":true,"npmdownloads":true,"david":true,"daviddev":true,"gratipay":"bevry","flattr":"344188/balupton-on-Flattr","paypal":"QB8GQPZAH84N6","bitcoin":"https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a","wishlist":"http://amzn.com/w/2F8TXKSNAFG4V"},"keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"attilaolah","url":"https://github.com/attilaolah"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"jasonkarns","url":"https://github.com/jasonkarns"},{"name":"Joel Perras","email":"joel.perras@gmail.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"nanuclickity","url":"https://github.com/nanuclickity"},{"name":"Nicolae Claudius","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"RobLoach","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"Zhang Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.8.0"},"dependencies":{"coffee-script":"~1.9.0","cson-parser":"^1.0.6","requirefresh":"^1.1.2","safefs":"^3.1.2"},"devDependencies":{"biscotto":"^2.3.1","chai":"~1.10.0","joe":"~1.6.0","joe-reporter-console":"~1.2.1","projectz":"^0.3.17","safeps":"^2.2.12"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/cson-test.js"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","cakeConfiguration":{"COFFEE_SRC_PATH":"src","BISCOTTO_SRC_PATH":"src"},"gitHead":"a05758738c0a9b436e4d1332598d3603f505e664","_id":"cson@2.0.0","_shasum":"783b5571860bcb419be3326c6232d2d491a1c84a","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.35","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"dist":{"shasum":"783b5571860bcb419be3326c6232d2d491a1c84a","tarball":"https://registry.npmjs.org/cson/-/cson-2.0.0.tgz","integrity":"sha512-sfEm7WJbasU6Xt5tTbXtWiLOvhmTYQZDDVwiD+453wmBee8mGu8x0ZP3H+SzFy72KbtsaDZPSCRUZ2FJ3KG6YA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHCzAwg8c/WgzOmXUqgmRXZRNCT9HfyyRMMQOoVmKhYVAiEA4xT/Oyyrt+U+ThrkswNtsXLtuHBSxzJK8nxC/ee6xg0="}]}},"3.0.0":{"title":"CSON","name":"cson","version":"3.0.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":{"type":"MIT"},"badges":{"travis":true,"npm":true,"npmdownloads":true,"david":true,"daviddev":true,"gratipay":"bevry","flattr":"344188/balupton-on-Flattr","paypal":"QB8GQPZAH84N6","bitcoin":"https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a","wishlist":"http://amzn.com/w/2F8TXKSNAFG4V"},"keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"attilaolah","url":"https://github.com/attilaolah"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"jasonkarns","url":"https://github.com/jasonkarns"},{"name":"Joel Perras","email":"joel.perras@gmail.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"nanuclickity","url":"https://github.com/nanuclickity"},{"name":"Nicolae Claudius","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"RobLoach","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"Zhang Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.8.0"},"dependencies":{"coffee-script":"~1.9.0","cson-parser":"^1.0.6","extract-opts":"^3.0.1","requirefresh":"^2.0.0","safefs":"^3.1.2"},"devDependencies":{"biscotto":"^2.3.1","assert-helpers":"^1.0.1","joe":"^1.6.0","joe-reporter-console":"^1.2.1","projectz":"^0.5.0","safeps":"^2.2.12"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/cson-test.js"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","cakeConfiguration":{"COFFEE_SRC_PATH":"src","BISCOTTO_SRC_PATH":"src"},"gitHead":"3c4858a9203c3034bafb62f736aa4836baf8dbda","_id":"cson@3.0.0","_shasum":"ab3747066975a0140b06db1b5366a4bdba18c982","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"dist":{"shasum":"ab3747066975a0140b06db1b5366a4bdba18c982","tarball":"https://registry.npmjs.org/cson/-/cson-3.0.0.tgz","integrity":"sha512-WYAr7AUaIV0GBZTfFPRVEY2cEtlce+iUi8FAAAc1t+nEUM3FKQhmvgbhnJhB9LDsTxPyEgaKpnawkrX2oScUaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBbDrZhXrE5VAyCmt7qEqO1lu5i0Tm900+YPv7olcbSXAiEAlyBolZqwNo17uHbh91qxZ6Y+5kRzsHP9w62uEhMHPnk="}]}},"3.0.1":{"title":"CSON","name":"cson","version":"3.0.1","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":{"type":"MIT"},"badges":{"travis":true,"npm":true,"npmdownloads":true,"david":true,"daviddev":true,"gratipay":"bevry","flattr":"344188/balupton-on-Flattr","paypal":"QB8GQPZAH84N6","bitcoin":"https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a","wishlist":"http://amzn.com/w/2F8TXKSNAFG4V"},"keywords":["javascript","coffeescript","json","cson","parse","stringify"],"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"attilaolah","url":"https://github.com/attilaolah"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"jasonkarns","url":"https://github.com/jasonkarns"},{"name":"Joel Perras","email":"joel.perras@gmail.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"nanuclickity","url":"https://github.com/nanuclickity"},{"name":"Nicolae Claudius","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"RobLoach","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"Zhang Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"http://github.com/bevry/cson.git"},"engines":{"node":">=0.8.0"},"dependencies":{"coffee-script":"~1.9.0","cson-parser":"^1.0.6","extract-opts":"^3.0.1","requirefresh":"^2.0.0","safefs":"^3.1.2"},"devDependencies":{"biscotto":"^2.3.1","assert-helpers":"^1.0.1","joe":"^1.6.0","joe-reporter-console":"^1.2.1","projectz":"^0.5.0","safeps":"^2.2.12"},"directories":{"lib":"./out/lib"},"scripts":{"test":"node ./out/test/cson-test.js"},"bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"main":"./out/lib/cson","cakeConfiguration":{"COFFEE_SRC_PATH":"src","BISCOTTO_SRC_PATH":"src"},"gitHead":"cd136d1e24deebceb429784802d695940afb8417","_id":"cson@3.0.1","_shasum":"ed3c0947a12cbe536eb51587a24c324e62f8bd23","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"dist":{"shasum":"ed3c0947a12cbe536eb51587a24c324e62f8bd23","tarball":"https://registry.npmjs.org/cson/-/cson-3.0.1.tgz","integrity":"sha512-L3BsdjO+GPbDP6OfrMYIaaDkWkfLL+9G41y5vf01MTsGWPH9C/ZZEmnBRvLGfOvkTDKYok6VhdZKd2gStZvXvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH3OSlbQ7ThWFbSfb9kpeIPYBymP+ZgIIqPeBTT7leHfAiBA/ZcAwxDwf51aQij5kyLa046ecs5mLLHJDEIyG+uXPg=="}]}},"3.0.2":{"title":"CSON","name":"cson","version":"3.0.2","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","slackin","patreon","gratipay","flattr","paypal","bitcoin","wishlist"],"config":{"patreonUsername":"bevry","gratipayUsername":"bevry","flattrCode":"344188/balupton-on-Flattr","paypalButtonID":"QB8GQPZAH84N6","bitcoinURL":"https://bevry.me/bitcoin","wishlistURL":"https://bevry.me/wishlist","slackinURL":"https://slack.bevry.me"}},"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attila@attilaolah.eu","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason@karns.name","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"nanu.clickity@gmail.com","url":"https://github.com/nanuclickity"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/bevry/cson.git"},"engines":{"node":">=0.8"},"dependencies":{"coffee-script":"^1.9.0","cson-parser":"^1.0.6","extract-opts":"^3.0.1","requirefresh":"^2.0.0","safefs":"^4.0.0"},"devDependencies":{"biscotto":"^2.3.1","assert-helpers":"^3.0.0","joe":"^1.6.0","joe-reporter-console":"^1.2.1","projectz":"^1.0.2","safeps":"^6.0.0"},"main":"./out/lib/cson","bin":{"cson2json":"./bin/cson2json","json2cson":"./bin/json2cson"},"scripts":{"clean":"node --harmony nakefile.js clean","setup":"node --harmony nakefile.js setup","compile":"node --harmony nakefile.js compile","watch":"node --harmony nakefile.js watch","verify":"node --harmony nakefile.js verify","meta":"node --harmony nakefile.js meta","prepare":"node --harmony nakefile.js prepare","release":"node --harmony nakefile.js release","test":"node --harmony ./out/test/cson-test.js"},"nakeConfiguration":{"COFFEE_SRC_PATH":"src","BISCOTTO_SRC_PATH":"src"},"gitHead":"fab30c3765cd954471e55ac8c111648d97b32f01","_id":"cson@3.0.2","_shasum":"83ee9089db3c254bec1e98e498d9aacf11adcc54","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.1.0","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"dist":{"shasum":"83ee9089db3c254bec1e98e498d9aacf11adcc54","tarball":"https://registry.npmjs.org/cson/-/cson-3.0.2.tgz","integrity":"sha512-JTg89w7KZLvXCEzsp92qlCYOqQxxKkh6MF9apOb7onr0dvRkSCHuLlzq8E81xFZO2JI034+87kQXkxgZjHW6Ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvUNmijA4WfuQ3abFWEmISiEJ7KGWIPNSTkL/uYKKhhQIhAKbYW4gbpunrwpEjRUY7totDmsfQfEPoJbqrStaQIst3"}]},"directories":{}},"4.0.0":{"title":"CSON","name":"cson","version":"4.0.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","slackin","patreon","gratipay","flattr","paypal","bitcoin","wishlist"],"config":{"patreonUsername":"bevry","gratipayUsername":"bevry","flattrUsername":"balupton","paypalURL":"https://bevry.me/paypal","bitcoinURL":"https://bevry.me/bitcoin","wishlistURL":"https://bevry.me/wishlist","slackinURL":"https://slack.bevry.me"}},"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason@karns.name","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"nanu.clickity@gmail.com","url":"https://github.com/nanuclickity"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/bevry/cson.git"},"engines":{"node":">=0.8"},"main":"es5/index.js","bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"scripts":{"setup":"npm install","clean":"rm -Rf ./docs ./es5","compile":"npm run compile:coffeescript","compile:coffeescript":"coffee -bco ./es5 ./src","meta":"npm run meta:projectz","meta:projectz":"projectz compile","prepare":"npm run compile && npm run test && npm run meta","release":"npm run prepare && npm run release:publish && npm run release:tag && npm run release:push","release:publish":"npm publish","release:tag":"git tag v$npm_package_version -a","release:push":"git push origin master && git push origin --tags","pretest":"npm run test:coffeelint","test:coffeelint":"coffeelint ./src"},"dependencies":{"coffee-script":"^1.11.1","cson-parser":"^1.3.4","extract-opts":"^3.3.1","requirefresh":"^2.1.0","safefs":"^4.1.0"},"devDependencies":{"assert-helpers":"^4.4.0","biscotto":"^2.3.1","coffeelint":"^1.16.0","joe":"^1.8.0","joe-reporter-console":"^1.2.1","projectz":"^1.3.0","safeps":"^6.3.0"},"gitHead":"0443cdfdfe7d76def631c95977ee17cdc093b062","_id":"cson@4.0.0","_shasum":"61fe6d6e2e5653f6be5013dede74afe462586a52","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"dist":{"shasum":"61fe6d6e2e5653f6be5013dede74afe462586a52","tarball":"https://registry.npmjs.org/cson/-/cson-4.0.0.tgz","integrity":"sha512-k9gbvpOKUyceFoZEoSdpsqXOt1+zv0PPlRY6GPGrb6z4/gpgOI4gi0podgEEPojdjkdAx+bvyMGGKTI2MHz1YA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE2vZKaPWUQlAsD7Y/gmjvc3CUUpFhB2H0vE20eH6YP1AiBZcCziuh13B5Mvwex+6zPgJ/by93YkLyZxF1Ito6y3ww=="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/cson-4.0.0.tgz_1476960683768_0.532851473428309"},"directories":{}},"4.1.0":{"title":"CSON","name":"cson","version":"4.1.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","opencollective","gratipay","flattr","paypal","bitcoin","wishlist","---","slackin"],"config":{"patreonUsername":"bevry","opencollectiveUsername":"bevry","gratipayUsername":"bevry","flattrUsername":"balupton","paypalURL":"https://bevry.me/paypal","bitcoinURL":"https://bevry.me/bitcoin","wishlistURL":"https://bevry.me/wishlist","slackinURL":"https://slack.bevry.me"}},"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"nanu.clickity@gmail.com","url":"https://github.com/nanuclickity"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=0.8"},"editions":[{"description":"Source + CoffeeScript + Require","directory":"source","entry":"index.js","syntaxes":["coffeescript","require"]},{"description":"CoffeeScript Compiled + ES5 + Require","directory":"es5","entry":"index.js","syntaxes":["javascript","es5","require"]}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"es5/index.js","dependencies":{"coffee-script":"^1.12.4","cson-parser":"^1.3.4","extract-opts":"^3.3.1","requirefresh":"^2.1.0","safefs":"^4.1.0"},"devDependencies":{"assert-helpers":"^4.5.0","biscotto":"github:emmenko/biscotto#v2.4.0","coffeelint":"^1.16.0","joe":"^2.0.2","joe-reporter-console":"^2.0.1","projectz":"^1.4.0","safeps":"^6.3.0","surge":"^0.19.0"},"scripts":{"our:setup":"npm run our:setup:npm","our:setup:npm":"npm install","our:clean":"rm -Rf ./docs ./es2015 ./es5 ./out","our:compile":"npm run our:compile:coffee","our:compile:coffee":"coffee -bco ./es5 ./source","our:meta":"npm run our:meta:projectz && npm run our:meta:biscotto","our:meta:projectz":"projectz compile","our:meta:biscotto":"biscotto -n \"$npm_package_title\" --title \"$npm_package_title API Documentation\" --readme README.md --output-dir docs source - LICENSE.md HISTORY.md","our:verify":"npm run our:verify:coffeelint","our:verify:coffeelint":"coffeelint ./source","our:test":"npm run our:verify && npm test","our:release":"npm run our:release:prepare && npm run our:release:check && npm run our:release:tag && npm run our:release:push","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:check":"npm run our:release:check:changelog && npm run our:release:check:dirty","our:release:check:changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check:dirty":"git diff --exit-code","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:release:push":"git push origin master && git push origin --tags","test":"node --harmony es5/test.js --joe-reporter=console"},"gitHead":"0e913a90be66b2f29d2d75433b06ed52e83ba810","_id":"cson@4.1.0","_shasum":"b1075344fa9d9fe5cf88d80f21d9366296b865c7","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"bevryme","email":"us@bevry.me"},"dist":{"shasum":"b1075344fa9d9fe5cf88d80f21d9366296b865c7","tarball":"https://registry.npmjs.org/cson/-/cson-4.1.0.tgz","integrity":"sha512-WJE4sajPn19i2NVs7PUjODPoEcwE7NEmVDsXYxyYca7UOcWcGIZM7xPtI0VQeOWxNbCLI+uvuP0BetJJfsspxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCa0ikd1/9/M0kUKNt1KdWhOscVf9xdrqgh+RK2U3ZhFgIgQOY6QcmcFaUKuPk13/mFTA5Sk4Rflw/aWN+bHNVBAHQ="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cson-4.1.0.tgz_1491785923260_0.11529544671066105"},"directories":{}},"5.1.0":{"title":"CSON","name":"cson","version":"5.1.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","opencollective","gratipay","flattr","paypal","bitcoin","wishlist","---","slackin"],"config":{"patreonUsername":"bevry","opencollectiveUsername":"bevry","gratipayUsername":"bevry","flattrUsername":"balupton","paypalURL":"https://bevry.me/paypal","bitcoinURL":"https://bevry.me/bitcoin","wishlistURL":"https://bevry.me/wishlist","slackinURL":"https://slack.bevry.me"}},"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"nanu.clickity@gmail.com","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=0.8"},"editions":[{"description":"Source + CoffeeScript + Require","directory":"source","entry":"index.coffee","syntaxes":["coffeescript","require"]},{"description":"CoffeeScript Compiled + ESNext + Require","directory":"esnext","entry":"index.js","syntaxes":["javascript","esnext","require"]},{"description":"CoffeeScript Transpiled + ES2015 + Require","directory":"es2015","entry":"index.js","syntaxes":["javascript","es2015","require"]}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"index.js","dependencies":{"coffee-script":"^1.12.7","cson-parser":"^1.3.4","editions":"^1.3.3","extract-opts":"^3.3.1","requirefresh":"^2.1.0","safefs":"^4.1.0"},"devDependencies":{"assert-helpers":"^4.5.0","babel-core":"^6.26.0","babel-preset-es2015":"^6.24.1","biscotto":"github:emmenko/biscotto#v2.4.0","coffeescript":"^2.1.1","coffeelint":"^2.0.7","joe":"^2.0.2","joe-reporter-console":"^2.0.1","projectz":"^1.4.0","safeps":"^6.3.0","surge":"^0.19.0"},"scripts":{"our:setup":"npm run our:setup:npm","our:setup:npm":"npm install","our:clean":"rm -Rf ./docs ./es2015 ./es5 ./out","our:compile":"npm run our:compile:coffee:esnext && npm run our:compile:coffee:es2015","our:compile:coffee:esnext":"coffee -bco ./esnext ./source","our:compile:coffee:es2015":"coffee -bcto ./es2015 ./source","our:meta":"npm run our:meta:biscotto && npm run our:meta:projectz","our:meta:biscotto":"biscotto -n \"$npm_package_title\" --title \"$npm_package_title API Documentation\" --readme README.md --output-dir docs source - LICENSE.md HISTORY.md","our:meta:projectz":"projectz compile","our:verify":"npm run our:verify:coffeelint","our:verify:coffeelint":"coffeelint ./source","our:test":"npm run our:verify && npm test","our:release":"npm run our:release:prepare && npm run our:release:check && npm run our:release:tag && npm run our:release:push","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:check":"npm run our:release:check:changelog && npm run our:release:check:dirty","our:release:check:changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check:dirty":"git diff --exit-code","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:release:push":"git push origin master && git push origin --tags","test":"node --harmony ./test.js --joe-reporter=console"},"gitHead":"dca58b046a6f2f4f499234f10b76ce0b3e8f9cee","_id":"cson@5.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"bevryme","email":"us@bevry.me"},"dist":{"integrity":"sha512-hh97pBcNEc24OQn+CBYu1pp9kcEqp3dE0oO52QIoQkDREnZYHUD1YcKcGvHU+k9lgCmIXHslJfGTie58zjhLnA==","shasum":"d62e236decb8b742859068918e9c03d578e00f89","tarball":"https://registry.npmjs.org/cson/-/cson-5.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB2yV1Go4iikWxDc1O14uKhKhccYvRdok47HHm1KPC9TAiEA7EHt66EMNuPuNQKMqu9688qguQvbKFJtiYB1khrbwVw="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson-5.1.0.tgz_1516861459316_0.05935297999531031"},"directories":{}},"6.0.0-next.1573417680.ec12a81364623275f2d7c949bb4aca6a202cb24e":{"title":"CSON","name":"cson","version":"6.0.0-next.1573417680.ec12a81364623275f2d7c949bb4aca6a202cb24e","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^3.3.1","requirefresh":"^2.2.0","safefs":"^4.1.0"},"devDependencies":{"assert-helpers":"^5.0.0","coffeelint":"^2.1.0","kava":"^3.1.0","projectz":"^1.9.0","safeps":"^8.0.0","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"ec12a81364623275f2d7c949bb4aca6a202cb24e","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>json2cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.0.0-next.1573417680.ec12a81364623275f2d7c949bb4aca6a202cb24e","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-AjvhDe+otaEf8+LL0QvRoDS5ZzVL2XEr3JKKLG63AKKhuevLRDih+j1DPINxglZYr6eZAEdGRk8/W8Q5bnxEsw==","shasum":"b5964dac27e156639005e5b2552c3627e301d384","tarball":"https://registry.npmjs.org/cson/-/cson-6.0.0-next.1573417680.ec12a81364623275f2d7c949bb4aca6a202cb24e.tgz","fileCount":12,"unpackedSize":77170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyHLSCRA9TVsSAnZWagAA3hIP/jQa4lANzLZgeQLZ8CMM\nHnRWOK80mfSq7AbglejCWBCH1y3UczaxuR765TMz47qbFE8uhRpnvxg1d2U+\nPl4twkK5+D2+uY3EJI0SBdCl2P18ASlcNSW43si5cBozIhdaMv2eOxVk0MZ/\n/ImqLhbtFSgx0BlRFoU0up7Gg/PGYQkHwLZSxgdViiEkExFyKlV4pBbdmes1\njSTJyBJ3XZ/RZKCjh4UW5DsNnvmcPJCi5GHCtrbMzSvdbRH4XIMHFMg+I7wn\n3JOt7IKq7kt9dKKJPAkWkVpKX8ucDEKOYteJ6Xahhdi3TpuRx9jwlnfF8oVD\n6EM5KLD8iGGHMEJvH0cUP4DUfM6dsGcMO9uVabtBNLaN4vcr9K2VkbVHoLTq\nVOsnRyRxAzSu7Ky1oRH+rfwG0X1T0ZlWQZJEDNr9ykKz48AB/idADK2G5Ffn\nrryOEjURMssHYAdNkGk3sjmwNvg0t+9Vs0KY4Sxyd9v5Yigt+H/0WohQTHpk\nFQo35TYNxKgivyobGaB98gfEM7IyJkBwBCcAxgHvhGgxFJilka56CNhrYDw8\nXDLufW+hMfH/TS+XPofsfKseDz/Q8frl35uwMDyO4p/WfHrncneO7blRYzvR\n38aTlco4T3S3uVzAma1/Co18vLbkHQXpF3Bl30aa+lxh/Xtjx6PrHcCZBfY4\ntcMx\r\n=K9uP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUSpUWJuAud5zY8bY48LNWd9NzZ2N60YUAKgqglPfGhwIgS69HZVDg95CInQ1x3WUKkneJUwBNp48uUWFPSTy6iCE="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.0.0-next.1573417680.ec12a81364623275f2d7c949bb4aca6a202cb24e_1573417682338_0.6496507701127374"},"_hasShrinkwrap":false},"6.0.0":{"title":"CSON","name":"cson","version":"6.0.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^3.3.1","requirefresh":"^2.2.0","safefs":"^4.1.0"},"devDependencies":{"assert-helpers":"^5.0.0","coffeelint":"^2.1.0","kava":"^3.1.0","projectz":"^1.9.0","safeps":"^8.0.0","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"ec12a81364623275f2d7c949bb4aca6a202cb24e","_id":"cson@6.0.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-a1H+eCwTF2BQuKvGF7WTdfWoG5KBIYYXVLyhqMQCgTZ8Z9IRMNArInolaM7jew+eVd05ELbgk8TlNaKnvwzaDQ==","shasum":"ff438838503a66e33664f67b37caf5b00e4b8836","tarball":"https://registry.npmjs.org/cson/-/cson-6.0.0.tgz","fileCount":12,"unpackedSize":77113,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyHMXCRA9TVsSAnZWagAAWOIP/3N5slMwRXxQUhRLwYHx\nDY5rW4QfSHfvJ1m1xYgA8M1btO6bprl2bBLsoagZ6cM/2H9+K2/VPXMxUQFJ\nqVC1rMehUdchOEGeZ5qBPkNhFQdsa2UgEA2TTeHTNlXuoNhevbpKTsit8eqB\nPAGJLcDSYIRUd0wmzUIOlaV5JgxC8oC0jH8B0oPVhqRpUs83i1fTxgNKjonE\np27HUSX2YAvrnsEqbPsnZq8WqI14t/tQ2NaXJeDQv9+fofrS62NRQAozJbeT\nd03LKZHmbmqv3iBeRV7TZj+PdAXojmDKdKH9TXEPyLm1uE6K1TrzYXGu1Nl3\nAbqYdFQ5fYylGzpWRyBUfBIsdZvgKoFsP3eJI8fXdXQ2ppVuwHkrjCKMu4Ti\nnU+ZTGicAfwaRIY5D68RZjBf3fNEeBaiOotoCVtoufKy1jA4ucpP18go2xTW\ntrQm3RWG7ghyKeWt899lmnugXYHSP9ZBWr9xapYNHEyy+C7oots2lm77MaNA\no8Q9xhHDaTTeX/6vvMZHJINz1xsoDP/K31tZEFWOY+310Dk1WpxLVkfIk5pG\n9WloLLlKR5V52aAtWM3fasc1wit6s6JCGf1FS7Dsry4/mBbfh9z0FqflVITY\nivN4hfO3Z6BAOr9/a6mVx61sbOZZBVXFy2PUMv6di2/OTLBFEmMvSkjrdh3o\nMnOO\r\n=ID08\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDWiwUS8dJi+MLqFjR0TyUQZVX4q/uucTfVguvgEHx8cAiEAyu0Qj7RmqjdgbmuVfqN4i1ntARbnMsGpdpbTuaFRZj0="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.0.0_1573417751057_0.8753046888335745"},"_hasShrinkwrap":false},"6.1.0-next.1573588458.bc1dbbb8e70571b3b1663921aab36d374dd170cf":{"title":"CSON","name":"cson","version":"6.1.0-next.1573588458.bc1dbbb8e70571b3b1663921aab36d374dd170cf","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^3.3.1","requirefresh":"^2.2.0","safefs":"^4.2.0"},"devDependencies":{"assert-helpers":"^5.2.1","coffeelint":"^2.1.0","kava":"^3.1.0","projectz":"^1.9.0","safeps":"^8.0.0","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"bc1dbbb8e70571b3b1663921aab36d374dd170cf","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>json2cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.1.0-next.1573588458.bc1dbbb8e70571b3b1663921aab36d374dd170cf","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-HetpUNVipO1CefcKntGJxUUGpMwIU87iE9J9v0+JaU+Vsq+ONxVT7Vaz708gvpQ+OUPEKl4q0fDDKBC+1fzIrA==","shasum":"01f6c340d3581829d629db7da99ab9828c6ef069","tarball":"https://registry.npmjs.org/cson/-/cson-6.1.0-next.1573588458.bc1dbbb8e70571b3b1663921aab36d374dd170cf.tgz","fileCount":12,"unpackedSize":77735,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyw3sCRA9TVsSAnZWagAA77gQAJpJszpEpcMYnQJpAfWE\nt1U7yneQPtdYcaYfO07oO9KXLulV5EK/te2q/8r2YcpNtJwJ7qMl48I2CEws\nHYzV9AjAK/ZADWj07CGS+VpCXycMBDX3dQfhoWW0J7nuinf2SRC5hWHY3QF9\n4l1Ka7d8SLqBeXdNuS3vuPfCa2guyb7mJ4jIEmFBLU+2bMWfgFjHn1jsO3WL\nl16d7eXwcmu8o0+OfYoMKfoWiPaV+Z2abnVfo1vhR7DPbyWxwoBLNStqfO3e\n8EwzHU3W7exZ/LFmD0U9PjOf2ar/JVMfZjyIZkbkTUI8N0vrGz0H5EdT9e23\nuh1IB/v+25tjqwiGBckh7J90G8225abHJrkZj2z6RPBw4HlpY19+OfAZAPbQ\ni79+VCGOIJGLYueidQ5tVfbQ61JQE28cuP236oqjUI+XyjnbSfyASYbfjvfd\nMrkKD7djMpPy9dtx5/SrR+S6q3UoYgQzr5exgbFxyABwmu3x9aO1FSxcq2Hc\nEw2J3ArEtnjRS6brILS/xiz9n0j5fhpbUzmQGRcyiZYoD3J2U9MuhfEC7LG6\nUzZaNdr59q7N827Xwx4bjei43jX7wFSrhz6q+Y0wZzABO48Dcksk1gaCW/MW\nQx9yRQ0Ecb48utn4jyVQRGB+KKxJS5Ye/4WBELiZU1Y7FHYRnw9L4F6NWPYO\n6tpe\r\n=gL0C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2ZcAOSI6ciuQw2Rn5uOQzg837q5r/mRm8eZfRCPKtgAiEAtoFFiyL70ybuy+KUpNJOhcGy0lCCyOOqUclZ32gZ9Po="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.1.0-next.1573588458.bc1dbbb8e70571b3b1663921aab36d374dd170cf_1573588460124_0.20199765370637257"},"_hasShrinkwrap":false},"6.1.0":{"title":"CSON","name":"cson","version":"6.1.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^3.3.1","requirefresh":"^2.2.0","safefs":"^4.2.0"},"devDependencies":{"assert-helpers":"^5.2.1","coffeelint":"^2.1.0","kava":"^3.1.0","projectz":"^1.9.0","safeps":"^8.0.0","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"bc1dbbb8e70571b3b1663921aab36d374dd170cf","_id":"cson@6.1.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-1XwZ1kDGM2AjAAIaEGufSCBebZMcgK5i6bPVebuL+BLCQE1AM2DEYF0XL1L2QAGitiFwGI1VI0ysB9amrXkwJQ==","shasum":"9f51983156eff2faa894dcb36ccc2895d08a2470","tarball":"https://registry.npmjs.org/cson/-/cson-6.1.0.tgz","fileCount":12,"unpackedSize":77678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyw4tCRA9TVsSAnZWagAAhA4P/R8//mJ6gryjwOTUPyWj\nuua0S4Jb8UyxPjQ40G7kqPZbxqhLLv4g9AbJ/QJM0j/lnekW26rmwW/WVlsr\nYowXGHTEnxs1VSfhZLqWEHsg9mD3WyA5XCreR3o28y2Y75873l99z2oX5voc\nO/ZhC0439WTUh24GLJq6naXQLglgkicUx07gz+kY3WYkf3bg0LjZyxDLBkP7\n3RTaViGZHO7Imy43eM2Neqr+a08DlnYIDsP3qnfQleFHpN/VbmwHYkAxhswI\n3gA80bfcVBq+VM4NvWDvQ9ciYme2K8CwM2X3dd4QDOTmM6ou1YNHenEwZULd\ns6FHIcCk1iVtM98E+1l2y/qbj/zBHkP4TOnANbDoVOBKFug3kZOwBWKeSxpF\n9vo4xrMpzVHHk9Qnp4UTsAjmF6nM+1Q7jVRh9dfvw3vRMBhR16Qc8tmBwzMr\nVEvcyV5Lm2QJe992tSJntJc8kIdrtZbjAZmjaVyP9TyDU2BkTXySXW41kY/Q\n0zkzPbzeLGbG/ap1DUJ15UWU4umYzUufZhyeAFgHuCYSG7Wu/Ox5x+xca/da\nsoicynWEv5TyxZl06AiiqCDmRPbs4pMohbBWaZjMHdZZkZ+bcv3YJu8nyuA+\nRiYG36F3Qs2uMSSfMsdRee3ryZVvljFa/XpwDwvLAqeR2UkPh0qNCA57daAd\npWQB\r\n=lRUi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5ueCH6uYTdzkFJNwQP6/0CFtB6XskV7MytqZPIqWm/QIhAMwFAE0g9qGxAHLfCl3Suwp/6MK7XBTo5W9bXN4Y9RdY"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.1.0_1573588524870_0.4005526646398412"},"_hasShrinkwrap":false},"6.2.0-next.1573593732.9702e64b7b5b7658aca03119b4362444c9ce93e1":{"title":"CSON","name":"cson","version":"6.2.0-next.1573593732.9702e64b7b5b7658aca03119b4362444c9ce93e1","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^3.3.1","requirefresh":"^2.2.0","safefs":"^5.0.0"},"devDependencies":{"assert-helpers":"^5.2.1","coffeelint":"^2.1.0","kava":"^3.1.0","projectz":"^1.9.0","safeps":"^8.0.0","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"9702e64b7b5b7658aca03119b4362444c9ce93e1","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>json2cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.2.0-next.1573593732.9702e64b7b5b7658aca03119b4362444c9ce93e1","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-f/la//lwzQx6/iynGvozHmB4b+2M4Rzyr+OQCLvCXT/X5GRR80kjQE/8MBkBDiV17X+7NIgx6QgiloWgM1KRZw==","shasum":"ff54812d495af9cdb8e5c369dde44b94398741df","tarball":"https://registry.npmjs.org/cson/-/cson-6.2.0-next.1573593732.9702e64b7b5b7658aca03119b4362444c9ce93e1.tgz","fileCount":12,"unpackedSize":77933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyyKGCRA9TVsSAnZWagAAW8sP/RhisAh78hAJ24kfY83D\nmLwRODW0qr/7zSrJA5a3fkwy9ItDodOjbjgoyU0JYkjNyH0IyVrsQ5yzOMiw\nsChHESMJEBHBp/zeCgfiyRJ6AV3wJVYESsfmOkU+YyCA5HXdxgR30c9zYadw\noqf608ki9XjTaeIBDZ0slXZ7e4S6CGl+miCXDBble1ebSGbjXxrnDQIM499C\nC4mTNHYNnGXHoBWaDflQzOdqayLD3PD9nICGRdad5pOgUhv7xU1UR2GnR5a/\nRRoK5MORcqmi1re6epzASqUU3M9nFfzbWdBa/ZVvjOdjndZn+IaVcs89M6Yh\njZSORXcaQ2dRXqZyOR96sDebpm3axDfVnytJ7rLn6cS83LcdtrOsDmh0Dcqu\n6o+8OcG3eSzci7DG+PBLV4Skc4sddnZlj+LtbAGbkimHHtV/2tsvXTkwHspH\nHjRkKlEehJKZdLkEiugm1BBsKKH6b3PLhBQ6FWbb9NPxtydEY+z6iC4SobGb\nD7RI5ZomcxAVXh747cGkOCwZ5kaJzLvq8tAo0MPNzbSVXWcSAOUgJQ3jR/lj\niChYt3sKh6trmceu2T5xeayupDa/aFu0Jtjqp8sKg+HraacEpewcQMdYYbAX\nf3AyR85UKmKgWnjAOf66A2ycPwu/5QL0UXwyuKMEqC0DhNNrMxP3xjd9J8q6\nzkes\r\n=xsrf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHNtI+hKnQZIxi61DcSh8T/c5rVVA80lHrNxLLcyVkZMAiB1tKEX5KBDPlQhHt+7JQ15asg3i4LWhOZonriwIfHoew=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.2.0-next.1573593732.9702e64b7b5b7658aca03119b4362444c9ce93e1_1573593734093_0.9479735768776016"},"_hasShrinkwrap":false},"6.2.0":{"title":"CSON","name":"cson","version":"6.2.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^3.3.1","requirefresh":"^2.2.0","safefs":"^5.0.0"},"devDependencies":{"assert-helpers":"^5.2.1","coffeelint":"^2.1.0","kava":"^3.1.0","projectz":"^1.9.0","safeps":"^8.0.0","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"9702e64b7b5b7658aca03119b4362444c9ce93e1","_id":"cson@6.2.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-rlwWcXLg0i5mfDhuF5D70aEaYikrKn/ZM+N3iDu60blh/1V7oobneUNHpWpVjWKJmp2rjcoUi7mVJjh4bOPedQ==","shasum":"2698e771602e572bfb23ef0dc1fc5722ae440f1b","tarball":"https://registry.npmjs.org/cson/-/cson-6.2.0.tgz","fileCount":12,"unpackedSize":77876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyyLCCRA9TVsSAnZWagAALioP/28eI/wK6mLgEm7BFxRR\nEAmIMCvoQc2tjRi1ZTLRC1miIU+2sWl8lLFXRcoxf3XGJI7Fy8hUXr3swkS6\ndc+hgRFPlBa/UML6ctujWuQdGnTxCHcV69O9hT/ZDzTcTn4qvlaCSwNYJuZy\nZr/9eAqhLPQK6Q1CjTZpxHuvYijebP/BNmT0UX5sXKysH7sWHc65YvUXszdD\nPFmJGH4l+3V2yWyHeaEqWQ6BgMgbfYYfws3Pc03CoHJiw9b5AqMBy7MAfZlw\noflfBR+7AXngaJaE+RzT4XYHH1LI/ccuK3qS5abXN3PA7Hh7z5aMrMkJi7EU\nJuMeTkWmfwLnIAjLxWsOxWdHe4hUmIujTbZLs2GWP1buqYL33p9j/zucW42R\n3jNscPDtCyrIuMRkaZj/3BRaXEMkIaVhdhxzC29MGesG/l2Cf/gL+figBXMG\nwZXOXip+hi4SJBhpktui4M3VJQnrGAktgfU4WSeRkEk4n5dCIJExJRFMqClg\nVYC7BA+qQsyp9KXiJY4SFkYcGPugS7liu0sgN3o4w8vr0vbQmDgnsHuSD4aP\nDo6MPtrjRhGPGXWbpfq97PkDrsLu4j248GIikydhK9gZa5CrsW6/B5tfHBMU\nnfrtBFGRDAU847EqB/MyY46xZVPHMPHFanbkebuwrZBXod5/Wa/AEQphMm2C\nLPqy\r\n=tjhN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIDdAARgB1XF38oEpwpABG52ivqKaWR83oDSdonM61YQIhAPH0uv4U1bMhWBqPHmNBDY0agLxQHTCleiPqhjSOMbtt"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.2.0_1573593793312_0.9153155255127381"},"_hasShrinkwrap":false},"6.2.0-next.1573611070.3b8776165b63ecf2a482c51df3d5125aaf20fcc4":{"title":"CSON","name":"cson","version":"6.2.0-next.1573611070.3b8776165b63ecf2a482c51df3d5125aaf20fcc4","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^3.3.1","requirefresh":"^2.2.0","safefs":"^5.0.0"},"devDependencies":{"assert-helpers":"^5.2.1","coffeelint":"^2.1.0","kava":"^3.1.0","projectz":"^1.9.0","safeps":"^8.0.0","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"3b8776165b63ecf2a482c51df3d5125aaf20fcc4","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>json2cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.2.0-next.1573611070.3b8776165b63ecf2a482c51df3d5125aaf20fcc4","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-W5hYulbS3uCPCm0e87tKPQfO2sGoz+N4RQt2u+TkNkj0KpaCOnM0tQNMAf07xaY7XQ+Lia30kNKwaIXEqr6JNg==","shasum":"9cd6e250d03bde06635f765e0cfa3183fab7b0f4","tarball":"https://registry.npmjs.org/cson/-/cson-6.2.0-next.1573611070.3b8776165b63ecf2a482c51df3d5125aaf20fcc4.tgz","fileCount":12,"unpackedSize":77931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy2ZACRA9TVsSAnZWagAA9t0P+gMOzh/4ZCjJYA4OhZYT\n4DOMFbpd1FKs6tsKwPDRFqK/E1+1vAfl3aAYewLJUt2d43KSvDF8b31Uj7rr\nrIAK3MMb/tiM3EBp7Anwd0mvPD97aakiji07NpE64064BKxv6ph8oxLCvNUs\nHTPLsFqdzwexpooHe8xfyY++ldxWL8IF0Eb4XQEAXH9jXKNPBwHaHL2ERuyV\nwzYB29cYMyY0MAcfkn9vR2V4LahddbS85frfKVR9sy14pRC1wF+PcbeKEkUy\nDpBxRQioirTk1goISoEL8b0/nqKo6k7vOWEqE5dGTV0suboXkK7QoQwtM6sT\nP28RsA7S79b1uRTuIrda2vTXHNH+UoL6Rh5UWTRIiqsE+dMV7lTjAMGfVf4D\nSu1MY20H2LFgbRMhRu/tPE3tMqWPMvJh64Yzbus10Tp/cMhiA2Zt+AR959bG\njWD+22Jspmz+XKdnKd18rsnrz1PZCACodeQPid56OcdU9jXBRgzmM+fyFsWe\nAsHFntTtv3zStcj7InvcqLTbulIqp9VwNvabbigYW2SxTnl7t2qD3MqgP+GX\niRagEmBrSNOTnD++Znq4vCZbEKZoUYSxiyr4wAkzYCzuXLNvyPxHqIxqrBon\nCc6p23ujJiqDXEjKYTHS0RI7rdLTXhaJrFA7qLkIYpW5xrVhlrFTfqTqqsZu\nh6iw\r\n=jQ6T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF7Joi8zxlx+JoqG92f2dWHFZR8NJrP86rCEdZJ/F9y5AiAr4w2fTKYCnl/ppB6MS0FB5bo4SVzi9BgL3PBtMAiQEw=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.2.0-next.1573611070.3b8776165b63ecf2a482c51df3d5125aaf20fcc4_1573611071885_0.412608784557698"},"_hasShrinkwrap":false},"6.2.0-next.1573694640.c6f82ac5054a1858b12186d4686af2f6ed034d68":{"title":"CSON","name":"cson","version":"6.2.0-next.1573694640.c6f82ac5054a1858b12186d4686af2f6ed034d68","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^3.3.1","requirefresh":"^2.2.0","safefs":"^5.0.0"},"devDependencies":{"assert-helpers":"^5.2.1","coffeelint":"^2.1.0","kava":"^3.1.0","projectz":"^1.9.0","safeps":"^8.0.0","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"c6f82ac5054a1858b12186d4686af2f6ed034d68","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>json2cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.2.0-next.1573694640.c6f82ac5054a1858b12186d4686af2f6ed034d68","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-pkHp6NzAjHlhsvGFu9rk71EjL9LR3gTJyx22SvwhYjEpHiPa3qZzOZVgBOlMp83OYr9WJ89gwJLe8RQmNWSGSw==","shasum":"07d4d0073c4a4a64c018ccdc33ce04a45b0f2ea5","tarball":"https://registry.npmjs.org/cson/-/cson-6.2.0-next.1573694640.c6f82ac5054a1858b12186d4686af2f6ed034d68.tgz","fileCount":12,"unpackedSize":77931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzKyyCRA9TVsSAnZWagAADO8QAJimNwieXcgSeSyFaikD\nwsVydQ+QZoh/hK9EdnBGvnUYK1Ujb6FZUZ4TO0rVx84UlROAuynYfxiUeITU\nTyYMn0pwRRDiKmt/bVX88mifu9fvV+x86HdOOFuI5wN+lRT4GWzNJbJy0fCQ\n+JSbw8BVfFygH+P2JGG/3RwgI9vwX+Y0BUXAz1jUNbPsvtsOXuQGZ1gRiuKh\nNfYoBztze/FZZrVQP9JfVMzS0FOMhXJTIHHHfxwwmPKZY+XXmjadhzV0m38A\n7wsPlcBFRqIGwWntmi7o+uXiL0j+mBfV17RZKGo1o1tW+A3wETHYsLas38n4\n1CYI/I4UoXXgU1RdZfl0LvyRtZJ52FDXZ7XB1dxcYDC5p8em3esmk7os7UEg\nRpHh/QU5h4OI0n6ewK5BwVfaBLJdPFiSANW8BJTt0mcppvpifWXAalqfT2jk\nFjtrvOLO3Z0ZeozRWaswcU7bSKJyJaajJCSjKX0Fue/ENb94DILkb4SZhAbq\neRmXO3EXag/GwJ2Vla8n9g/AolMJ4dtilOL0tOskpjTaEtOS7nqe96kRDcoS\n/1Mgz7myqr6gCOF7icLeymim5uKP7SiBJptYOOnqSkdvS9vgF8AIxwTA/cHd\nVbP+y9Qy0Ez4ESDk1fKzfHdmx2cY8lqra1rzDphrrjxfXXQW7fWrNr8trsE9\n2BFL\r\n=4nM3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHJSBeLWG85JVmdK2F/vf/ndq4NYKkH//DQ4XvEXKjiqAiEA25GoUS+i8sqvSKR7KoNEqTpPH2GVc2Y/AIGcTNC9pqM="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.2.0-next.1573694640.c6f82ac5054a1858b12186d4686af2f6ed034d68_1573694641729_0.11177095455932484"},"_hasShrinkwrap":false},"6.2.0-next.1573739096.bab6c8efb341d9817f21d936666c0d8daebe45c8":{"title":"CSON","name":"cson","version":"6.2.0-next.1573739096.bab6c8efb341d9817f21d936666c0d8daebe45c8","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^3.3.1","requirefresh":"^2.2.0","safefs":"^5.0.0"},"devDependencies":{"assert-helpers":"^5.2.1","coffeelint":"^2.1.0","kava":"^3.1.0","projectz":"^1.9.0","safeps":"^8.0.0","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"bab6c8efb341d9817f21d936666c0d8daebe45c8","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>json2cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.2.0-next.1573739096.bab6c8efb341d9817f21d936666c0d8daebe45c8","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-iE7Y7rFzZAPKMk80nhavaDlxhBHeT4oUZ2ljx1cCH6aCpGC03mMKoZFRcGVujw732fWn1RJ1dQW1i7jsdOqQOA==","shasum":"a5bde04d6b400066974a306f7f8cb9ba528b252f","tarball":"https://registry.npmjs.org/cson/-/cson-6.2.0-next.1573739096.bab6c8efb341d9817f21d936666c0d8daebe45c8.tgz","fileCount":12,"unpackedSize":77931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzVpaCRA9TVsSAnZWagAAj70P/0BxV5tgORpKMs96CVn9\nXx1g6k2VtbeReySB/RO3qBdqJa1OBaz5T6wIDgS2xpYkvpOzdIuT3Q96wF2g\naUxxcdYU72ooN5WM5WrkiOSs4ajhOtwAuQDoQN1oO8rXsfDdoIhbaeZ1Qj2m\n/Wfc4ux7byRSUErfrh1HEfhsvjNnGsO0eNtOD4OkTNC5eITCXktAIUsErae4\nAKlGGOh9q06Uk2CoZsg7gelyVDxMbOejzmU+BABx+uRmg2oHqC2f0K7aaJee\nPE1v9XsfXt81rWcMaxRFCLaIsryyhWU5AmeqsuJtBZqUmsBWQezFPKiRB96W\no54ql+z4XEpfhMO2p7tnnumzvbbYgIQ0WXq4e+2YrM9jVsuA2rJRoKzr9GvQ\ntTWR1/kyObNZuZWbrTJJIvUShChvkD+4cjDBO2CiXVhv95d8jKbe2adAXxzP\nC77DQUGgmx2bSIDfHGWp518cTtt5OsxYDQzWvjYasAGXaWDCgFfcY8/gOfhQ\nbg2x40V0NJn3BBGZ8Shghs7MimpW2AiN/v3X5g+/vwwtlaXsTGdbNnJpRB5y\nEopTjcMhG/tbzierTmbxZqOhmCzAvOvHoBDDjbFEPaOthIQGyhxnPh2YzOsb\nG6u+sd2+uAuBfyIX5Pq3jKPMt3qAacG6BHQwXWofJCKfFLa37dJl2DiYnMOZ\nEsOQ\r\n=C7Mu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBfyH7jhEjCBYkGvIMjQIHYNvsZLMe2lN9nNoeJgl6O7AiEArKGkMndqpdyfYf7+e/DzYtrcYh1IdOwhx1rV6daEWVY="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.2.0-next.1573739096.bab6c8efb341d9817f21d936666c0d8daebe45c8_1573739098324_0.3908230191789772"},"_hasShrinkwrap":false},"6.3.0-next.1574015094.564ff3b4c111b7d1319500cb3ea6d67ed2644217":{"title":"CSON","name":"cson","version":"6.3.0-next.1574015094.564ff3b4c111b7d1319500cb3ea6d67ed2644217","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^3.4.0","requirefresh":"^2.3.0","safefs":"^5.1.0"},"devDependencies":{"assert-helpers":"^5.3.0","coffeelint":"^2.1.0","kava":"^3.2.0","projectz":"^1.10.0","safeps":"^8.1.0","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"564ff3b4c111b7d1319500cb3ea6d67ed2644217","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>json2cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.3.0-next.1574015094.564ff3b4c111b7d1319500cb3ea6d67ed2644217","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-fxH628/HNj1D6CtVICtyAOTCJCcuJOG6JMwQ8IPGMsKObePXiWqDOwQ6id7krxb5EWaaxtZz9fT0V3QP5ZL5Qg==","shasum":"692e141468b17e7a6aeed6d616971f53e76d6694","tarball":"https://registry.npmjs.org/cson/-/cson-6.3.0-next.1574015094.564ff3b4c111b7d1319500cb3ea6d67ed2644217.tgz","fileCount":12,"unpackedSize":78086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0ZB5CRA9TVsSAnZWagAAZnoP/0NZCsfspgHAEoxvBx3Z\nM8ZsS3IY3CBwpVdwtup2e7fboUJEWUMXuO2r6uScOC7Aq8I38jbri2oBucLZ\n+1CxDccczuxj/IkT0IBB912CGw0IZ7pvNjCflf4am3ZoOd9X16oJcZ7w/uhG\nvNACgYqdjXnBN2sit8hryM2e0etGQlC8ub13PK2ym3rwPxHNClva0EZBb8U4\n2Ug8gSrnRlquVWtTNWx/9qbB/yvuai+PszxuGwewlY0Jzf24Lc+x2puUGKvS\nZGW/MQJOTl/P6n15JqCu9Ipdt0bNDcm8YZCc8lujQssqOyeEVFqsk2GsSuWL\nxJGy5LEPmJHalO3CQ2bt3vzhS3dnyiK5z+0O3I4iEv3LPBG+JOrXrIhKX1Ta\n89TXM7dTlTZIHV/0vAVflT8gMQgLXoiM10dntXtkns3F6Z45uuejrmHjup1M\n/ymcPqPFRCjYVNCga5X69onPK231jHP64pgqzXCL+nA1N2mQJbK9mzFklfcb\nwW9hCnXxL0tSFmfNA/M2Tc8CqiEw3hJGlSgJhRWUvuKOgA8y/RgLKIMroNO0\nZY4lHdBljAm7urWRBh4yABsRw/uZU5H/gEBwtlw0p1aGmEQFFGfdvaHQMZzl\ndtBwXY8lBIQCyYE0p+3+54pSaMECuVMjljySFUbRS3SNzmDdqV1nZM1L58QH\nn4L1\r\n=qg61\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3Ekx4xq0FjcoV7Bk9cT6vLDQ+dICCz1VY1HpAe95cVAiEA6wM6IcaFe9EugYVRBY6Qo8UWJFrCUUa9l7oRfb60a9A="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.3.0-next.1574015094.564ff3b4c111b7d1319500cb3ea6d67ed2644217_1574015096836_0.5424550118267308"},"_hasShrinkwrap":false},"6.3.0":{"title":"CSON","name":"cson","version":"6.3.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^3.4.0","requirefresh":"^2.3.0","safefs":"^5.1.0"},"devDependencies":{"assert-helpers":"^5.3.0","coffeelint":"^2.1.0","kava":"^3.2.0","projectz":"^1.10.0","safeps":"^8.1.0","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"564ff3b4c111b7d1319500cb3ea6d67ed2644217","_id":"cson@6.3.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-3ZPaTIopCE8RTCfwvt4DZ0aoDid52zilZ6LXWhsyOzwx44sYToCupYbz2jXkn5PYOoeCEmSW7YNLPvpIoZph4g==","shasum":"4ee42f56ca7b9bb54d20532b66fc2b34b6cc81f1","tarball":"https://registry.npmjs.org/cson/-/cson-6.3.0.tgz","fileCount":12,"unpackedSize":78029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0ZC8CRA9TVsSAnZWagAAi80P/R/gwePfrAtcugBhgHgp\nJakrOu6TosjjHCEU9WwLDY0gcwqWVtjC/VvbI1bZN0dL612FE3ffWu0TxwWD\nK8Yadzvp8dlBNUHcHK0POEfYIFiyBl0HaqZ0YSASZy2Y1qaER5cJJpf8GYL5\nEAosFi0kQ1EjO9zo0JWYotbdpP2Dt5HQHzYW5ZrYzPmenCKrbJZvfr3vS4lr\nH1MuIHqZ4SrYggtFpkn25K6XL7aInsTZOrYGSqVvvoh8UX/e1YuymRN/3Qdc\nVJsaA+mmADsKUF27RYCt1W469zvYaAeomrAzx57XRVC1oObLCpGzQyO4sE03\nAZBOiSnAZKH87kG6rwjpoMQwwL/ehFeBthYbam+nlaKhnCFxKa04UtzfQdR1\nRjPuh1aERGtFSRtb/o2zvDOUEHkvItbs2bg+mmqWpMOhBzN7zpOk6sgPzmP3\nTKdcIdAaudZ+69YC60tC7wL8x9HYpvRKresfoRUxkObY29d6sATAreKKMbuc\neitLO6R/02+Kw/W5b074Rrg6Tb3F+q71CL2F+dJb7RK4L+ofDKetgpntWgbU\nyF5tSUQDaDS6uYkNQ7fgZSPbb+ov2wgtaSzVoLjqTKhRPaeGINKfgqp0nZk4\n2omH8teFkQBJHzjqjkGh7FmRwC3NjGMro4LHjnAtP6exX3xLFcZrh9v0L+Wt\nmuEg\r\n=K3GC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA2BzVl9BHz/2GrhVk/jVTeTk5/jchkCPT7BIkIna/+NAiBRhv10F8Bbi1o0YBKW+3vMI/YhuAwkao/6Lgvr2K1YYQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.3.0_1574015163975_0.36482277774766425"},"_hasShrinkwrap":false},"6.4.0-next.1574044836.ca6a1ac547e6d19813a840b61a599593ce1fa262":{"title":"CSON","name":"cson","version":"6.4.0-next.1574044836.ca6a1ac547e6d19813a840b61a599593ce1fa262","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^3.4.0","requirefresh":"^2.3.0","safefs":"5.1.0"},"devDependencies":{"assert-helpers":"5.4.0","coffeelint":"^2.1.0","kava":"4.0.0","projectz":"^1.10.0","safeps":"8.1.0","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"ca6a1ac547e6d19813a840b61a599593ce1fa262","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>json2cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.4.0-next.1574044836.ca6a1ac547e6d19813a840b61a599593ce1fa262","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-97K4vVXhXO+/eFFO5iGUE4o2Ekr41T+73oR2Ej+PlyZ8FWyrcxoMmBY3T1AS8KvIHZRhnQFFJ/XZsMCgqssRLw==","shasum":"03be3d69e9fe64d737fd78b0a60c5a00a92e846c","tarball":"https://registry.npmjs.org/cson/-/cson-6.4.0-next.1574044836.ca6a1ac547e6d19813a840b61a599593ce1fa262.tgz","fileCount":12,"unpackedSize":78275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0gSmCRA9TVsSAnZWagAAz2AP/jr+Cn8PdxzCgCcsJbFR\nfD4TDOktz4jX0WIP7BEA1+WhrCuRjqO8jufOsGftU+CP63VrqapOgcjl3kpa\n/uovj2lnf0dpp4kgJsbCpMVnU/KFQibNLJ/LjJulCkvSUidTm6PcKEoNGeu4\nP3di76yxZPdXXYlP3QMLDNMJJSWi5QSIyffzDeKVk6p64hzryivPIOTOSrGU\nqiC+k2wxXFGV++O0fQzRacFt+oEW7xF9/lBTpYULf1AS5rkR5ZO7hFgEbQII\nA8VOEDXOMBTG8CPKHQOYsXHWpal6rLiojWuhmhi7Vgh9VdmmkfTODTbebu4Y\nWY/Uq9FFV41OwIE/MiUVodThAaVbF4WZocwYsvLEVyUInQocHCSK9irxb6Ef\nLM/E8wMnwNSWlSPhLwqUy7McdS1slAmNqfa66FsTQDiyjXRGRT6LSzg0TB9C\npcEEK6dlfGKO5hXuwRhYmNLXE1GlmE7jyJ/iSRGHnyn2q1qPAD9BJL4QXjw+\nwzbCRd/CLuY3jfM+ju2mYA5cKFx3LnfceUm8RVL+X23e1iYzD6BJWZLG4kvE\njb+9A34f6hEK2WJFRMiNgr17JZF4qbypq1JgBRITG/jKo2N8i/6JVDSZN5SE\njF3pfRwU06ZEP8knV5dZ8Z/fVPeG9cxf30scwqhYjnclgez2nOlF0FXkXqma\nevqJ\r\n=y3O6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiy5tqHD3PY6pHd+Hx9Die8sKCE4djVFMA4ZAaqghJQwIgLfLz1gUcqoBM2H0IoPNARKXkVZ7waGkl7JE05vsGJEk="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.4.0-next.1574044836.ca6a1ac547e6d19813a840b61a599593ce1fa262_1574044837980_0.4905626582008149"},"_hasShrinkwrap":false},"6.4.0":{"title":"CSON","name":"cson","version":"6.4.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^3.4.0","requirefresh":"^2.3.0","safefs":"5.1.0"},"devDependencies":{"assert-helpers":"5.4.0","coffeelint":"^2.1.0","kava":"4.0.0","projectz":"^1.10.0","safeps":"8.1.0","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"ca6a1ac547e6d19813a840b61a599593ce1fa262","_id":"cson@6.4.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-SQKXH11dfsVhK6DtaNdapwkopO54hH9Xp4hPlorX5jlvwovKbKtEC1SjDcoiWdWTtYIDSuyU4MSKBlNvhhbNQg==","shasum":"3f729bb0957c97d2bb19bca0040072c2488ec8fa","tarball":"https://registry.npmjs.org/cson/-/cson-6.4.0.tgz","fileCount":12,"unpackedSize":78218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0gTgCRA9TVsSAnZWagAAyp8P/2eLVE+Z1JynNS/WjB7b\n5KNz1uIlX31nawDuI+2olAKk3w+ynj0MSVaspTYoHTh6rIYsR5roXayA7eOL\nf4Doszj+7evCtJWYdUvU71ms4ixOWeD7dX+ozXM1iy4UIeQrgIFfHTfjNFzl\n6IYz5D+ORF2q57ZtM9AMqokzcbdC3fd2CVHjSk5i+2mM9EsxSdfHIXQa8/De\nCKNngt105M9DDef+p3yCVH3LOrWbTNRpOZcXA+hCfIpcHqTd9wjPljKmOHfQ\nAf7Ki0CsiTJi7ForHBd39nLrrorYIZJgyUJMhJ8uGIKFxurVpLcX7q8GxQrh\nZAK9p/YLcOuZFFuupmd9TwEkeZXcgkt58vP4/VwFpuP2ba7O9rQj5xNKEOcQ\nDr/mRUMSyty6siMF+RHB4uMuSP75/dn3+As4pApZ3K18vViOGAcDWmoLTKag\nE0vrEpd/aE2eaUZHZVEy5KGPZJ8nLZEjNC6nBt/ik06Gl0aHNcPEQQvaSEf4\n2vIWdyLpqAxIt2tcQmdaDYt/dbuEIi+HLjjo+GgkDMoVZC+0WqnIlrYOPtGo\n7dXE/fbUmWdIhym8EQXAmRvksqWQIImNtzaECrqF1V6HoNUU3CJKWAGKZbdK\nDzjKJWlvX+2aeXdpO3Z9NTvX8qpXFQMfsFJV7DDangfdZdl0wr+9LlahJkeb\nw6af\r\n=6E1N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBIArzl9DVCCq0ph1oKyNPmBhPmFCpXgK+XYvQn85KRmAiEAkiE/icnOHMpQcZqMlcIxbNFXrUrCTy/X/7hV1lOtp+I="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.4.0_1574044896060_0.5017756102684443"},"_hasShrinkwrap":false},"6.4.0-next.1574612503.51faf502504084a37c218f0a4390bd16333bcbff":{"title":"CSON","name":"cson","version":"6.4.0-next.1574612503.51faf502504084a37c218f0a4390bd16333bcbff","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^3.4.0","requirefresh":"^2.3.0","safefs":"5.1.0"},"devDependencies":{"assert-helpers":"5.4.0","coffeelint":"^2.1.0","kava":"4.0.0","projectz":"^1.10.0","safeps":"9.0.0","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"51faf502504084a37c218f0a4390bd16333bcbff","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>json2cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.4.0-next.1574612503.51faf502504084a37c218f0a4390bd16333bcbff","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-f/7CPSTILC+j1R2PAgmd79Xi8zO481eAblesEEIVi1rOVSRxVs8AhRBrFGTrlpVqSHljt8B6893hdBEGkxRIHQ==","shasum":"1771e9482c8c56d110546f88666d6fe18328a0ff","tarball":"https://registry.npmjs.org/cson/-/cson-6.4.0-next.1574612503.51faf502504084a37c218f0a4390bd16333bcbff.tgz","fileCount":12,"unpackedSize":78275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2q4ZCRA9TVsSAnZWagAAqHIP/i1BPLWoD68XBmG27OMa\nEYcmSeLMj9fmXPL5nMeYyymerLgcPOmrjKwFbWFNx1cjco/c5VgHPTJKdpM7\nvQEpU++7bKFUwpp89NLrx5lDPvXJeZHUNwb4Ov+/sYh4esBSzjfMjpyQqquK\nxXM8mMfElCS26o6NGPCT2QdzLhytdPVYMxHZgSWhH/hxGiMJN4P1PMeA5bS7\nARBONZZviT4WMxFlyU+dd95efVSIJGhvcR0C/TF+dPEzGA6BKcZfzkA9K3+K\nAZBSDxXyhKPyXrOTpi2B8mW0AgayJIDmbXvg8n6biTuEa3ZpEybdFSx+oFZY\nYw/1cn4kcZDDKxovkwpgbAAwJLBfER+Y6N/7vdkq0Q2PLgVXya98WCKgXuzw\nHG/P7W9VldLNFHA5QbK/O8ZzuLeJoSx/W6LWZ96OirM/Yg6DVA45796HUF16\nYSGgU0Ud9PsF39l0agMv82kGrIz2AwbZreZ2gzTd76zrEksU7w45w87PYF4C\ndTsL7F4cSoO4xM/Kl5xm7iMuI98QaDZTO/brG+7qNZxOfjIrRmyGF76EmbwI\nKW7r800KBEmQk4ppHLDHeNT1LNN/9aq4S/4T287ZYmrTPVnscYfnkpxkXQ+5\nRs7jfmn7VfyJyicgXuIGe+7sBV4VFH8KzPq5MrzE3hy9yyb5hgo72ScCHhOj\n7a2k\r\n=Rgw1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCI6vAbrVM3Ma0cWs16gLIUHXz3aDDZT/UH+T/f4SXxFwIgSm2I43e2snXLe9nsMWjNgj/aFXXeBGv4ufMYJaNtcvM="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.4.0-next.1574612503.51faf502504084a37c218f0a4390bd16333bcbff_1574612505407_0.3149634869982767"},"_hasShrinkwrap":false},"6.4.0-next.1574656769.b447225bf339025e699aed75aff8b754be133c38":{"title":"CSON","name":"cson","version":"6.4.0-next.1574656769.b447225bf339025e699aed75aff8b754be133c38","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^4.0.0","requirefresh":"^3.0.0","safefs":"5.1.0"},"devDependencies":{"assert-helpers":"5.4.0","coffeelint":"^2.1.0","kava":"4.1.0","projectz":"^1.10.0","safeps":"9.0.0","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"b447225bf339025e699aed75aff8b754be133c38","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>json2cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.4.0-next.1574656769.b447225bf339025e699aed75aff8b754be133c38","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-EG3HnM2dO5NEo46W2G1CC3HsXaZ6Eg1KUPnl7xbAKjCS9cLKxCTxhI3KFgClF4u9wTF3Cy3I37lZfnHkvUP9JA==","shasum":"836c1e2a4c4bd98b3766b0d591fae6adfe4d1d0b","tarball":"https://registry.npmjs.org/cson/-/cson-6.4.0-next.1574656769.b447225bf339025e699aed75aff8b754be133c38.tgz","fileCount":12,"unpackedSize":78275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd21sDCRA9TVsSAnZWagAAAFMP+wWm5iabyF32/HV1JgJa\n1a4W0nnD4l4xUCO3Ab7yMmnO2SfLqH/q42A8T598We5YXtLE3zjxln2dnLwa\nHJ1sIp9/ZSZEIpRiMuKGRXrqb7V8IIJleC/mRjqIEOgVlnGSbaaZel8m5TAF\nJNOBelEAI6c23wzPJSStyFnPjhPtLBDtYwuOaIaWNqg2NXongA6z9OvnYoU8\nOVrwcOvLmgWREMOAsrxpqmwJQFY1YfTS4xo1vpxlqPaeGPFkvx4ia/OA1hQH\nKWClmDVt3ufkTOgBiCOGvsqkIhZJbOWE6DiamDvmSzQE/A7U0HXhMfgFxeVZ\n5ppVM/4GaeAxJMfBNzC3UNcJFQ+mAFvFAyUHr1VSdEfzn+VDE9Ki/W2kkDFO\nCHyVcacXCHZlOSshtDUl/+kgyghEMeH9x1BARfm7eqTW1XK4dxI90+WdCHWI\nQtINTf4brF7yxbRxqf5PC7gCBR+m60Osn0Wblr6KrCPngavD8qeN0q/8hEIr\nu+Y15Jsq3XHmEt2Fwmlfj8doxLilv5BhkRogY7UPAXpwA1Vn1r8RtjEvpypm\nl3tEaQbQjME4Hn0kr1OYDQ8Fb3Ry9ueDmw+4ZSlv0ZWnQn7VZoa76iWyMEa3\nRE+Q2tS4qalBTx7iZlRpvsSOgX4I6aYUYKra+0tKWPRieX/tloUpob5T4oe/\nWNt5\r\n=bqHe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKk9DjX7ekpsoaJToqj5F0KXf34yi9ZuFqu2W6t8EruwIgIj5HYJnnceFu4NSIQ8iibi97r1N2knULnoInqepndvI="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.4.0-next.1574656769.b447225bf339025e699aed75aff8b754be133c38_1574656771338_0.2612442841497573"},"_hasShrinkwrap":false},"6.4.0-next.1574660605.5628afb717e7f32b45e00bfe35ec3edf22f60b58":{"title":"CSON","name":"cson","version":"6.4.0-next.1574660605.5628afb717e7f32b45e00bfe35ec3edf22f60b58","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"bin":{"cson2json":"bin/cson2json","json2cson":"bin/json2cson"},"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^4.0.0","requirefresh":"^3.0.0","safefs":"5.2.0"},"devDependencies":{"assert-helpers":"5.4.0","coffeelint":"^2.1.0","kava":"4.1.0","projectz":"^1.10.0","safeps":"9.0.0","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"5628afb717e7f32b45e00bfe35ec3edf22f60b58","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>json2cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.4.0-next.1574660605.5628afb717e7f32b45e00bfe35ec3edf22f60b58","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-E13j6KBIR5MiISespvKGiM9c+qumDHGDCWn1e0N1Gt3vN1ebGud/QOKwgoCe7MMnJNcfwU7Tjap8ALjtUosESw==","shasum":"2b0bf815973a7b2b0f104c5313acc68366af36b3","tarball":"https://registry.npmjs.org/cson/-/cson-6.4.0-next.1574660605.5628afb717e7f32b45e00bfe35ec3edf22f60b58.tgz","fileCount":12,"unpackedSize":78275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd22n/CRA9TVsSAnZWagAAZZ4P/Rnbh1tNDOYS1sPpLRoT\nAde7jJTKNljNQTSAcgJAqsG6pBryBVBK3RVMLC65S1BYt8tFx3mH0/2+t1mV\nWKJMmq36vC2v2C3w0QlHCrJcUKrMDptzqn7NFQ3jf1S8ioM/94AiyFz9yn0j\nZSQry1jG3cKkvU91RSv1mTVr0a81LYhQTX9bRHh9UiL3gUD9ptmDAsk8awET\nJCcimPJMFRwWbxmfIOXyhJTd1batuYg/MyaxaFoOlrF3Cxu6CxEejcLsBiud\nbejATKqkooLGcyx347N+bDLaJmjL4lexHLeT1adyr+ssuuj/s+yUpYYqaL6g\n7SciypPYNmffclO+ij0h3ETobNNVYjRLj0+KXp+LrcKPN1wYk8HFusrx2vaU\nfnyIRs/JlX9YIGs3Wit9Y+2NXLNJsta0LCDw5d1pBpHvi7x5sH5tAidmbkGj\nuTR2GJeu3NqXqpvSW33cOwM84LMyA6dzWNDJ1cyYNEg1zOmw4GX+ehIXNzmx\nRSi6Kf8tsEQQcOCwc8esnKOAfyXJvuW7wS+t3WHI0aPXM+PR3FGuSuOrtoE1\nGntf/hJgyiDBmmZF1mjP0fmIxp2iouoSH6a2o1dMbhrJwuetE+Du5IIu/Asa\nwxaiqQz881WF7zyhKoRT74gp4M6VQ2GO0EPCA9Ts/MAIlSIsXzb6+7ZtPp7i\nSnMp\r\n=Q/EX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBl3eRTzK13KjkcgQ7l+AIHeqTyvI2JgcYjt20Td+4ajAiEA3tqqg+6MY+FYQOEjaf4ak44gcxy9uc2u2A1sDp7uXVQ="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.4.0-next.1574660605.5628afb717e7f32b45e00bfe35ec3edf22f60b58_1574660607200_0.5958911197897874"},"_hasShrinkwrap":false},"6.5.0-next.1575138333.b55bad1c1393b9a3805e824056c7d0f1d41894a0":{"title":"CSON","name":"cson","version":"6.5.0-next.1575138333.b55bad1c1393b9a3805e824056c7d0f1d41894a0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^4.0.0","requirefresh":"^3.0.0","safefs":"5.2.0"},"devDependencies":{"assert-helpers":"5.5.0","coffeelint":"^2.1.0","kava":"4.1.0","projectz":"^1.12.0","safeps":"9.0.0","valid-directory":"^1.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"b55bad1c1393b9a3805e824056c7d0f1d41894a0","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.5.0-next.1575138333.b55bad1c1393b9a3805e824056c7d0f1d41894a0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-VtKAf4vF/zqXFG9rn/+/cD7klBp2RQhcyg25c6fifCI1XplCfGHKvG24+otF8BaQdmDU3m1U8kQSL2fXAX7YyA==","shasum":"81bc1f2f65d3c7e09c826e040b1cb2e5c473c7f0","tarball":"https://registry.npmjs.org/cson/-/cson-6.5.0-next.1575138333.b55bad1c1393b9a3805e824056c7d0f1d41894a0.tgz","fileCount":12,"unpackedSize":78106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4rQfCRA9TVsSAnZWagAAXT4P/jff5sYkc/U84xKbT4U7\nx24sprwuDFWKchKZ/4GRwAHw6emcKZgyXPPEjkUl+DZskcUF2bIu8qvF1SKb\n6pcYw3A/YDbAvQwgsuuW0mpRQjWpG+kpbeSEiz2lI4VJftxcabZO1xhz5GRJ\ngLGUrJKomoTbiPIcAYlqevWN2CL9rRfnw17S/wOMHji6Ahjdsq2XZ8/A7Q5N\nmbgyQiskX9qs1EcKV3ARn3+5JrYJxg53gqpg/+39SO4PCidd2P3N1PgXd6AS\n9CsZu7SsVryRy/6MpGIYU28hbBVnF+8ajVpxu18CQFPD9RccW/Qfg3IIae03\n+D9kg552E6uaSpo11OVMBdVfIQjn6ZHuuiizYtBmTyOcYZbN8pPJ9uoqgitV\n/YsXUH5Z9f4GKlizlpP7vIqWmZxM+7+d9ews3T7OI4D1YWDxowJndmBDzSbX\nQlYL4bICnfzt622xlCr1SWBU7eV3pP4dFc0mmypgyIA+onMhBei+W8aE2VMV\nIWscQF63qmgmrT9G1u9NOmg8zyLejUAovaCv4QMpNN2e9mDcecdNWRXjfZgf\nEowYRfzmss/4F5Wmn30TIpee9INbVJywWvpFSsVkOEYZP9iU1XxKkaZ656FF\nKQ3Po1SSHGNFVyff906n3Add5T78Mda278ek93KRiXimX8XeLWLmFqqP+cfw\nLxzQ\r\n=D43y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIExo2euaqHAy+9CS82HOwrcrARv+RUyxtT6ON1wp/itXAiEA1hvRjrO8demSKgkdUBlnaoXyLwvmoc2hAjbZp5jqCFA="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.5.0-next.1575138333.b55bad1c1393b9a3805e824056c7d0f1d41894a0_1575138335341_0.22093770197853124"},"_hasShrinkwrap":false},"6.5.0":{"title":"CSON","name":"cson","version":"6.5.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^4.0.0","requirefresh":"^3.0.0","safefs":"5.2.0"},"devDependencies":{"assert-helpers":"5.5.0","coffeelint":"^2.1.0","kava":"4.1.0","projectz":"^1.12.0","safeps":"9.0.0","valid-directory":"^1.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"b55bad1c1393b9a3805e824056c7d0f1d41894a0","_id":"cson@6.5.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-ro/1YcmMtAW0/SbE+v96KWPL5XhjA+wF9Be37Vg/A1TNyjqkZE837TYgctHg0R+sGBABCU5F6nOlDbxWs4W9Nw==","shasum":"12c0305b7ac57ac9fc607a0c61c96c61142ac157","tarball":"https://registry.npmjs.org/cson/-/cson-6.5.0.tgz","fileCount":12,"unpackedSize":78049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4rRdCRA9TVsSAnZWagAAJ9kP/iXhwETtS9dpu0x6rnpp\nVIfsraTMn1f3hflTp7iwY4l1fz/h9IAA/j33Aj6fGEALsEQQbFGDwNu8yn0A\nDN0t3yLj7ro1GlD2Hqbh0qetManWjd21uV8noTJ/XQfY/1x+1//wDcjcdrkU\nEXvn/JISaAZ4/sjgo4vUQukEw4OxDi+HCn0nm9+k6l+XTB0y/5sfJAG/aDPl\nSErxg8ehZ1bMJCTJpf26/4bw13SPMXa12VoARKh3yA4JHv2dotA6O+9UelO4\ne2dSbP5Q4sX0vmUXm0Zc3tqTw2eHJdIoT9PO8zYBom77y9Qgd6tVKuidZ6GC\nCtoHtfvgL0XU1kBEsIr6O8Lx3hvDi74j8+9qPlhwwGaT1YR29Wqra/WH9iJj\nSUB706yaeno9ttLFD/+3qETgQ4IRZMCAfjOgnnlZeYqQtH3ZeONPUCWx+EFA\nyDV6lPlvLvsY22zoOCfjLRHEQqikb8BN7t9/TZ3/n7W4Butmz7z9CD616Nsk\ny5mYEEISGXa5RWeR1+spm3qZwtlfX0+NG2y2QiU6OSl1IBOXVX16T0tD3IgD\nK+jjguS0xDSCACcAkn5mTIWd4Ep7HuyfrtX4xDc+F4pkq8nhFXFy4JRnVZZR\nYpI+tcDOHD6/Bqhr2JYsiwKlPamDh7Gq2RLraIeA54rpmchHEPXLBDACYmq+\nrMou\r\n=3wpa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1ZmTfYTN9HTAxMSUVzcFw4DT88Q0oSULc8c/cAj1tzAIhAKhPz95OQN0AQ8tQHPEI0W0GZc1bio4K906gQqv4tsHC"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.5.0_1575138397262_0.038544938246867666"},"_hasShrinkwrap":false},"6.6.0-next.1575145078.e2c67b0e85eb97cf539353ee15be695ac84f9c1c":{"title":"CSON","name":"cson","version":"6.6.0-next.1575145078.e2c67b0e85eb97cf539353ee15be695ac84f9c1c","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^4.0.0","requirefresh":"^3.0.0","safefs":"^5.2.0"},"devDependencies":{"assert-helpers":"^5.6.0","coffeelint":"^2.1.0","kava":"^4.1.0","projectz":"^1.12.0","safeps":"^9.0.0","valid-directory":"^1.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"e2c67b0e85eb97cf539353ee15be695ac84f9c1c","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.6.0-next.1575145078.e2c67b0e85eb97cf539353ee15be695ac84f9c1c","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-eisl/+NrPYO8Kxtr9Amtvh0dlf7ljaMYO6Ae2bldAPDC8bM0W8sKtOoHCjk3UEff+wBCXGdRk5oGcmoAczYnkQ==","shasum":"a9f71bdce414339a1a73653e43a7ac1bca475cdc","tarball":"https://registry.npmjs.org/cson/-/cson-6.6.0-next.1575145078.e2c67b0e85eb97cf539353ee15be695ac84f9c1c.tgz","fileCount":12,"unpackedSize":78307,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4s60CRA9TVsSAnZWagAA4dQQAJ3RkLc6VjFZRmBxcFsb\nnoKExdri030Dp2RxE4CclFxMXygcUhg4O+8XNZHFwbSyLbTt6LBjEfanCbg3\nf1ed8kCYFilu3b7Eyq2zK50a0lVmiNjMliGp+BBccJrZhC4Eaa+xIrKx2ycE\nfJ9RGRgF4uAMiT/uUwOxuumiNAqXgBoR8NeKae9pGb18Nq0zUHxPe5Ndx89e\nT00jbH1ukzb1BgxSFclyfgW9jyWBMd1ckM6rB3ef1LxmIp0V92ztqBZikbFe\nQRFTNgDrE681FqJMLkClOKdZHGd2pTgbqLTCig3MmUKTnUSqNhVdbDuVm0yO\n3Ej2dBJmZY1U9jmWYA8PrtYkbjpxagCdwI5657Io6Apd33nFSdWL0+QuIEQ5\nGXzlr7aTMjiC+0Z6Vuxojq/O9mD2jVZxjxzCOTOs4QCCXbGDasGb0xAV/Q98\nuBLJf+3Nx8iYefAJ04t9mqIvP1bUMAkd/VOdhL1Go22ZRJ8aJzzTFlPk7OOG\n8CVqnftDdCVnz8gWXjojF4oAFB/dpZ/wtZ4dPeQohCzzL3UQp3Pn+3ibcui8\nNv2FXc180yi/zfpweBhGuMDa3sfcF0cyJ1dHr8Z8wGgVsHf7bjHn6WMf+WGJ\nYkjJ6ajfT/E6nd3Jw1BfrnAgx9CgIAcdojbUIyJs+0ikXoqD1NbkWRb2NNsv\nUeSg\r\n=1dik\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhIwABb7osY9F2T5rusL8QK29DwsNea13sht9kjQdLqQIgRHzDYvP0jzvLJkjLPmb+8at49pLXOu8OAJpo+Rx0UZU="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.6.0-next.1575145078.e2c67b0e85eb97cf539353ee15be695ac84f9c1c_1575145140300_0.4496681487017302"},"_hasShrinkwrap":false},"6.6.0":{"title":"CSON","name":"cson","version":"6.6.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^4.0.0","requirefresh":"^3.0.0","safefs":"^5.2.0"},"devDependencies":{"assert-helpers":"^5.6.0","coffeelint":"^2.1.0","kava":"^4.1.0","projectz":"^1.12.0","safeps":"^9.0.0","valid-directory":"^1.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"e2c67b0e85eb97cf539353ee15be695ac84f9c1c","_id":"cson@6.6.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-Nz7Im9KSzBzbuiJOgw1xje0/tMGpZ48c8lRoIWvd//ti4YjfgK+hDKheGqX66nGbiz2u79zDSogs6n4m0ieTsA==","shasum":"4f6618fb450312dd8bc38a0a3da8e7450afb6522","tarball":"https://registry.npmjs.org/cson/-/cson-6.6.0.tgz","fileCount":12,"unpackedSize":78250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4s7ECRA9TVsSAnZWagAAhhMP/REnNlJXxHBebPBvQAj9\nUpxpr7b+Hu/AZQSdxjOiCOEoGaieIztngdK6Aq1qMCeuG2+PtfkOoYg384Te\nQhbakB06Y0c4gfDHjoOmmUvvwQMFYdZk8kYV92s/4ic3OQ3wBY5EkFGCfL8C\nhtSZ0Uha++KLOWTkyvkl0oEazzrpv2LbbZwG24mj5fPynSNu5nx+RqGBt9uJ\nd4AtuYTnBilm94QbSScfqtRKNqdaPUjL1eHJ/ZBOa/ftI/gl/G8cGaTdUAnJ\n6Qkhn8zDT9pzSktVXL3av6gNEAnwo0CgNjDdt3ptUZHv2lj5iYgPGzB3dqLu\n6OhEf+xtJunttGXrLZ8k0xwwF2FekKJLYs6jE91hg1rdl1VmWMcnxxJbDbyd\npAwJhOM6O3mNKRSN3buYDePPi6uIOAI0Ixl+DSXtmUKnc2eirE3DM8/qW/PT\nomX30NUOOTAFfbOSubIyYbgx3PRddao1BxDXl8Y/r7ZWSaakdl/Syw4ZxZvB\nSxS626BOGlur61ElfNe7HE2xePxZRNnr/b/eRh/wZqkpiehxQJuR5UeNx3Gm\n+Fi3iKx5oio3XEEse0ILeweVnPIZD8HZALBylYvwqjNNtRclKBuz3Ez8H4gq\nj6raKlyzJ79+Oqg5oAVejtLCKGZ63/TZEUxKVDRHtLrzF1Ez6nBGrGTL+Eup\nAJfj\r\n=TntW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHr5kM/MJ5phVgDPe+o1pJBBigk/+tc+AG6zuZOyDz2pAiAK1pkKK7Iny6L2jhZEr3foKmLtUhS5VTaJ7ejAKzDIOg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.6.0_1575145156229_0.7074035216773116"},"_hasShrinkwrap":false},"6.7.0-next.1575168791.d9ace15eb254b54e44f5996aeccaff4af85912a9":{"title":"CSON","name":"cson","version":"6.7.0-next.1575168791.d9ace15eb254b54e44f5996aeccaff4af85912a9","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^4.1.0","requirefresh":"^3.1.0","safefs":"^5.3.0"},"devDependencies":{"assert-helpers":"^5.7.0","coffeelint":"^2.1.0","kava":"^4.2.0","projectz":"^1.13.0","safeps":"^9.1.0","valid-directory":"^1.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"d9ace15eb254b54e44f5996aeccaff4af85912a9","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.7.0-next.1575168791.d9ace15eb254b54e44f5996aeccaff4af85912a9","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-JHXdbElD89w8Toh+zdxlz6qWNpYXnnyxffwkK8elE2j+TAi+mZlU5QkpuDlMRdz+gi0P4QHVAVQF/0aQekR2sw==","shasum":"e8102d2eeab107784744bc709b956784bba3bed3","tarball":"https://registry.npmjs.org/cson/-/cson-6.7.0-next.1575168791.d9ace15eb254b54e44f5996aeccaff4af85912a9.tgz","fileCount":12,"unpackedSize":78512,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4ysZCRA9TVsSAnZWagAArrEP/ibvK0GEWhKYQDX4gmGF\nxFWrHdZNiK8FY6zum7B6rZnx/dSeTzqSdJMmn3WRyFhE7pyY3dEVQEGqGMfe\nAHrZ3iDk7y10tmwR9AX8XzQ5kDo1Jtt8nH2l3Dn82FEGMh/kz1E9ZviwaCbz\n3u9VSo38qON81CQOZ7Pf6woBReNY5+MBt0pE3N+OveqgAajfoa+nUEmrNawK\njttev7auLIZFjKeqMiaKBf5R7KT9QKgx+0TzXfYhVKUPDlB3HvrpE15rgyp5\nKqFcXkzudB9dhY3Jw8UoQKAWgFxDribv94gt0F4NFmJkLnE8uNnVmDSM6KxF\nCIQdVNXxTpTB+Ri2eoNGz4Xtnj5JeRm7quSFCdPis85WhYB93X2Xc/v/2VnV\nDmeKC2/H2EmW9wpI3ZM7AQfTM1ZLrUigYaY5Q9maT3n8V1tBFGXFSkM140Xi\nf/nOpm8famK/nfR1WYbXDbqOQWP/fRTQr/9CyLwNoCdLKvRFbHo2DlyUKchG\nT3KXmqLURHNeVBUJaiOoU/MVRTw9D4DDiyxLQwyaJsbY90pmyfGUTYUrgteY\naXfZmQHYUMY76ZyO4v4uV9GqZc8QXAYyrs+FUkf+CA7uJ5/4SlC6TfGJ5EID\nCw6o2PA16WIPLYui2X3QjLVPEBYXkpmo2H1Ju9LDeAEITCuTdKMk3phoTtBB\nqQcZ\r\n=y7V3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICWXM7qOMxEDGsVhj72ecRvlKChc1bAIydPhqfrrAg/+AiApT3r+c18GN/+PnBlCwNaHQjFMrcqTqxpg7M6LLMv1Fg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.7.0-next.1575168791.d9ace15eb254b54e44f5996aeccaff4af85912a9_1575168793395_0.11656712752524134"},"_hasShrinkwrap":false},"6.7.0":{"title":"CSON","name":"cson","version":"6.7.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^4.1.0","requirefresh":"^3.1.0","safefs":"^5.3.0"},"devDependencies":{"assert-helpers":"^5.7.0","coffeelint":"^2.1.0","kava":"^4.2.0","projectz":"^1.13.0","safeps":"^9.1.0","valid-directory":"^1.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"d9ace15eb254b54e44f5996aeccaff4af85912a9","_id":"cson@6.7.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-QSFhOBsIOToVTjYUtRyj6dtXh80/zo/abWKQLoNslx4FfKL3FpzZbHGQvu6v8DLFlz+cpO6KlxjkryzlO9JmAQ==","shasum":"ecd0056266365a6da7f0e0717cca98a79dd9bb6a","tarball":"https://registry.npmjs.org/cson/-/cson-6.7.0.tgz","fileCount":12,"unpackedSize":78455,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4ytXCRA9TVsSAnZWagAAuoAP/0tS0ksnUtuuyLPlnGFH\nvp4c+/eEExdq0bt33V2z/J9Fw6vzcTMZl3j6qTfz2jgoMlC0JlwfqoaNeV4o\nBFcEZroM84/yTbiPN4MnaHGlmf3070I8sjvYJcWbWZn66vEDpPoob9aF15gH\npVC0ZodvUfsxZN+2j0ypa9Oq7SYvoY9bYjXRVSY5IuY8rJbR6VDqRtwoWyQ2\njqEc15Ts7sbWv7zan2Hj5DTDgBpHg271SQNE8E3CRckSpreySWD+DuPsnlr0\nK5rWBXaYs5iVCtrFCZB2EF0/H3SemMLgCWyG8T0i8Fnhn1i1At4k+gV2quFS\nt3F0WtmaaR83l0CZ8WGqGBxwPagvRjyuXPghVj6fLWzLctZF3Qj1EC3PKO1D\ntddjzFIhh/LCD4KJh097cOyXAejGDvBGQrVOigUUhBxq1/DJMtX4dYsWyD2m\nCHAbbVuQPYOgiBEOTJ5jy5Fm/fDCZXp8RvsqkDt+0hux/7K0Iii4JShs5Qwh\nyZPFWLu/bsW3XO8EN5NzzHhXh0YKRl2rVUoiE222viwOqXFKvnyK8B6KN45b\nXM+L7XYTYzIH+DBjea4RPeFCfkaRAhKRGG2dYuAMR6JpYfZDP+e1ktbJwFda\n75jheT0xjsKuIMMb4A2az+Fsgte1qs8ikLlypUX0zgEzWPJuSC8XPObbT4Rm\nnrm7\r\n=JmdL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEGZWhicnG1gO+1ZwbZ/BIYMFWrZVs/nKg+PkEt8PoJgIhAIPNhk7/e8UFmVXLZJCOXHD86gvFYVMMhHC1VuVEX9Wj"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.7.0_1575168854499_0.305440106637741"},"_hasShrinkwrap":false},"6.8.0":{"title":"CSON","name":"cson","version":"6.8.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^4.2.0","requirefresh":"^3.2.0","safefs":"^5.4.0"},"devDependencies":{"assert-helpers":"^5.8.0","coffeelint":"^2.1.0","kava":"^4.3.0","projectz":"^1.15.0","safeps":"^9.2.0","valid-directory":"^1.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"1e48f2184d27664dadbb7b790d0cf2dd03fcfea1","_id":"cson@6.8.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-+kjVYetZGZfYz3mu0lbvRkNAANtnqy1FxAYIUbAhnKz+JoM1JyK3lzgzb5u05q8xxeBkXWNEuZQbiO66tBqjZg==","shasum":"350af00ba1c5ae20880c11c421ee179c374ebc7c","tarball":"https://registry.npmjs.org/cson/-/cson-6.8.0.tgz","fileCount":12,"unpackedSize":79297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7f4sCRA9TVsSAnZWagAAsIYP/iHxEe0UFLjQlGCiHAn/\nvNjmCiw5pJwnkcSAnYgFypzinSb99ys4mZyxsQ5Ma8317gET3ofXxvedrKYb\n9YvU7SqjEHxHN+H+FbRgP0u0XyUwkaX5Oaf1iTdW0obi8usvTakkksfLL136\nJ/E0p+A2CaHylJI1OPGIOMykqnzaTSUdDahOgjSMC+wCYfK3qazyiBhZ1N1C\nRXIPRvmTTKmVrDElAcoLtNHWOHwm/FQzTMaxIVVTbwcTCDyOEYaN5RUPR0w8\neUcAloBtc5pjjTL5UHB+rpfWRR3snkGozCs6NvIxiL+fMGcMDhc31HPN0EdJ\n2J27vChpcDq6+3wTFtcWUYl5zel0+nFMtAnNRCq+ONmKkHqoydBEjnsldPDb\nilKTMpD8yjLniybrimtq6FBxXyjXqzQp7OSFLYGdzq9AiRT7LXWaxvFC+r57\nPH7N8yBapkR/ZUHoVXhaByr7tx/+SIK775AolNUnN2Vvd+2fE4v3Z2sBjTOy\nHpkEZXldFlWor8r3jnNgh8HcgfAaRg5m+BJpf4kYMRt2j/GGjA65UwrZKNTO\nLzIwXJHr3JJX5AFzjVvacjToLlTtKrYyH9B2gNyWjdDlCDliGqWZo2U5u+Jw\nwJdDYzswmw88RbjWJmC2UvqmAc5r3IA71aCud+bUCw30sN7XTDiv310O4FSe\nTi1/\r\n=YEPp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDo7aITj9QXUuSbwkURLNbZvI4w4MyfP78bSIfFX5v5yAIhANji9gLRF7JyHDvXfkMgj8KJd1sHbexm7v/6+z8RYB4v"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.8.0_1575878187927_0.9361776076112822"},"_hasShrinkwrap":false},"6.8.0-next.1575878242.1e48f2184d27664dadbb7b790d0cf2dd03fcfea1":{"title":"CSON","name":"cson","version":"6.8.0-next.1575878242.1e48f2184d27664dadbb7b790d0cf2dd03fcfea1","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^4.2.0","requirefresh":"^3.2.0","safefs":"^5.4.0"},"devDependencies":{"assert-helpers":"^5.8.0","coffeelint":"^2.1.0","kava":"^4.3.0","projectz":"^1.15.0","safeps":"^9.2.0","valid-directory":"^1.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"1e48f2184d27664dadbb7b790d0cf2dd03fcfea1","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.8.0-next.1575878242.1e48f2184d27664dadbb7b790d0cf2dd03fcfea1","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-yj+0wu9xqS6Ygb8DWT2B0dlk8upGCryybBGEx9ybb0+dLngI4V+FEhX9sa75oBlm5byCEh2n+kDBtxr5qZFdXQ==","shasum":"1cddcd610860be82ff2d52d84ef149e2723e312d","tarball":"https://registry.npmjs.org/cson/-/cson-6.8.0-next.1575878242.1e48f2184d27664dadbb7b790d0cf2dd03fcfea1.tgz","fileCount":12,"unpackedSize":79354,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7f5kCRA9TVsSAnZWagAApTIP+wRSgCILyawb6+jaiEu6\nwtZwIqarF61irysLWf7K/qEQayVfjvPnW7MPoW2wN/7snA2oU2dqHD9gYnuR\nsE/uyl8ABHjlnqLubX8LoODTfrilFuzZuKOnoJzPN3Ho+OUDEZZ0wkZ59APu\noc1+5nT99tEYLvfSH5aYXnxAVxqfXOxtVkSn38ctE6Qu7+DnhSq67SzFYXHd\nrfTKL7k/wSEwXFS4bm6IQtFHMcmD8zzxmHvScK4I8K1Mlr8Ia8r8pq3qaQHE\nzmHS+k+TOs42NACY2s2yd75eIbcDma9O2QQAsdDmcROwdS4yoHH8YDXQeLUb\nt2+qZDh2ilOMvljy18wMW7AOhOBZK1qkOpQ+oED/CoGx/juRxRMgApV5we6z\nrxmTdC/1cQUaSTDJBrXePva4tqrel9S8Xo8vSmY4W0xFT4GSnWjZNl4kV4CV\nnqBo6RznrN8FHD2KMYDb3WpmkAuEZoQ+xo3kFpz4nnt4bKp+OyYfyeGppRgM\nSOBCHjGY3ZzGXIsF5fafnok5vd0an2gMjZfJ/C2KVKblmZ1nofEoB5DnIREG\nJKRPWYxattjRbOdwxtZpInPdCFxh360KdM3X2GY3UFcqEl4bJK+PCghPCJ0p\nwhSe7Mt3SfVI5tW6CwAOxlqDPer+WluQj78kwrO04Xy6kjyVvm8uWhm2Iw2R\nMnLZ\r\n=LYKh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChfrtxvcyy+zjgd4WBy6BBjX+8xYmO31SnTkkbA9NgtQIhAMuYUeEKOYEO+8LtcMkIY1+79VuoBHFcoDkTHPpcoyez"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.8.0-next.1575878242.1e48f2184d27664dadbb7b790d0cf2dd03fcfea1_1575878243837_0.2043744552323925"},"_hasShrinkwrap":false},"6.9.0-next.1576603916.6dd6652dd2626070252f4ce0bcc1ccbbdd42dadd":{"title":"CSON","name":"cson","version":"6.9.0-next.1576603916.6dd6652dd2626070252f4ce0bcc1ccbbdd42dadd","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for Node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^4.3.0","requirefresh":"^3.3.0","safefs":"^5.5.0"},"devDependencies":{"assert-helpers":"^5.8.0","coffeelint":"^2.1.0","kava":"^4.4.0","projectz":"^1.16.0","safeps":"^9.3.0","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"6dd6652dd2626070252f4ce0bcc1ccbbdd42dadd","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>json2cson</code></li>\n<li>Require: <code>require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is coffeescript source code with require for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is coffeescript compiled for Node.js with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@6.9.0-next.1576603916.6dd6652dd2626070252f4ce0bcc1ccbbdd42dadd","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-udIaNjv+RcpoEA9yqw9McTqrS/70399S0o0waFmLrk7rPLjBi5dnB0ASYo4ZbsWdtHpFhShWtiAwdCIClO/5jA==","shasum":"52793515229f81200bdaf8864d404bcb5028ef9a","tarball":"https://registry.npmjs.org/cson/-/cson-6.9.0-next.1576603916.6dd6652dd2626070252f4ce0bcc1ccbbdd42dadd.tgz","fileCount":10,"unpackedSize":79693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+REOCRA9TVsSAnZWagAA9ykP/RdBZGU10QrZTlEUjO2+\noZTrHtQ+hjAb/hHaD0P82ZrOlLAHTcuV049cJXvrlp9w4I5K5mS5AtPreDnj\nDPVjRO42S0V1dT8cgRSg7hG/ajI+IBvAWCJ0w2EghBFe8Nb7Bb9zCFaSljfi\n4QOsTxz8/TG158npxfFudmWxCkN5vg/ky9tC2gLtsoTW6fFszcuwycX6F2f3\nytQSF7EGX8lKzyoFnpq9aeKOyjczDRCBcEd3YtOMGPBzZWvZo7epFaaxCDTS\noAe4hlwJ9gn8ktK2o0GOgajzW6/nfwRiEj6Cvajj1AJ8k8283+13luBPAFeV\nAHP/5EgtKUKFVFrC9p2VwbUu+P61wO+cpttf/oM8Lu9obaFv8LqgZeIXxIHv\nps2XgAjsxf2DMGWPyuwbytWVHX1DBJHWRaPjFhdv9XIls7RlL+O/Tzf6vMbq\n0hQAqDFOMKk2xlcfIKFH2YPxCWWH7C4eBgTlc644E7EwnPxoRhQRC3+z5YDC\nxGiJHDAHKwGRpIozloacDeexPiYGRxQZVBFBviP9+DTfgArrMCACUZuwSaOS\nYDqkXc44ZNArgJgIXiqH6Ob8fX+AUf1VNAC2PpjgZeMo2QtS2RpQ4WavBh7x\nJVebiuTbY5sUj4j3r+xAqMsAZYTH6aHJ9gEHz4And1e1hIcTN42LzX6+fThP\nUw7S\r\n=Elor\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZ4G/z+ojOdWpjIU415uP+Mt7lUQRYAg42QFX+vtDGpwIgS8x0SPlE9OaCjaXhDbKueJoYbfLb1FkOFezNCXG+R+o="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.9.0-next.1576603916.6dd6652dd2626070252f4ce0bcc1ccbbdd42dadd_1576603918027_0.5854855646020616"},"_hasShrinkwrap":false},"6.9.0":{"title":"CSON","name":"cson","version":"6.9.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["javascript","coffeescript","json","cson","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=8"},"editions":[{"description":"coffeescript source code with require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"coffeescript compiled for Node.js with require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.4.1","cson-parser":"^4.0.3","extract-opts":"^4.3.0","requirefresh":"^3.3.0","safefs":"^5.5.0"},"devDependencies":{"assert-helpers":"^5.8.0","coffeelint":"^2.1.0","kava":"^4.4.0","projectz":"^1.16.0","safeps":"^9.3.0","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"6dd6652dd2626070252f4ce0bcc1ccbbdd42dadd","_id":"cson@6.9.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-iqtKZ8q2oWFSU4qxP+y2pekVEXzzE1wFXaAu2U8qR69XnNoImtexPHNw09ksBonfuhLjYsaOFjbt5iKu0zACcA==","shasum":"929dcd6b9179fbc65ef610c46b3be5a233c63e2b","tarball":"https://registry.npmjs.org/cson/-/cson-6.9.0.tgz","fileCount":10,"unpackedSize":79636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+RFLCRA9TVsSAnZWagAAgzwP/292WMNte95r8w+wSYIi\nkPmgG+N3ZY71v3IvXD2E75OrdovxfR7UjIZ0/3URFfU7IsfRmp8HBgVN6cmr\nFXt7RYm/jSefJKgmpKg48cRoh3O9qCmttin4IoQORvZDClfW2ul4pfckKA4W\nSl+/JGsg0hVI3g8Z5Y/Cp9uxU4VqnBNG5SaEJ5uRlAneqhFObnQN1xgeqaLc\nLSiJUEaHLo7168yHfzOWTLsy+x3aAzMQnB+OmfmTl1TQegaz87Dh70Ru51/1\ncF34bqzST6tQJrwtoTTmHHf0tu0ofVI6ufajNC9iOKvg6Fd1TqKb++XbjxYO\nuo12Nb1AJwLCeUYvjJFl8i2V6xDO/oI0u9OFqC+Oz8fPHXpehjpjtvcxoINg\n06ZxlzleR/Zf1nKnCq0JZf2wUh3uuxgJjr9xR+3uJAwZ3ItqRl4B2/vFOKyq\nnIjB2fRD3Y7GKOXWmkn0ziRJ7MWU8myAp67yhkRQVnvPGWPqvu4873KlAPn3\nRCsBHte1psHinwAuckk0Y87EfNmOQrwHsYzL+POVDi2eGfWIh9kYCf5HKxHh\njd1xuNGOyMwwPyQ4nR0np81JVX4qwNvm8T7OQqSzFKJVIZSZUuGsHG2Nvt31\nuC8kSS93IVGnVa0Y46mQKCTzXGsI9v9j1sfHpbxY5Bn0yB+4+VOSn4Wd6yh3\nEGq2\r\n=GpK5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDn8EsmBfTxtnCfQyqCFWcYQs7Yrkh/RKt2dw3tiR1sHAIhAP43e7rbY20shms+OwkwhZzAdV2Kew7DI4oQsj92dxsq"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_6.9.0_1576603978947_0.1638313787184249"},"_hasShrinkwrap":false},"7.0.0-next.1585174801.021615c82bed0577a0412a926e5ba6e77f9039fc":{"title":"CSON","name":"cson","version":"7.0.0-next.1585174801.021615c82bed0577a0412a926e5ba6e77f9039fc","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","json","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^3.3.0","safefs":"^5.5.0"},"devDependencies":{"assert-helpers":"^6.0.0","coffeelint":"^2.1.0","kava":"^4.4.0","projectz":"^1.19.0","safeps":"^9.3.0","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"021615c82bed0577a0412a926e5ba6e77f9039fc","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.0.0-next.1585174801.021615c82bed0577a0412a926e5ba6e77f9039fc","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-a2vtgm7Y0hsvy/oSkVhB+VamhtMujO0DLQk4wKWZNLVVjK3t8PKdDPkC0+Dyrfb72lb0SlwtkRSqrCTrZT1rXQ==","shasum":"0bfdc51f9124e7f3c0474654749ece2a069c52b1","tarball":"https://registry.npmjs.org/cson/-/cson-7.0.0-next.1585174801.021615c82bed0577a0412a926e5ba6e77f9039fc.tgz","fileCount":10,"unpackedSize":80294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee9kTCRA9TVsSAnZWagAAUTIQAI1bfKFhdpjcqujJGlBf\n9wbmRPvYEYP3M0QI6AZNv0UL3xi30OaTmR1cdjcLmGdl3aH0nTawnB4dJKfr\nWsYIvouV7aX2R1l5nz5h7geJUg6VLV7YJGkEDrxTUujo2zKrXCrZgdZFlPOf\nKYgzWIynW0ZudVvtrvn1R8OJ/h5Agt93berR30OV7YAMg+++RZWSqXCiI54M\nGpKKx+BgMDlyFk4MxKdXpdFscuC4Eq/ycYzvo/aKMeZHGrCeFPCPfEPMTBzE\nGbwfyhHuzulsUHBNZl3bXpKuvhh2vYpAfo2+0aT5cfq1N+1LZFGvP31sYGfH\n1f1qK4MiKSWgaLrBknuPGwlp8X24iRF/sLj1CI+rVJZUd0s6nRS/rQ02dVSu\nXV5QuhR7dBvpbqdNiuc0J+WjeyhF5n693wfWsQAWCg6B3kOwKuEIZ7j4NmqW\n2ErOFOLfn5wxTvMaxk5k/Ym8fVDCVc8YH8uSfoqPnwdWw4Ra/CNdJOfg+ry/\nH/9OhKNm+Jg9Ma7bYjv63XIGNBeSefeyAiZlkScDdoYt890MJoI9g/4NNZi1\nWTFSy+kFOKe4gw27edn6Grx4wPAzUa1v/4p1nF8nDT3rppmniNxNdhyInfKk\nF+rAeXUeHHFsyRBa/IyWqhcHMDAs9+p1XHk+eSVdvxjhSI6i6EaSsnP87nQ4\nAOnz\r\n=y0ZB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIARfcb7uHaRymF/lFyQoDx8ILuYHvonzdn614SHDKRQLAiEAxG3hMounqzMkSuc/uyZm4ZYoXTD0aauND/7XjeNLr/c="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.0.0-next.1585174801.021615c82bed0577a0412a926e5ba6e77f9039fc_1585174802533_0.6393290198130801"},"_hasShrinkwrap":false},"7.0.0":{"title":"CSON","name":"cson","version":"7.0.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","json","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^3.3.0","safefs":"^5.5.0"},"devDependencies":{"assert-helpers":"^6.0.0","coffeelint":"^2.1.0","kava":"^4.4.0","projectz":"^1.19.0","safeps":"^9.3.0","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"021615c82bed0577a0412a926e5ba6e77f9039fc","_id":"cson@7.0.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Hhm7c5aGnj9wGaf2KcDCy1Xi3xU+/5utS+ECl4YBCRlTn3q7h6t3iUU7Zn5im4vNhL6vx6LWiWv49A2KSnDS1w==","shasum":"5af532a638efb0acd0b49442881498efdd5487c5","tarball":"https://registry.npmjs.org/cson/-/cson-7.0.0.tgz","fileCount":10,"unpackedSize":80237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee9kYCRA9TVsSAnZWagAAyrQP/3FrtutP1nBm7q1/UuoC\nI1H9n03bPhHN6PWcrIQuTdvEs5O6gG/ye2Q0ewmWb8osjOut6LGpSYWKhDuM\n9ttgnyfFjjY/MJ3VUflVCcp84LmgVMIoms4nEK50QrqVCP30nFpVI4ErHu7b\n9jybDb4SztbOcOzTZqq8TE/PFOLX4RzoqbGAa7OokIXxRgkzukEXdYqvgJJL\naIwZDtdE1wQ8l5AdkOGNdEwCy/7UnFHjDnNGBczeZSIxzvSUO1fehfDhaznL\n1FaMbTDS2qR4/YIs7zuVypy2JjMn8tQzx4tE3gnjAfpl8hfPZwatlMWq01Bi\nYiaMSp7Si7c8135OBQ5KbAdxZ0g4VUIi1lQeqbHMNouBAGhzmNMo2Ay73TmM\nZN8HFTKg9103x4DWWO4NBckll+E+cvYeKvD8FDntmwezVxN0r1rxXxRuccG7\nVFIknm8dPn7hznxwmVwY5FMSXWVK8JjbpJ+MdOLgEeMVWpW0Si7qO/ix1YEw\nDkr33UmfepTEqW3LL0WE5OX2Gak98Nk7/oL9mkUmiTYdMKVOZQLeX51C9N7k\n2rJ+uXsFNakq90j9+8GuX6f+i3s++7Lfp30YFcRYrJKCetUnJ4if7jvKgIwt\n60t440oSug9BcEaq6tgu0GlenqDf0XSOAnY8q3gTmpQGBw5yWh17dUIq76Lx\nEV+p\r\n=Ncuh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBMo0lcyzITxQafziMK54gxrZV0FGT0fvhPlJ9tOEo21AiB/z/yOg6JEF5OAJrGoa/zwquBxJUunIWpnwolUT8moBQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.0.0_1585174808000_0.5825691054046847"},"_hasShrinkwrap":false},"7.1.0-next.1588595148.1251f75da3116c5c9c3bb5e3276ae326d6a63591":{"title":"CSON","name":"cson","version":"7.1.0-next.1588595148.1251f75da3116c5c9c3bb5e3276ae326d6a63591","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^3.3.0","safefs":"^5.5.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","assert-helpers":"^6.2.0","coffeelint":"^2.1.0","kava":"^4.4.0","projectz":"^1.19.1","safeps":"^9.3.0","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"1251f75da3116c5c9c3bb5e3276ae326d6a63591","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://jasonkarns.com\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://nerderati.com\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://yesbabyyes.se/\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://indiez.io\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://robloach.net\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://meltingice.net\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://about.me/zhangcheng77\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/cson/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.1.0-next.1588595148.1251f75da3116c5c9c3bb5e3276ae326d6a63591","_nodeVersion":"14.1.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-8wkkMzZf7H6OFWGAOkRmoq40tVl9hlwqPD2p7MriyHIaFPVvnniAiYKDGqzw903z22CM5GasEoV/J1Yy6zBzNA==","shasum":"e7cb884522783195eef8be4dc2968fd346a077cf","tarball":"https://registry.npmjs.org/cson/-/cson-7.1.0-next.1588595148.1251f75da3116c5c9c3bb5e3276ae326d6a63591.tgz","fileCount":10,"unpackedSize":80649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesAnOCRA9TVsSAnZWagAAD4IP/RhhFQebRnXWlt/wa/SJ\nyNBi1KPaxrA+3a5QpetQZlA2hsBlbYEBiY5zWU8/RbN0iM6ZdGXjL1CMxGW+\nryf/YJoFbhCIRPUPpp4wi5+gIjJe5Qxc57Kgb9trQ+rXrQzhzIorOkibLXTA\n/2bBw4ZY8rI7YL+Jcrmr+9VsOj6kOmKV74ITzkSDYBzXUHdIh/h3KdfJZehM\nst7ugTNfRG+TI+fXLfAotgVrrcB+ab5k/xCZO4NaNxzKz3wBb8wwd+EBEI/J\n03B3OGt2uiTryUkiYZ6FDt5aTNttMqVEO7qMbm2xuI9eptHoluOf1YtYsGWF\n1SphSKsOA9hvY14fgxtIKX+S6F03tglvDuvSnRoH8wKaPJJjqg/PbyW7000Z\nHciQrZE1ZGz1608ELKbWW2ZKrANmlMDSJF1oUF5PScoAgaIweIY4uyP39Htk\nv3xL1w87L/hkllrnayf2fl/ohNvAei2B1qDOdDkJsOuS1On1J4pf49MLFm0w\nU8+aSDJS2htGEdXVzxvvnC+tvqNJuXwrFwlLRwh6PalbkSQdfLC+yVqY8wEs\nRjw7oJ3nI4nxF9cuA5p8gzqBG6pApz/gk1WYODdWWdUihAZFnifabcQ4sZNi\nfy/4mo6Wyr443eMvJoNny/RZu7vL3SsOZ6Ps97EvvaRH1fXnakM2svO35dFh\n8R9p\r\n=dMNg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHKgSc9UE1gQmrlq10CErfaaUUVARmvTR32SAtFJF3SBAiEA19TE+hcEV+xxNLlRhdLIXQASOZksCXIZ8A1YX5jguU0="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.1.0-next.1588595148.1251f75da3116c5c9c3bb5e3276ae326d6a63591_1588595150155_0.3710460041563466"},"_hasShrinkwrap":false},"7.1.0":{"title":"CSON","name":"cson","version":"7.1.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"http://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"http://nerderati.com"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"http://yesbabyyes.se/"},{"name":"Tushar Kant","email":"me@tushar.works","url":"http://indiez.io"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"http://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"http://meltingice.net"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"http://about.me/zhangcheng77"},{"name":"Attila Oláh","email":"atl@google.com","url":"http://attilaolah.eu"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^3.3.0","safefs":"^5.5.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","assert-helpers":"^6.2.0","coffeelint":"^2.1.0","kava":"^4.4.0","projectz":"^1.19.1","safeps":"^9.3.0","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"1251f75da3116c5c9c3bb5e3276ae326d6a63591","_id":"cson@7.1.0","_nodeVersion":"14.1.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-u0fcnxXpmjq/9R2V90pJny7wB84gC1XnvhwsNhcilW3om20ViBgUi3Q6+CiVpsBwghBVc9eyL+wQRuAGg7M51w==","shasum":"4f37299236401329122758cc1b63535ea9032e2c","tarball":"https://registry.npmjs.org/cson/-/cson-7.1.0.tgz","fileCount":10,"unpackedSize":80592,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesAoHCRA9TVsSAnZWagAABGEQAITbXWjPKnFIkZ4W73GW\nKAGo3nFxDEcPhPDa5w2KfyBNq+UyX0wop7h3Fo0NGvxHovQGozHv/FSvV/as\na0iO8TZFIAud7ZQ0GXNUGBmlU88zH8N3nZPQ8FC9wpG/IMYF0AHApyGHHsum\nJ6Ka9k8B+gXsyH0bvp5kvXCa+JOegYupQkz3qiRntGcAprTL2SEDdF4wi1oT\nwn7k5eMvprznjeWKK8hanKMHv9xq4nM05DutOSExUIPc6b+uPTP41t41tZXL\nBjMBZgqC+76E/LxFtRzFG1lpsNJzXQa3/4kifza2IMd46c42loCECdzLL0PA\nbF5AGh+nJ8rKnGdqSQUFbvd35nefNhBp1mbPGx2fIz1Ips0JkMsTNFhT5aMK\ntn+FbqWdffVdDmf+1u+gq4vpqq9J8wv40Nd8PmKxScltCDjjHMOCMDDmNUV5\nx2rf0CL81btf17X+4AUN4RVhEmr3j/RjyiUl2bMp0r+r5xJ8xxDec1ZDMyjT\nzxOFW/ldjFAlpvHMBGN+fXMSXX8ysVYdtgtRcYWt4Nhkwlk9+fq48mo4dHn8\nHkxcbJbKO6HWRjYT1s9Ag3HqZXpUj1mr39qn1mCLvY3/mys5P9kIKrlgF2K2\nebX83QWbf0q6VpahcPSqfqAzSMZSkyJIIJE1z6+W2/LWpTNEtV53g9rEQ/14\nC26X\r\n=Ex7e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPLaFJItTb398f8OnTCsdBO0TmSK9CT+L4lPAJH0wxfQIhAMFZiAf/sVO2A79WCea2Y394n/qJbJkfVTt6yQI8toAX"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.1.0_1588595206806_0.06938196711966493"},"_hasShrinkwrap":false},"7.2.0":{"title":"CSON","name":"cson","version":"7.2.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","editions":"^2.3.0","extract-opts":"^4.3.0","requirefresh":"^4.0.0","safefs":"^6.0.0"},"devDependencies":{"@bevry/update-contributors":"^1.5.0","assert-helpers":"^6.3.0","coffeelint":"^2.1.0","kava":"^5.0.0","projectz":"^2.1.0","safeps":"^10.0.0","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"npx valid-directory","test":"node ./test.js"},"gitHead":"c1272ff17fe02891f263ebe74e575af9d271e2b7","_id":"cson@7.2.0","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-mCr3fKhzpgmXY3oKshWu+JJifzoLbDdUhrtXCIdX10PT09fSPW+Z9IOtGGfd5qujU9dHrp35zXfhs65cxOB6oQ==","shasum":"248e18348a84f8b4e456be2f4918e1fdc3857eb2","tarball":"https://registry.npmjs.org/cson/-/cson-7.2.0.tgz","fileCount":11,"unpackedSize":81194,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuVB3CRA9TVsSAnZWagAAsyAP/iM91s+XIiPMrReOQ8QQ\nK2DkRZdugrhRIf1oehXAOk8GGM6LtKrmBHl09UC0FyZJriuW6C9mTMFyWaQs\noJMIQMCGkCdkwnbo8xBHsG9NzRd0r8ZCF738C/aDM23txvSlbOG4VwYc2u4O\n7nOHwp02gsICvt77ouoVI8Af0s+pVSGTqa/C4+199kQEYOVF+69iPSHv8wlk\nba84pH4jfWFDkGIsnaCqSQ8H/A/GWlzV2C1MUI0/A0wEHMns6YvGVFzd2Z5h\n8pD3kVVPFSklLuNBlxFW1TCOsl/k0rZrjftTYx2I6RPgKeb+3uMEfkAP+MBU\nunZioRPkOC/Y9o+N3DHErIXJ0gc9LVG8z85eJSucfxrp/k/l6ecJuw+2mpq5\ng5cgwJmbPioGkSF7elTmjGNzCWKj1O7nfeEiJcjBH76Wee/5NsLPO2+vT93F\nnqivo61YzoW5Z92SC5vxbHngDW0xqgkw6NV5W2cxxJ3CAlC2R7NT9rcIWV+4\nLtq6l89gbO2R0Lzjb9GbJ06chMEYDEz3IR39SbyALh7ZjVr+pc8uRr4UHTqV\nHu8AqkiPPAgzMkVpeg3yNyUPzGB+tCExzW83TRK1gESadLOS2lTNMBAeDGHB\neIIazB0ppm84bTDLQ2FkltLXSQclALqQE3ZMv1Yueqwf0OKv3ajzVxjECoUX\nx55r\r\n=74ig\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGDoF9T3bAkv8g6P0HSUJLtTx0aq8NIJiF5JfRt5km2TAiEA8yqSGTUz4KNcLLO1+CZoU8TIXssrOnjbwid7LydRbGM="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.2.0_1589203062733_0.11804193301062882"},"_hasShrinkwrap":false},"7.3.0-next.1589249431.0efe69b08dc58ba9baceef325b58af8f7f4c3dc8":{"title":"CSON","name":"cson","version":"7.3.0-next.1589249431.0efe69b08dc58ba9baceef325b58af8f7f4c3dc8","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","editions":"^2.3.0","extract-opts":"^4.3.0","requirefresh":"^4.0.0","safefs":"^6.0.0"},"devDependencies":{"@bevry/update-contributors":"^1.5.0","assert-helpers":"^6.4.0","coffeelint":"^2.1.0","kava":"^5.0.0","projectz":"^2.1.0","safeps":"^10.0.0","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./test.js"},"gitHead":"0efe69b08dc58ba9baceef325b58af8f7f4c3dc8","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson</code> aliases <code>cson/index.js</code> which uses the <a href=\"https://github.com/bevry/editions\" title=\"You can use the Editions Autoloader to autoload the appropriate edition for your consumers environment\">Editions Autoloader</a> to automatically select the correct edition for the consumer's environment</li>\n<li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.3.0-next.1589249431.0efe69b08dc58ba9baceef325b58af8f7f4c3dc8","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-8ftRog27wh4qwOb3Lnj3lW0iUX9aPicZ9OvAVTrvdxgMTXEtyH3grfXcdprfH4pwGchRbU40e7SEmot+V8xsRA==","shasum":"15ed14c4afaace1eefb1faddf7f63fe18cec807f","tarball":"https://registry.npmjs.org/cson/-/cson-7.3.0-next.1589249431.0efe69b08dc58ba9baceef325b58af8f7f4c3dc8.tgz","fileCount":11,"unpackedSize":81428,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeugWZCRA9TVsSAnZWagAA+P8P/Alnk7WNc4r8ebtmQiWZ\nuflSp0EswP3MISXJ7H+JDRdRsu9P7zdgtQC2Z8KDN8c1+HsG15uIw87KK3x2\nhl6uCyUJYf6oFrigI66bhYCXdPpGdQDQf+RWO+LhbdKJqAzuTjnsWEgqHWee\nq8XWZ1re/Au1M48YH3a/3X/IbItiJknVCKXk1IEhQjQgBf+gE2/po4EoKcZj\nRoCE2pmJPTRLc817Ho295+uwLnvKUIESjD7gdjrogJT7G/6N2ZCE6gdKr7eP\nGf3465TqK1TrlwNQIo9fiEedfvzGRex7uIGNQ45QdfxKWbuFLapAIk6FKn1f\nhkebhlS/D1qZivm/t4o5diyi7RFDdjDz4m5kTfOfoM36GIF/dHdIRmELTYaI\nwk8cLqZoOtaQJtiDEuUU1lVi8gPNY4ULnOcD3YmmiHJm4s0oMO2nKPzHcmWQ\n1n3OVAl2L65sYAb0YdARw9ixJubAA1+j3jJJ0oNEYILubWIMDoE1NE716r1M\nwVUaXNysGMNy4UmAMjGMALTfAwsZtGIkzg0ghmpKM24ZHkdytOwoIU0fJjey\nf55rwvyHvbDIw382/nATUlPc7pcP7STVC01/yrWX3/sbCBWUbdx47rEc7brD\n+AacDMHwBfmbfpxgs7MBoARdBzM0xVsSgbrm9js1j91sk7fY8zHrJ5Z6bohh\nK4J5\r\n=yW87\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEMg943gcmeF3bfOmLGvGU5cN6AiLPV6jvDky0OWRZjPAiEAzBAZsnUVE4ZF0Ai+xH+y+xJAcF/3LJl+oBi/81xfKXs="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.3.0-next.1589249431.0efe69b08dc58ba9baceef325b58af8f7f4c3dc8_1589249432631_0.783231765444703"},"_hasShrinkwrap":false},"7.3.0":{"title":"CSON","name":"cson","version":"7.3.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","editions":"^2.3.0","extract-opts":"^4.3.0","requirefresh":"^4.0.0","safefs":"^6.0.0"},"devDependencies":{"@bevry/update-contributors":"^1.5.0","assert-helpers":"^6.4.0","coffeelint":"^2.1.0","kava":"^5.0.0","projectz":"^2.1.0","safeps":"^10.0.0","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./test.js"},"gitHead":"0efe69b08dc58ba9baceef325b58af8f7f4c3dc8","_id":"cson@7.3.0","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-uG4okP5vDg3pdu6MhoqfmfXvcU6ZDeNx6W+aLp5PSFOlA+2N9K8MjgzE5z89EQp0BxB1E+GG0iZRCOc9z0mecw==","shasum":"23cfe6affc1bc310b9305222eb6c64b5f719179b","tarball":"https://registry.npmjs.org/cson/-/cson-7.3.0.tgz","fileCount":11,"unpackedSize":81371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeugXZCRA9TVsSAnZWagAAk5wQAIt4ySVwZIGFmpcBdcyd\ns4g552AQYL4exCycdlxqxBubOm6Pjng8M2kLVq1ApOI+VKTJbd2LevqBuQgF\na3LNNFVW2804LWk6jwf2ns4az5iQFOzwzGYLeCud+8quW3RTi3SGUIxgtpIz\nwhcblcU4y0mAloRzjuuhLzpxjlcC1TUCuwoA0BGe9QwCYMTfWgs8Hdgmka5E\nDDqswDiCRrZka2p+VjV6l5h77C54iaegX+kxunnvEWuLscR5CXqOEV71SPsd\n7ju0UjLQMOBBuZE3CP8g316LSQTNi+lrc16WS9YrOWHK+CPhC7fsqMHDbcU7\nQoKjdiSYyJ7ekavN3cQSz+wbf8ZWjiWuVT5sYcD1UIzy5aX+hb0C0+c6Ny92\n0vX6t0hrLgwj0j3SlMJyl/0TpORerRf2EDggC1fp4zPlgrvdt35Xr52ar+ab\nMVANMJUUhcu7bijFV1gNPV2nn0V7DcyckQsUQI85xA4nXfm9t/P+FJoVkgZ6\ncwC4mQM0rpVp8CUB9lYvs7k51KF0QP6b473CrLSXKVXH71mSvapEbQfiNMc6\nQHhhsaGv1bnvoramsTrh+rs3/Uj67d+lZTb8zxVHwnatnkAqeZx6E/PVYvxo\nqSDVNAzocMUJ6nTugDHnhvapG4ExVUBjBEaSIFqepQzY+oPhYxjeK2qTe/Pb\nXNLn\r\n=gFEi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDH/oV0x5Tdf43Q/kOCKEfncu18nyWl0hsrZnb9DP0fvwIhALQvZHhynKpaNYz+LkncBopy9J+qjwt0suQY9ceOAxdH"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.3.0_1589249496637_0.7274222440144686"},"_hasShrinkwrap":false},"7.4.0-next.1590034493.004235922382bbcbe1760fb8287efe9576db0d6b":{"title":"CSON","name":"cson","version":"7.4.0-next.1590034493.004235922382bbcbe1760fb8287efe9576db0d6b","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.1.0","safefs":"^6.1.0"},"devDependencies":{"@bevry/update-contributors":"^1.6.0","assert-helpers":"^6.5.0","coffeelint":"^2.1.0","kava":"^5.1.0","projectz":"^2.2.0","safeps":"^10.1.0","valid-directory":"^2.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"004235922382bbcbe1760fb8287efe9576db0d6b","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.4.0-next.1590034493.004235922382bbcbe1760fb8287efe9576db0d6b","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Ql+Pk/tYHj7NeRYfIco8E38bUeRQgxEMTc+wGW35LQOBOhahK0R6gn4C9FyYpDy1NaHKyHF8ITwmkggA+6GAmg==","shasum":"a3ab8cc01efb9bff4f875f6aff959d0955a62761","tarball":"https://registry.npmjs.org/cson/-/cson-7.4.0-next.1590034493.004235922382bbcbe1760fb8287efe9576db0d6b.tgz","fileCount":10,"unpackedSize":81203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexgA/CRA9TVsSAnZWagAAqXkP+gNR0uz6496eKfbP3cg8\n8Ux8vCI433ovY1I1wL+O1r12C8+QsfXki0zDyQjOWNsHUmxK6qZwTY0seI5+\nhI1I/yPXbVXgMo5wxzP2uHydNSLEdDO/37G56qLJHclDMMdE5SoOualSU9cR\nnkABGpt6ibuvbe8smYL0ut3mbgc/xeVN6W0DigByVaiMyH5nYWRu7w2qskHT\ntH+fUwZG3MPwPHe3W4HeH0imr+nwCRC6GecVMFL+zl6BUrVF3MqxFkGFj2/y\nKXdYeoquj8xuuULInptUpicBcvvzs1nmopoAsKMtUj9qtfrrOSg0NMf+918+\nmAD1R0XWXaWrF+vXumeEhxan/XKbJK6WnbGGTNmR/tYl91K715yVNDoIEYd4\nWl0Cwa2Qxm2xQSPc7FQ+WwRFvbfImrD1wP1xWb/baytbtUl0OvgS1UvCIBXX\noEqfCv7OkDJ2PWwC/S1XnsKpuXfxmoEeJwIXsJtcPg5Y/yeKQyZmBPQiCuYX\nxjH0llUy6rwPUnlxCqmb/6c6MWXgGOOX0BfHOYPhNncPN98tm3O6DK/xXEg2\npZwtXN5SqARCgr3p9i3aHeFe2zJ6HbBBfuUQC3nag+TVhZgcdo20xS5pAdSR\nVe1cftmGskMuqyk4si5J+LcurrsQct0GQjxDNfnvSqZ2yHEqZ+iKrXznzdO6\nNKJY\r\n=dVll\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF4HYg8g3zvDNfLhtJCSAEwMmV3ZzJKUWpxyloSkpiyxAiEA4Ko9KlUFAlzP9vdqnLs5/9kgi9teRDRZq/Inucn/z40="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.4.0-next.1590034493.004235922382bbcbe1760fb8287efe9576db0d6b_1590034494550_0.28748825968331837"},"_hasShrinkwrap":false},"7.4.0":{"title":"CSON","name":"cson","version":"7.4.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.1.0","safefs":"^6.1.0"},"devDependencies":{"@bevry/update-contributors":"^1.6.0","assert-helpers":"^6.5.0","coffeelint":"^2.1.0","kava":"^5.1.0","projectz":"^2.2.0","safeps":"^10.1.0","valid-directory":"^2.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"004235922382bbcbe1760fb8287efe9576db0d6b","_id":"cson@7.4.0","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-8teRHBAB8UJYuywvJczmXM72CcroYcmnpujgAeNUYy2wdVWTZ6aILxENQdaQn4Fj78VifDCWlTBgTg3NUjF0Og==","shasum":"b9d6e7eebb62423a2e41e011aac7387aa73e77d6","tarball":"https://registry.npmjs.org/cson/-/cson-7.4.0.tgz","fileCount":10,"unpackedSize":81146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexgB+CRA9TVsSAnZWagAANQwP/1+rkaeX5PoCa4UVsctq\nEj9RYqRQZANfW1kGADo25hgO/MrpHnOyRtxVK48tmAHJDJ+DUlpP9TkqH+nj\nCG6ovgwfv9oBBzm0Rfk8kMK7agKc7rKsqp21CgSAs27guSjxU0MQP1Hy7rIh\n9j7WMMdXbaWFv7+X1mOmIp3ZIlN1w4gWLk7jW5SoasajiB5bI76AnxThfm4T\nBey4ruDNctYya4PbmajEMqJ8YuInn6DyXVVW5kAhLwfV2VQBJf5+KtsLS9X+\nCI55ZSBfZJehV/eqAjhl5p6YQ9SFB2QCA4KvYsH66ue5qLnX6PFZE/h1cpcE\nPqzxm6OuzCC0RcX2+zdOBREw33YNHq92F33Xvy+MnD2TdiXO7cMHcswhFG2N\n3P0JtTgctH42t7PX9rW1/PxsySvoU9CT0+qtYXpI3ldbIwyEXIlNtXuVjdtF\nOJo8HXxG2uegDoBjbyN3vhEyZDYrA03CxFBdOebp09mJcPRzFEqdprQ+UrXL\nx9NRmSX1mRw3GpnPpRT2nB6C0q8p5VMjXk1z8sn0HlIQYevWAhut1yvQBXlT\nWwJw0KgwdkaSD2dWm3qrJeRHcg+DbPYE6v0NyTFYDRUWZ4NvnsjGUkCr1kV9\nq+0it3sySuZn+O82Y3y1oRMEQS0yVhSp0CGuVNiB+K6l+cUb4kW9m8fYi4YK\nuFNU\r\n=InQB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDd1auYKA347Z5pwbN9Ggv3TzJ/oQBU/rT869AapqVO9QIhAOTyXG3SqjjTSi33yKZEi7yjuRdsRlBdbKpnf+NeOsB2"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.4.0_1590034558237_0.04555180538629"},"_hasShrinkwrap":false},"7.5.0-next.1590071389.67ca7cf93f601bc4fa8bb514f2e9fe633197d913":{"title":"CSON","name":"cson","version":"7.5.0-next.1590071389.67ca7cf93f601bc4fa8bb514f2e9fe633197d913","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.2.0","safefs":"^6.2.0"},"devDependencies":{"@bevry/update-contributors":"^1.7.0","assert-helpers":"^6.6.0","coffeelint":"^2.1.0","kava":"^5.2.0","projectz":"^2.3.0","safeps":"^10.2.0","valid-directory":"^2.1.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"67ca7cf93f601bc4fa8bb514f2e9fe633197d913","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.5.0-next.1590071389.67ca7cf93f601bc4fa8bb514f2e9fe633197d913","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-HC1J7ZGudrvIIT0Y8pNqmzWRGeGB11LJnL3IDQCGjw9zilua+X51exwcFzhYtG4fFSj4Qt4hP8wSJYyugm7L6A==","shasum":"208f2b7e88e8024dc98b5005ba1cb8efbeb0bd32","tarball":"https://registry.npmjs.org/cson/-/cson-7.5.0-next.1590071389.67ca7cf93f601bc4fa8bb514f2e9fe633197d913.tgz","fileCount":10,"unpackedSize":81399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexpBfCRA9TVsSAnZWagAAx1IP/RXtKD8w0G3alNJ2HE8E\nS6Bz82xd4FmSgFOSogHqUZ++porzLnqmL3oTzyx9ALsZubTIgvK6oxMkNffZ\n/xUvBvxl0V2V1DdCG/Fe3dlG8SnX32CRB80OyUq8qZ0lGDRLi2ppScu/+bq/\nYXhhTi7EywkIoRcS4NV3BHlu0k10kqwHdHQI0DXIDHGsuxJrx3a/Ad/a0AGO\nMlZEnDylzAXeV0XQXF9aAeYFOSLYHq7+nT2ipDHZRP78wcGOz7STorfwFW7T\ncNuxtHhdJrN1u5CPNCo2LS50NbsfAXJDGp0d5SIkMEZFMNZ0rYfPgdnTQKK8\nQOU+Xi9XoWmnG/qiGw3TvDwkxxgQ1+0k1EmTMNbmPEBg6FJyVRpaXWN1XbDW\n2xHyc+cg+wBsj+BN4ZbCqIKTLlrKrjO3hm1UD8PQb2PZbYDdv+Rdu7M/0xHn\nagyryY/JIYBfGwcnTjuDdBxPF1PB+hSdKrxjNmYNZZw1NlfaUcd6dUHIYrBz\nf81/PRm54EbPHYri/uHDRY7FmdKbv7j3wOIINWt55PLd9sdIMUKXLFNwOmGz\nwGiHBI4V7WxEuR+2utU0LTmxeg8iHuCDxHYZ2zqldZSKbyCBuZP9+hMx3Mym\nSQ4EkkGgEKzPXlXIoomJEb/LcaimJHUyuT4Vs8BANxse37lkw3s3KLcXkxSG\nHp7z\r\n=8cpo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRt2Oi0WNkcdNyWnxBwPONqP2IbafILd2VIcn/upoWYQIgDGrjl5KWcQKQunilZIAxzMLIW4UUPVoS8d2LaxbeIOA="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.5.0-next.1590071389.67ca7cf93f601bc4fa8bb514f2e9fe633197d913_1590071390559_0.6752844091070556"},"_hasShrinkwrap":false},"7.5.0":{"title":"CSON","name":"cson","version":"7.5.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.2.0","safefs":"^6.2.0"},"devDependencies":{"@bevry/update-contributors":"^1.7.0","assert-helpers":"^6.6.0","coffeelint":"^2.1.0","kava":"^5.2.0","projectz":"^2.3.0","safeps":"^10.2.0","valid-directory":"^2.1.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"67ca7cf93f601bc4fa8bb514f2e9fe633197d913","_id":"cson@7.5.0","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Pt54G2wLGmr/x3ZN2D7eCXz2cxZYV2URl4h8tju+yohTNsSKYpE1DvZ7JjZKQl5IqrbQz6o4Micd9Qsm8d+LzA==","shasum":"891739bf10af41a0966ffb395a50060fe1beb217","tarball":"https://registry.npmjs.org/cson/-/cson-7.5.0.tgz","fileCount":10,"unpackedSize":81342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexpCWCRA9TVsSAnZWagAAF5IP/26VURcBqX7iasD9cgJo\npEum+f1VWtbTBiMidsE4OeX4ohEJA7G3F7819Lz9g74HmeOchLjNh03HKBaC\nnAu+YEJrHbaTLRGeYG0hvUpwWwIBvKgP9oVg93bb9U2UkJHFF3YnR7DpZjqP\nbBTdTSFwXdv0ISub+YfbLDlHOrZ82LF+KEXKxEW2oe99132fVMgV8lrBAeRg\nJtiYa4P5byt4yN3Xu4NQAdjeAE6/1mEBQwmO8mkSFiqdBSkoCOFHZc8z0TjC\nKqPFgQyvytMLLIJDcDq56lIscOZAJRspoNSahqVlvpCB8+/RzgxvXze/b5w8\ng6enrVAEDkn9V5qndnAyZDyyyBLr43ObVmk2Ge697rBsaSWnxe/hddvPw9P4\nrqNDWL3O2i5TAgQAa9BPqx0LGWQsiVnDy2pNi6FgkRKBY2wHW2qMCoR1ImCk\nrJLVvSiE2SbBCgG0UL65RM0MBqvh1t9jD/99jW/iNUn9zYFVvF9qhXLzHZB2\n/aS8WZMqeHP2wsG1FQ8ebXoQgA5WcEkSBRxWhJZ+g2nOmu3MVVNa5bwyQCo2\n0Q5TGxa9hJSxY1rpcJqoGex9VgkFfjI6x9U88sqkluV97dp2iUe9l8TQGa4F\ndsuMl+o32i+p8vVyXnSSjqE+9TGq6bwONgThs9aUV6KQHU01KrPYak1yWKbA\nk3Gw\r\n=0WWC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnli7Kpolgyh2Zl5DkbiNf9iVgid4AQZK1KI11xhrpSAIgGrYdmY4IQnkTZgGBADv8CcxoxjkRfr5ZdXdnPokAMeA="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.5.0_1590071445903_0.5874040768200217"},"_hasShrinkwrap":false},"7.6.0-next.1591775273.40dd858cadfb00d0043b8531ca73cc66d78877a8":{"title":"CSON","name":"cson","version":"7.6.0-next.1591775273.40dd858cadfb00d0043b8531ca73cc66d78877a8","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.3.0","safefs":"^6.3.0"},"devDependencies":{"@bevry/update-contributors":"^1.8.0","assert-helpers":"^6.7.0","coffeelint":"^2.1.0","kava":"^5.3.0","projectz":"^2.5.0","safeps":"^10.3.0","valid-directory":"^2.2.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"40dd858cadfb00d0043b8531ca73cc66d78877a8","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.6.0-next.1591775273.40dd858cadfb00d0043b8531ca73cc66d78877a8","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-5TXOfwwpb0BNlW/Z8TnN0oml9kHKCaHDhQGc1fFACzF56KNTYDIqs6ZEh5iX2/UNKzhf7f3OpCcL45i6FBB08w==","shasum":"c312edb2282f14d6f749d72cc111a8da8db57bbc","tarball":"https://registry.npmjs.org/cson/-/cson-7.6.0-next.1591775273.40dd858cadfb00d0043b8531ca73cc66d78877a8.tgz","fileCount":10,"unpackedSize":81596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4JArCRA9TVsSAnZWagAAhRYQAIGTnt6Ujw8LBKCb/Vh9\ng/IkN+W81rfSv5/5/rSIPTXnoEiY6pBnxdiXm031YZUxSalx5m0ukZ19UeO7\nDx0TaWVYNUUUrVTtdNy23rlV61EmPLQorwcij5Jr5Lj7IaOQ164anzzguHS8\nGGNMnMRfhkBbGOOXR4+syCuEu59ymaHX/ilrD4sPlWkmTejTU25ncRmP9O3T\nYzV13AXmbWTeV6AnHoiivpsZ8fl8AqrUuc+RrroGbCGGlyMdqq76QE4in1fQ\nRIlVf5bxXDAfdKXqgZCBPaAe0itCyDBFeNgXXGm5wo6VOBIs4yLPOdgzD+PV\nprzCAR03zADpaO1Y8p4abG6TRRmkr1xAqtYHu1wxMj3vAOGXBwE2jK/fkom0\nDvdCfjv0fkAnrsAna4hpPR/HCH/iKfp3k9VQHmolcrFP0QldmvMubqqLUnLL\nkqxQINhTrRTF71+tqVxmaAXVJWy4rUV22YHUO4R25d21x7juX8Un4et+3jv7\nBMEEU/Ovo4kVMa+p2urJLZLylQnPjmNtFMONRPKC/Omd4kpd5JkX/bqYD4Pv\ngY2Kg6ysD8J/f7Z5iSpzuAxD5Ls4NUSp2SpLwf+sw8HLbXNAhHp/+3J2qDzA\n8Fl5Z5RQOXLb76zKeeAkqWk5pGjBTLSRz5qIMU/S4mrsdS4fEsB8IpbqLWpb\npRcT\r\n=c5Zr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvF6GybCqdIJal9Vl/Go5ohtA+Xt43UU0Eg1PrOgVWaAIhAI7uclWmPfLYLByOres4SUv5ms/0Vb8IzYgKOkHGPVHC"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.6.0-next.1591775273.40dd858cadfb00d0043b8531ca73cc66d78877a8_1591775274904_0.5315307456547216"},"_hasShrinkwrap":false},"7.6.0":{"title":"CSON","name":"cson","version":"7.6.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.3.0","safefs":"^6.3.0"},"devDependencies":{"@bevry/update-contributors":"^1.8.0","assert-helpers":"^6.7.0","coffeelint":"^2.1.0","kava":"^5.3.0","projectz":"^2.5.0","safeps":"^10.3.0","valid-directory":"^2.2.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"40dd858cadfb00d0043b8531ca73cc66d78877a8","_id":"cson@7.6.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-jlHhcq673V9CgYWqBhcOWSTi6KE2mUIAtZQXCUwWZQWqYBrql0ueHFy13XjO9GGHC+0m7QN4NBnYLMvfzXFuqg==","shasum":"2e75337b66b7d0a730c65c0251f90f028d41e8e4","tarball":"https://registry.npmjs.org/cson/-/cson-7.6.0.tgz","fileCount":10,"unpackedSize":81539,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4JBgCRA9TVsSAnZWagAAGO0P/A0z8UjSL1R0cENwyKqG\nP997HZXm6xtYg2hNsJRnugRSJ0QLXh6CiwDrZ0v8CLIInsab/4ev3kuzvIZ6\nAv/MEWxzuBU5ELz+B1YcHp875kjWmF+gPIGbkbP77e9ZfwLmaCBmz2jlNyj4\n3ucLl5ss0sxnK1hBsxkDL99HBNxHApR919RhusmVKZOgC3AgSqL9uYcn5AYr\nPMc9ehY19JYsLK6Pxn0Sz03zsBgOKwTmXDVu+pvzfwjglMw9f6tNFE6Ca1Q+\nDmAW3ijdeBLECS1e5RP5rYoismqTJ3cO0uVi1ul6gLEN7HBYkl0AcvI2CEy0\nEi+VfKw+Nl4iIkSj+WkB636SXBC2YQ8wrqu9DpPM4U/h2vYa6HBG6bUKocRl\nEY+UNhuWVB9p0v3qv+MIiFia5KKnzpp4MxTUcsDSkQ3zQqxOFKnFvCt5gMtL\nN8k1vrMZYXSstJznSSVlF5fHyPCOL8hK4i87bhr04a6uopvPj5dlvlyKXfCZ\nRheRxz5At2VUQNyb8WxB2ayPHJf0I/OFoVwXxtxUCQPIr2/D4KMKgiLdUrrw\noypg3Ra60Hif9T7QerqhoiGxKMua3C8TjP3k0PZiUfxAZ5fuhIWFM0n4qFCq\n7zl2U/WEckHxTJ8xpDzOFElhiBmA6CqZJWYK4ftuhSrqTb2sHKzunxXiTS4o\ngzmZ\r\n=tt9q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUPrmTY4x3Nt8jdL3IzoPie1RY83tvL0K0/9AS1frvyAIhAKOREzGfSB+E/hOwGVH5+Q+qCcxjDh0UqIfqAtOAcbJv"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.6.0_1591775327959_0.6264306280947027"},"_hasShrinkwrap":false},"7.7.0-next.1591792635.345650a086ba685fe1a06ed3bcb550ba469c988d":{"title":"CSON","name":"cson","version":"7.7.0-next.1591792635.345650a086ba685fe1a06ed3bcb550ba469c988d","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.4.0","safefs":"^6.4.0"},"devDependencies":{"@bevry/update-contributors":"^1.9.0","assert-helpers":"^6.8.0","coffeelint":"^2.1.0","kava":"^5.4.0","projectz":"^2.6.0","safeps":"^10.4.0","valid-directory":"^2.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"345650a086ba685fe1a06ed3bcb550ba469c988d","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.7.0-next.1591792635.345650a086ba685fe1a06ed3bcb550ba469c988d","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-oPUQMPHCkdqDLPcWYEdNZVyhVJIS/xEN8i1lZbyI7rV1lq6Gksj/Q11cdshcx5xSo0jQ+vXUJKrqY20T3xPk0w==","shasum":"1f5484f6ca225d1f946d00897a0c6c8afd7a6d05","tarball":"https://registry.npmjs.org/cson/-/cson-7.7.0-next.1591792635.345650a086ba685fe1a06ed3bcb550ba469c988d.tgz","fileCount":10,"unpackedSize":81793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4NP9CRA9TVsSAnZWagAAJn8QAJyNlIyUVezarkcR5Q2J\nGqfXjzm0mTZG9Nnnno4s8g6Xpr5pfpseJ+fOoGd3mT0KcFdcsaJtoH58YZsp\nGQ8/KJgqY3zo8xRfp5hWnjgRz+vLiV5HEU/LcXbF4Aco45hnMrkIi9Y10BXz\nCv+t3aj1Am+6y7+z3znRBGexu1ZK2ab88neeFZ7NWdUTHUq3mT8iDU+Aexgw\n6ieJgWRXPKGqeXls7BRz3yn/SBP21KC1lgeoYvw0dgZi4KWW0ONeRUkMpgL7\ns8x58YaIK2p5vYVxIntWvhG/bSERefOBIDZ673c17zleiqszMU/C9GwjcCSU\nvwFwlG3rhp045Zl2X8+Z9EgTbt8QTfvpY4XrAEzZ2Udrkr+IgMubC8885Gpi\n3HTOwnSQcWTcwiJf54m83cy9he/rzBZS6y1AvMbGTA183dk16VUb8OipeuSU\nyq0eeM+En3DBgyHyrT/kT+uKRxvpPskOZOVKmrVR+JRRWi9xBqvNRAlygubY\nJ4LHohtRS7UcRnI2OwclWY20/DJiJJ1KTU6C/8LzHzASdB7pJ7yUsdnOnNcT\nmpwACjhmVFSbHbfCEzcdg3uM/IxbThF6all8WWU36TZhWxJLmzbRHzH/C+Df\ntlS6x3Skm5c1gEYc37h1H4Bxe1wOFPxJ5QQhB8GgRVHB5vmDLLWxowo9fx25\nPeTK\r\n=NXlw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDusVJe0yal6tGLMRTVsvwyH1DHrMP+SCsCYLOfq3aajAIhAPseOWr+rndI5kso565ZmF4nCWDkfoSyAm9P6TbRFSgj"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.7.0-next.1591792635.345650a086ba685fe1a06ed3bcb550ba469c988d_1591792636782_0.6929352921602847"},"_hasShrinkwrap":false},"7.7.0":{"title":"CSON","name":"cson","version":"7.7.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.4.0","safefs":"^6.4.0"},"devDependencies":{"@bevry/update-contributors":"^1.9.0","assert-helpers":"^6.8.0","coffeelint":"^2.1.0","kava":"^5.4.0","projectz":"^2.6.0","safeps":"^10.4.0","valid-directory":"^2.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"345650a086ba685fe1a06ed3bcb550ba469c988d","_id":"cson@7.7.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-SbQbHN6N0+AZUahUBrT8shGmJokSkFmtCTdjMybQk3nefmclkVuzTwoS05mYgqHuMXmPaG2cJUcJJy/1oo4nYQ==","shasum":"8a7151a78c3f7021f09637a680b570f948462d25","tarball":"https://registry.npmjs.org/cson/-/cson-7.7.0.tgz","fileCount":10,"unpackedSize":81736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4NQ+CRA9TVsSAnZWagAAMSAP/04GvPV7TOYz3OanDX7u\n2QsOqCZhJQKg4d0LFXc0RcWfz1TDZmkXs7ip7I1gTN6x+iqYQSZIySIXE++2\ngavwhhLpLPk3k/asT+qx6snJ/SwnfUuJEOUhLHv4R7eBbH2Cpw/sB8GVQzes\n7XbnipYeigBJm5kzCfFfgQvgHw/mdQ24ueEUTj3RkVeZoJrmUJ8fZI3PMdh3\nAveqxaYp1c1lvVw7IJaklkZ0yG6OgNJJjrVQfyJxaivVyRZlIt6np25rfgMk\n3pW0E9hGjTKQ4DS5hrbgWWXbCxwUmuveSCgazPzRCPgmQ3KU+03rNd5g2PB0\nHXb6UTORDCXxZP4j2jP0Sxdbqx1PU6XkecIbfoN5WUi763/Q81jdjsKgjz+6\nWZzqsdZBbf1GBhXC54DJBTTv0oRRQg6uHPeN1kpZYjMpooRnY+EAqCB9+RZj\nHrDhbD7rSBUvj8t0llulR/CWsBS6pUfeO50Inp20W1aXMe/BU0zJ3OESsJWK\nk2yXc1D5jo7uDKExQwpkKmBlLZ8ELI3E1TntL2MzDRSw5x0DzbfSecP5vy7d\nXhzr9jwSrRnOydNFdOrOz/o2H3idk4qHWAd8tPPfx7d26w0/AiO31+rGPp3u\n+WM0iDfwcIJrnjueBjbhCVT+XweSG2vguGrwGw/RLLxXCji4f9K9My0qVoLj\nYjWy\r\n=hYIo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHVaXRn0GQha0+xJXqu9WVKphsTMcV4SucbqxL235HI5AiEA30zgj3iN6alQrsYRjry1id+ixkbGHomraeJxCogvr04="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.7.0_1591792701545_0.9502379789579689"},"_hasShrinkwrap":false},"7.8.0-next.1592601265.ddeccac36fa251fa5738464bf31600927211a101":{"title":"CSON","name":"cson","version":"7.8.0-next.1592601265.ddeccac36fa251fa5738464bf31600927211a101","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.5.0","safefs":"^6.5.0"},"devDependencies":{"@bevry/update-contributors":"^1.10.0","assert-helpers":"^6.8.0","coffeelint":"^2.1.0","kava":"^5.5.0","projectz":"^2.7.0","safeps":"^10.5.0","valid-directory":"^2.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"ddeccac36fa251fa5738464bf31600927211a101","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.8.0-next.1592601265.ddeccac36fa251fa5738464bf31600927211a101","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-hXRn9DGww2rz1pAR++wo3WzwbvodjxXSSM5KcdchwZ/TDGeUB2UPcrCxAyTSp1euNMj0kBdrjSJrQ7NgpLVdng==","shasum":"1ba11f782ecc3c070d020f48a5ffacadd8b16009","tarball":"https://registry.npmjs.org/cson/-/cson-7.8.0-next.1592601265.ddeccac36fa251fa5738464bf31600927211a101.tgz","fileCount":10,"unpackedSize":81991,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7SqzCRA9TVsSAnZWagAAu/gP/jt5gea2is0oHWRyVMkS\ncP8M6R5VzqttCtLNO8TVKHZsxWuAQpMsXpXUhpBtr+fFgCu3GTX3GsxHLqWR\nGrEtb1pHNTNdUYfl+8h3fm/nDupo4xnfdv/MXeqFkkrLIanE8Cqr0vY/G0CF\n+s+3ZTXAOwWA1AfWJ8XPO9A4tzcA8aJVtvUrZ2mO2SlQnczw1t10gUQs0QCa\npaW84u5OCltBkqwl1jM6l60VNUsDD8XG2gkvPtVqEp/zSLh3uLB7OC+aAicf\nnnEMP3Yfp9eKYO8H+HKBFROFxTur8CpH+NQalL8Z+w1pPEKcap16zhsY2xau\n02kiJ78EByYx3Hy4AUupbW/k6SF8FqWppmmVyLFWLsFOoRY+POL6bTaBzkqi\nDWy9wz/z/9pFv5JGjzQh3M8rMOvAlgGLJQJwHWc6TOlj9Vc0uTlX8zLTT9/P\n7hKjaxPOtBDlN37+clfkGXafQycOr402mr7/eeIVOteX3Tc0uRJ7K38cNayE\nFwqRfakk2jef9ttPruCvLTFqWsmWYWlrCBR5/nlFAt5pZ+fwhApiC7PXYBdk\nK7idRl9xc0tawZ4ifoBKsHJwmLvyh7GiP77N4DZMuCgYISMRV0mCbctsnN4I\nepmTAGMlvFtWtYpgDkag7Ffvrd839/rEz890YdSsfQpk0A9MnnTf/IL1ON15\nU3PS\r\n=KQgE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdQtEq8x1BCtdJ7TfX8eZO2YD3ph2Q5FTLI2kmR+JglQIhAOGw63/bBsmip0W/s5WWpWXg0EFbgHpiXnNnJxZEalvp"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.8.0-next.1592601265.ddeccac36fa251fa5738464bf31600927211a101_1592601266958_0.6366986178629328"},"_hasShrinkwrap":false},"7.8.0":{"title":"CSON","name":"cson","version":"7.8.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.5.0","safefs":"^6.5.0"},"devDependencies":{"@bevry/update-contributors":"^1.10.0","assert-helpers":"^6.8.0","coffeelint":"^2.1.0","kava":"^5.5.0","projectz":"^2.7.0","safeps":"^10.5.0","valid-directory":"^2.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"ddeccac36fa251fa5738464bf31600927211a101","_id":"cson@7.8.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-dDSJLQT6lCFVQplWqcHOdYw9JXKo2LBzKrBx0o8aBVgtSQQZ4mmOCJJ0BB2qRPiabIwBKsnEa+CgmNu3kpQU3w==","shasum":"7c16878447b4026778468cfddfef6d33b9235404","tarball":"https://registry.npmjs.org/cson/-/cson-7.8.0.tgz","fileCount":10,"unpackedSize":81934,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7SrtCRA9TVsSAnZWagAAJ90QAIhc+MDgFGt0GuW7TN2W\nZK9XOV9vUOafyVd7e6Sz/Uk02YQq8dg2gaSEXX4RgaaN+fGyqh3f2XnFt7MJ\nWN2n7lmjCPLY0NzsVnr5sKsycXtE+oYliqfnNhMSANc/7/nqIVRUZBU5muXb\n4CcjwIqXQILHj0zM8fqpW6qX5Kz5/+GjFHroDqfdyKokxjCIP6dhtGFik77t\npEHiehYxoXUM5Ph9mJlsyOAi0oNZlz4a85VBsn2j+eR7CurwU3zZi1EA8OYE\n7Hef0lZk8/fCHOdggfQkeYIi81Efp2RlWrpzgKt9mqevLLiN78x0fiMBq75y\nP9RQH1/TdNTC+bbD9BO6c/4xGD2q0+HPB9ArckJefa7fIoODoU0B7MRWwdZO\nKECzPb5oHnR4ep7Bdp7j0TsGqUcKAoT9YHSaXNaizFjEbXACb8kXLyKgqM6B\nMUfzMQas4VfRHOsj+GkTj1KXRgdonDBKJmfrlWqdBC1/4PLlFkxhicX5109O\njFazYa9noj8Y8EMPylZDxAn4Kudnu25idSSDjAYHLqzDzWmNt7JLrAim4dm8\njA6eWHc+QPS5O7zYPgQgCMVryiUuY537amV2lWl7NxS7l3FI2E76FLybKhYz\ncFtQukxWuwc/IP022HdM5jsajMaVhGmVQdkhW+UVwyyiGHCpfp7Kz0WE4HI0\nnxFi\r\n=zLPz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1jGDDc2p4MdiKZF8+2rzmuApYuESRZZDiSRkwldX+dgIgXc9rsEx8H8XqZsLQYKQcFwu+ss4TPf/VpoaXUpTLZtk="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.8.0_1592601324302_0.4808895600459635"},"_hasShrinkwrap":false},"7.9.0-next.1592605980.1c26306fa71e2fec542397711ca4076b8b9b2e7f":{"title":"CSON","name":"cson","version":"7.9.0-next.1592605980.1c26306fa71e2fec542397711ca4076b8b9b2e7f","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.5.0","safefs":"^6.5.0"},"devDependencies":{"@bevry/update-contributors":"^1.10.0","assert-helpers":"^6.10.0","coffeelint":"^2.1.0","kava":"^5.5.0","projectz":"^2.7.0","safeps":"^10.5.0","valid-directory":"^2.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"1c26306fa71e2fec542397711ca4076b8b9b2e7f","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.9.0-next.1592605980.1c26306fa71e2fec542397711ca4076b8b9b2e7f","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-iWXnlwCat8PZRSNCHdrOaw95sTPmZxNmcyQS/EyYRE4oPOq65sM9EJL+95UnrFepPG7iUQ1Cd7g8iBBqzd597w==","shasum":"37e5936db8450e16ef385814582fbbc6f3fe51f7","tarball":"https://registry.npmjs.org/cson/-/cson-7.9.0-next.1592605980.1c26306fa71e2fec542397711ca4076b8b9b2e7f.tgz","fileCount":9,"unpackedSize":81920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7T0eCRA9TVsSAnZWagAAAz0P/RQB6qsd87lH3m3edoQQ\npIMrkS8JaupLiINa5w8XzBSzBNXzkHwuxnTV+MdcMTr9fp6gJtyYNncK7SFW\nb9zTEgdKVDgDN+PBdSS5mSyKwVdJCEwcFUFeNbyhJX1nX7dLnMzINIHx1M/H\n8WMCHprcn9o1mfCnti3fgra33sVRLWGwMqvOYB4MQofnEbPftrkMijtq7WV7\n0M7ycz4sUkLJqs8K1XnzUv++rwCdeQ2/fpZHxN5lz+kLZyab7HDuHQ4q5UW/\n5kIyWu74ivtpLWEYPgY79YmgvEW7cDvuc6fuqILzSjefIsQk7/4AzfHqI/38\nWzxRqpH2lwhPDWAvTSRdSE7of0ItSK2yO44gBI4LFQ7ZgSd8yevjWVK5av0f\nu0OdN7ai4HcpsNok7x/SKEMGTrhmdf2l1wg6xLnvE38hlkhxfgEZcOriAqgq\n+gLSlfNiq3LVKzslYkYykHjf2QOp8++ZOqAsC/0WlaVqLnRYYkPWoj3/ySgX\nG7RYFDQ8/dVNaO7PpsRO2tzoEpB1SBcBj4gGm2XGz19DxH4lSo9SzvjjXHpA\nY/szG45FW96HlZeSbwZDgU6cYRdROPPTxe5tPqlNTlc4ytgxIRwbzhSQUH+i\nf5TMQxl8Q1XmgU2cfo4bOBomEo8G8VdNAh0kGHcFbetlZGadEJjmfy9Ns3rD\njRDk\r\n=BcE6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3JI8ww+V194e4x0/GoezVce+DyjDJas3ovdjwzJiUBwIgEzReCxXiiosDdYRrFl9/5upEX3rs9ENu4HkvXI8MopI="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.9.0-next.1592605980.1c26306fa71e2fec542397711ca4076b8b9b2e7f_1592605982379_0.38776726910485615"},"_hasShrinkwrap":false},"7.9.0":{"title":"CSON","name":"cson","version":"7.9.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.5.0","safefs":"^6.5.0"},"devDependencies":{"@bevry/update-contributors":"^1.10.0","assert-helpers":"^6.10.0","coffeelint":"^2.1.0","kava":"^5.5.0","projectz":"^2.7.0","safeps":"^10.5.0","valid-directory":"^2.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"1c26306fa71e2fec542397711ca4076b8b9b2e7f","_id":"cson@7.9.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-hseLSzseec+TPmTC1o02G891Dc6mp1x1Wvy0Ew/K3aIp+6ck0TCQFFxr1hLzG94yCvcT0HuaRTfF4VJoSvyRNw==","shasum":"c5a9380b687831531ba40750665b29e355b0f7b8","tarball":"https://registry.npmjs.org/cson/-/cson-7.9.0.tgz","fileCount":9,"unpackedSize":81863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7T1kCRA9TVsSAnZWagAAIjQP/ju2koJz5uZhhf9SNnnm\nNphbGdQIr9NmndOoNl52rij/cKN9XFMzdhCu5+v/LEXyOi5TGdyXRyX9XEc4\nbjwYubKkkcB9F8jyycz2uh5S+IXQ1q17hSzlC1vduIH6yelZBfqLhu1cVrP7\nZb7pHNfSrv3XEQYNLdU6Z+aODYb2Te0Qbow1rQAhyvnkmYbfc1dT0hi+P22Z\nncSffDiRn98YBM39sqGrwT6Jsi8jkcIdbdhFtmTtueIb+J80W9z8XXQS0Nem\nNOW30DRW027CZQzxh1bKAyYobKDSdgc8pgThs4WJj9xm01ti/uHGjIUUfV7C\ndHKkvWhcLKCQ8cLUo5INuDL4lT8lVgC76X31NdERy8NRq5xh8sw4fsaUaoMf\nZBjI5EFysVNvcde+lHZdxUwrQtu8gExhT18wPxRBzHN7kRcg+L6Iqso09mKZ\nL5AWxyttCbN8ZUgcs8K/vHjs2fzkOfoTvtCywibAXmo0SCZcLsYqeSUN97b8\n6sw4AxK4VwyVqXYhAbkJfFEw5LSVK6LKRon4BFbP94OuUxIJ0DbFgj+k+Y/E\n8FmP3cmDOl4fIRQS1cI662Id9Q81pEUsK00AsFIiEb+BekGWWvFOWfqDJuTn\nk1QZOkyK7ylXAm9WtFtycOjZUp0g/CUz5B+sEifhp/J9cfk/uaRAC+aVv6Cd\nTk1x\r\n=xOOo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRNQ3dd3ggvdfxgWG9Mm0YtYDdGEgv+9H+1AaYNv9JYQIgJ+I2GRmvdzAa5ErMqxWfSHuz8sisKg/Zi4OfP184Rxg="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.9.0_1592606051566_0.0449379577285951"},"_hasShrinkwrap":false},"7.10.0-next.1592689381.6ce50249a857c93ad8a6f6c0b6a2af20120b6b2a":{"title":"CSON","name":"cson","version":"7.10.0-next.1592689381.6ce50249a857c93ad8a6f6c0b6a2af20120b6b2a","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"4.4.0","safefs":"6.4.0"},"devDependencies":{"@bevry/update-contributors":"1.9.0","assert-helpers":"6.8.0","coffeelint":"^2.1.0","kava":"5.4.0","projectz":"2.5.0","safeps":"10.4.0","valid-directory":"2.2.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:coffeelint && yarn run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"6ce50249a857c93ad8a6f6c0b6a2af20120b6b2a","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.10.0-next.1592689381.6ce50249a857c93ad8a6f6c0b6a2af20120b6b2a","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-2z4jIDl70lMy3xlWknMAEVfwZ6ToU4bddV28YlhJLAKP4zc/o3tXtGwLvcLpSZYFoor2slSZyjsFE0ykGVtlcQ==","shasum":"75ee2978c26017c0bf092a5a137ac00d8739f26f","tarball":"https://registry.npmjs.org/cson/-/cson-7.10.0-next.1592689381.6ce50249a857c93ad8a6f6c0b6a2af20120b6b2a.tgz","fileCount":9,"unpackedSize":82144,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7oLnCRA9TVsSAnZWagAAxvcP/R9KvL3hYzvPqH/E9Pe6\n/RflMzLkPQXITgugYsh7avZ6HPVp7VqT4BuWFWgyn5RF+xDOF/4weshZH88U\nB06pP+iBhFlbLKONb6XU8RNE9z991fCxSFGt3HS56OYO5cQa33erfPTmP5kL\njRyyop9e0MmUv0fJYGFeiK+zCZVVfEvcMNIOIThUSvlK5TcdCmOKlQ7wy+oB\nTvzTOitrI4gXmeIzs+YaZvcn5y23ZdhLhVLoJDmTw1og/QGpoCPiyH6hIcHc\n07RWC086TIbkHN/jlVGpX71F2nC55AWttc6FzuGn82gVw9cL++BhdCq7dXB6\nitBeYHG4ZRF3+LmJ2FNSUEL6wQjFMZXqY0XsMHSOhRMrHIaiRwZPrwZMTsN1\nsXCbnOOOePShQpjrErfDmHVQpV3JI+8yAGFFj34zhFEE/RGDv7xR1/Bhg9Jc\nCrJhjkGAwA+1/0yOLo0jqBK7XPJbjD00BopX87j3RJEFsX2uAo3hSQJAKG9H\nepJwG+j09QjqRIJM3d5OF8nRcYz92E/SdVwcu/zDaPhzZhJEo5a+Gb4Y8GbY\nhJx0q4WNLp69Zl7U5cNhuXXgMl0tvTuZUpiRIi9IiNerrwg4aEt5GWtZ/b6i\n7SEWgazm74Xv53cvOAD1lnPG9H3hqYOPyV72eVSFNQ68E1NIOJiRL5/D7jz8\nhKou\r\n=1qHF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGq3jAdB3Zqc/MAS8i0k48z7g8v7MaHnp0CjMOqappTSAiBzjEgAdjk+ScD5+uPN2dl/HtHIrrkAV64PLtYoyQV4sQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.10.0-next.1592689381.6ce50249a857c93ad8a6f6c0b6a2af20120b6b2a_1592689382581_0.9369216116550865"},"_hasShrinkwrap":false},"7.10.0":{"title":"CSON","name":"cson","version":"7.10.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"4.4.0","safefs":"6.4.0"},"devDependencies":{"@bevry/update-contributors":"1.9.0","assert-helpers":"6.8.0","coffeelint":"^2.1.0","kava":"5.4.0","projectz":"2.5.0","safeps":"10.4.0","valid-directory":"2.2.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:coffeelint && yarn run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"6ce50249a857c93ad8a6f6c0b6a2af20120b6b2a","_id":"cson@7.10.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-wkY7XOKMpl5jZGRK3BbXVxQubz96NSyyoaofECqLAK+QpmTa8VRzoW3CbSo1lwOqHHWICuVw38i+8r1KkJUEyQ==","shasum":"4d3937f3ae4ce1d27f189238f5bba306ae447a5a","tarball":"https://registry.npmjs.org/cson/-/cson-7.10.0.tgz","fileCount":9,"unpackedSize":82087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7oMvCRA9TVsSAnZWagAA2H0P/Rx0zlAz/xKGxxlLcTbo\n6okoQ24z658hDPWkJaRgPFTkT0T2TI5s6ujBTn1yk2MJcfYWbPN/tAPotR6E\nvya8TLOaU1pOsU8W+ssIuROiVpQx9oUXbyNkW5hHy+bGnb06P4LX7Qpy1RAA\nuEDMfxdbDDXUySkRcWZ/ZY5NlDhNNmD+LFzcpp34brcVXaqAFxG96tYkK8Tf\n5J8QzRtmwy/lTa4okcg+f+sVYb/dsrDc3izNd46PWf3kvyJbu7c2Tsoct1/7\nyDUx/xHhrCnwu+57+gknHLEnaubTo9l4Kiyeww3AytzOWTmYdWxX66V2KqfY\ntIgDr+xySSQ75dhmykfb//IqhmsAS9dyMlgk5Szbcn3yx7I4UvnHfWmV9eAe\nR+iDbYsR6M6W/lONnxBqXRAPZSX0arrUgOopsOHGmOUU6c964odELTQ0wTsa\nPTWO32bI0ocOUyEF8ciRod0iOBI83XFpwmsTa2Zl4tx/1Y0NcbHyAI/j/7C5\nbc6Vr3SdTmxaH3/M3pbht6z1RaiHb4aGBcExoIutGtWBuF2UuYTejeBO16ua\nlQchvuekhGX1LY2EASQic/8f+WAgvXPbut887Yj7KY2i8uoJ8fMSKHGkdrqq\noimxZ8Sg9aZtnYjLaSis0dfN3Q4V1j17+inOtiuGWhYDMoxlJzUOqoAS7CBA\nOW+h\r\n=Beca\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH1VaQl4g6fmDikza8OT2oPDro3bwWHY9yyyuZJBoNG0AiAD+eHLLbr+anR+hVzqyMaEBCTi/7Jz1w5juxctyzpP1w=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.10.0_1592689454673_0.41187685738511903"},"_hasShrinkwrap":false},"7.11.0-next.1592737713.657ed00ef8d69b2656d440d8b768a4bf5ebceb03":{"title":"CSON","name":"cson","version":"7.11.0-next.1592737713.657ed00ef8d69b2656d440d8b768a4bf5ebceb03","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"4.4.0","safefs":"6.4.0"},"devDependencies":{"@bevry/update-contributors":"^1.9.0","assert-helpers":"^6.8.0","coffeelint":"^2.1.0","kava":"^5.7.0","projectz":"^2.9.0","safeps":"10.4.0","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:coffeelint && yarn run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"657ed00ef8d69b2656d440d8b768a4bf5ebceb03","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus Gustav Larsson Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.11.0-next.1592737713.657ed00ef8d69b2656d440d8b768a4bf5ebceb03","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-I0M3ECvdYL967ns7AoKnBG6At5L6B3puL+AJRpj+sOVSDj0tVKphnIXT1inMlBd138+CSzijPPJyo+gl+F/CwA==","shasum":"07450baeba025e3412b080db6feadb150296fcd8","tarball":"https://registry.npmjs.org/cson/-/cson-7.11.0-next.1592737713.657ed00ef8d69b2656d440d8b768a4bf5ebceb03.tgz","fileCount":9,"unpackedSize":82347,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7z+zCRA9TVsSAnZWagAA2zcQAJczfAqv2F91XsmowyK9\nRsj4tUDs9AfHml/FOrUpMHMj+BdhiA+3ut5BJx9o9KUQ8OxO0MJevnlDenfN\nUhH0O2mprrHB/DhIb9UOiNTXsLXK7Wlk+d1FoQGvD/Py6lrYzk5UIO+U6KBK\nhJzN2GuR+EyMz3qbJtNi3ioue/HsQyy7X6kX3Yo7PLl7K8L6djApQANFra9m\na/lsjmCUPoCT8txMV4yobtwdbsK3RF/qX1y3PL2Dbv6bIrsKwfwHJXkl9dsu\n6yZd2biDerNqYxACS2vtJLKPxc9LTQ6kXcYcUSTsa7rk7j6WTAkcgRh+5HI7\nwqmK+g+UcHBx78PuR0fQ1akzM7vvdnBj1eKD0WSx9n1o41FkQU/ihD0b3x93\nknV0XFV200bnaORNl+uNTHPBoQyYsRG9Cf0pTjERAl8+iCwjg8RXfYk27nSQ\nezkruzGIed7qtOidl8mAUUhZfxycqsHvl+F7mTUcp5AqPqaP+R3fJTjLrmGH\nUweuivBzHhseZkfs4z50gxZtsBlBJQt3SMVMg/1p1+X+fRGdrWEVb/fyNDQp\nO6GksxSQqb0cuisznVch+GUyBRDdS0SWiZ+pcyT3fPZkuBi8OVKFPAlOmCvW\nrJPvnC9q3pFEXuYQyYNtiW8HPl9mR4YAEWqrrdToHev+/xm5Ymq29P+ebZvW\n9DJl\r\n=MEEp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB585WalZoHIg8DjxT8gc9PfbalTe3k2NhRFpkeTsBL+AiBA9UImA7cFovfCRY94Yoyclt/HMG68hVAWIjGSXsF5Rg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.11.0-next.1592737713.657ed00ef8d69b2656d440d8b768a4bf5ebceb03_1592737714785_0.7667628793961647"},"_hasShrinkwrap":false},"7.11.0":{"title":"CSON","name":"cson","version":"7.11.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus Gustav Larsson Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"4.4.0","safefs":"6.4.0"},"devDependencies":{"@bevry/update-contributors":"^1.9.0","assert-helpers":"^6.8.0","coffeelint":"^2.1.0","kava":"^5.7.0","projectz":"^2.9.0","safeps":"10.4.0","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:coffeelint && yarn run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"657ed00ef8d69b2656d440d8b768a4bf5ebceb03","_id":"cson@7.11.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Ho54d27qmqJ2W9WkgjQJ0TrbLFa7m7M4ZDPOpZkGlG9eVNbOgf6MyQk6bcaIeGBdg88VrbMKvJhWJzBb7VTWhg==","shasum":"2082dd6a516640858cbf2293b3af21de343dec2e","tarball":"https://registry.npmjs.org/cson/-/cson-7.11.0.tgz","fileCount":9,"unpackedSize":82290,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7z/4CRA9TVsSAnZWagAApP4P+gPUcXfj4zZ6DgVMafat\nEx+d8tEc6k+ha6MvR1qK232zHaULr1vdb4vO8Na0PgPOrtLaE86WZCzwJP5e\n21RQMVCakU+7z7Cbat4xlldqsQ2kLAotdyxvd8/uA96v9SGPluZeBmXx2qP6\nt95ipcbIfKPoFw/66CNzzNqGIjkOd83rdVmWq/jud0Hhx6i1NpezhieFOx4r\nVeu7l4pIbn0z1fximqwHtoEw//QpgWgWZ2tx/WtolgmwZ22KWtGo6fv1fRk6\nbuCuNQQaXg1YALw+xkavU1vvDqQhvcCSppKitjaBv6XK5tQmYmx6owA05uNo\n4v+jUUK5pL3AkoEIXA1M/zqr4jTKambVkDbF4whUlr+Uh608Ngjvphv0iC5p\nBntqjf7N2ShmQD5yn0uAR9TmI66LbqliVk/Yal5XXnKl3XLv4C1+PflMZJgW\nSNExJlhXsAFbtJRKj+hs5qDPZTiIffSGrnqFlNMnG5TAsQvEo7WUV8am74M1\nHxSwKYTMhFwAhrXfk10Fh8TWCwbv/YaPmIYgkrF4z8epw12cJKq30goTuzvO\nHkJz39DJKgx4Y1qV4Xdzl5yo/9ZcXooppI261rwbYHZD4AYRtYlrMeOXgVNN\n65bWcQzsnZDSoGGvK7nQAI6wqi+/a/iNCKOp9kUdUthTrw79bbdIoDyCyyJI\nOCsv\r\n=oJQI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUg8PY1xvhUqFkCXJ7Y2hsmVp5fzrbW7oLmL1KpepX9gIgGkZDIw7CSuL9gnkg0/v1lfuU5iA2ErANqKf++H907eE="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.11.0_1592737784316_0.644723705696896"},"_hasShrinkwrap":false},"7.12.0-next.1593048754.9e0dee0a7d86fecda1cf452e095fff14e2a2915d":{"title":"CSON","name":"cson","version":"7.12.0-next.1593048754.9e0dee0a7d86fecda1cf452e095fff14e2a2915d","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"4.8.0","safefs":"6.8.0"},"devDependencies":{"@bevry/update-contributors":"^1.12.0","assert-helpers":"^6.13.0","coffeelint":"^2.1.0","kava":"^5.7.0","projectz":"^2.10.1","safeps":"10.9.0","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:coffeelint && yarn run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"9e0dee0a7d86fecda1cf452e095fff14e2a2915d","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.12.0-next.1593048754.9e0dee0a7d86fecda1cf452e095fff14e2a2915d","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-1WApPLqpLQgKs/nFhspGaD7+dxvwbrUSspfdLtaGI1AZuox4pkukxrl/p57nezwaRX/Tywxus1PgAoSmzI1MLQ==","shasum":"6a547f5be1decfc81df0cdbaffa820764dba6c48","tarball":"https://registry.npmjs.org/cson/-/cson-7.12.0-next.1593048754.9e0dee0a7d86fecda1cf452e095fff14e2a2915d.tgz","fileCount":9,"unpackedSize":82509,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8/60CRA9TVsSAnZWagAAABsP/18gNjGk20hdCp1LAOu4\nFVsq9UAWk0cK9veVrBuC3tyCD1N0V3OwJVgZYvKfqeK+/poNN8xcrp/FAkNP\nZloIHQTjwuSt7jPf0lAcITclf7GRO2g4atp+Yylw6/5KO2zc3dlH7j8ozL/t\nnfWv7bHLnbr1bAb30RWoF3UCji9NzxAEuN1tai7L74M8vXqzTmJpj2zUcf9X\narG5W0SrOlVO4WoRpS/Lu/IXyDvILCYfNH2SPIUBeLyfr4ga3o/KU894jyz5\npV/BgYwHdvFgr+cG4+JkzLfz2bzDlVRPhoaCJ6Mi59nlE6ae9KLMQZvi8pQA\nlW9WlN3UIqmIyOnCLpz3AT6SCz5zuNVsTxL18vOM4nxI5qU02f+r6SWkEm3U\noWYJoESpZ5kCBjgyY00mrRd4Bqp37G4dny5o9cYVbQYyMX7HKK9UHvi2FzPx\npxgsF4ZgNexz7pr2Z/z54ENAAOIZfztaJ1QAK+IrVmDZp1sT0eQQxipo/TyR\nct+/oyIT1abUcjPjTMxztaxORYyxIyNRYimzcrHRa4vRoJ3U+D87w16YZ0fA\nGmQQU3jU+Q4I7T/eUm35/8WNZ2cUcna2qV4KY/9rKMGAUR6uWNhBSMTp85D1\nuSZCV+kNO6Od7bSXFTLl0QQDxFrtG7GpYUTpIFfv437kc9CuWjZ2gPnTrGUX\n7uP1\r\n=L0u0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHhVfZIyvN/rJxrMAYiuH5OEPPd/W6Qz2YolJBC1ocdAiEAtKrs4GtHLvO0Ji1Q5uzuydaq3I/Xe56FFZ/lnFUZ9T8="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.12.0-next.1593048754.9e0dee0a7d86fecda1cf452e095fff14e2a2915d_1593048755995_0.7094597016299806"},"_hasShrinkwrap":false},"7.12.0":{"title":"CSON","name":"cson","version":"7.12.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"4.8.0","safefs":"6.8.0"},"devDependencies":{"@bevry/update-contributors":"^1.12.0","assert-helpers":"^6.13.0","coffeelint":"^2.1.0","kava":"^5.7.0","projectz":"^2.10.1","safeps":"10.9.0","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:coffeelint && yarn run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"9e0dee0a7d86fecda1cf452e095fff14e2a2915d","_id":"cson@7.12.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-jMhg4o1DXED2qtFABVAeSaLIJ9u4YNg8mLw+JfuFblX4hcUWP3bKILJoYfa3xPWXKoV+hcmgrHV349fVzrGy7w==","shasum":"a92b3e4759760e4e49ab6933ce1b2153c1702a29","tarball":"https://registry.npmjs.org/cson/-/cson-7.12.0.tgz","fileCount":9,"unpackedSize":82452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8/72CRA9TVsSAnZWagAAi0YP/3hGIWUCXmbhicj32uv5\nzlz0g1TEFr6o+y36+P6W3K/PJcMImq/v1pyu1wJgeX0UfpSyh8TYT3Ev5jSW\n4jqMK0NB44oqzVbB8+uwVvxXw9ykckMcnwjYkYXMzna3hHU3oTT6ObF5MWkg\nw0/15AunO2dkFCK4+RR4fWFi4SQ0WaraLaDHvl/5F5Q1wuy3R6YQQbXMP6Nc\n4CHgj//iqza1lujBi/+MQ7eAivvOtYX1dS+JgpRS2IpBvTilNUNDHsPjsZdt\nUoM5sMk9X6K0q3DjMnHkQmrSog3Bgk5IrdupcBtWqYNk+8vDOP3lLT9hjGDM\n3m87UYSh57Q9OwBur4BGFITb0Y+8qm4FwM76Glhs3YPyYPef5I/cJTuyL8of\nM5CpCLFJ1Xqo35TsUSawqMJ1zoo2CHR7cOD97eC5F4hyyrYtEHZ+Dt9xpHFX\n0WDYlWpxDwCRqKcn8VSGhTnsfKD+aaBcFDTXBDSIgJ1OcCSb3oGNLk2oUEtE\n01S/8oMla439h6PYpz6hxSlS4+IpQIRHpj7GMp6F+hNfzcZ/WU1tQx8k9ch0\nj/q3lLpCSByTjs6lmsLx5+54FkNZen3RWB3kDbLMCvmFIOikozyaK4T7RWPE\nB4ai66yq/ZnN6oNXkExFBcn+2jPCb3yd18biM8anpXe1r/7kDCB6sICk805l\ng6Qv\r\n=w2h2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhtemXyqcskFtbgkROVFeLIkrFzJrkO1NK1ZlWf0TpOAIgePd4mLlJibLgxOiV/ZZrpAqh604SIrgk33mtQtQd8ZM="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.12.0_1593048822279_0.14465783592382864"},"_hasShrinkwrap":false},"7.12.0-next.1593741806.0392c78d9615a90fd2a1071c19293f3a6ff15df1":{"title":"CSON","name":"cson","version":"7.12.0-next.1593741806.0392c78d9615a90fd2a1071c19293f3a6ff15df1","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.js","json2cson":"bin.js"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"coffeescript":"^2.5.1","cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"4.8.0","safefs":"6.8.0"},"devDependencies":{"@bevry/update-contributors":"^1.12.0","assert-helpers":"^6.13.0","coffeelint":"^2.1.0","kava":"^5.7.0","projectz":"^2.10.1","safeps":"10.9.0","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:coffeelint && yarn run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"0392c78d9615a90fd2a1071c19293f3a6ff15df1","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.12.0-next.1593741806.0392c78d9615a90fd2a1071c19293f3a6ff15df1","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-cDB1YGzWXM3N1Zf7mT3N+guPo0NKLqYiJhFSJo79BlXP7q0VWfX0I+5jCxe1Fr60AAUXUtveyqHWWWAzxIDHpA==","shasum":"2e782101483d767a75f2fa099b086560945fe87d","tarball":"https://registry.npmjs.org/cson/-/cson-7.12.0-next.1593741806.0392c78d9615a90fd2a1071c19293f3a6ff15df1.tgz","fileCount":9,"unpackedSize":82509,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/pHwCRA9TVsSAnZWagAADEUP/jJbjqj+7zq2CxaQt6r9\naWoiwiasrGPCi+bKqeE5+7q0bdg232/C4jR2uKtKT1nojH3Eel5YjETLX609\nr7GnrXEO40P3qFMUW5vMH1pjQU3yjveDyrbMtgrsVNREetgyhvx2JA5KyVyp\nVEtYg7JPLFvTABN1jdN2COFO/ndI8hoFTAVUgnO4SLCETOU5txzCubcNCemm\nSZgfcoWTXWVTrzonZuITsqWzPQqyQkONjnz/uFsxJpATMA1o2AuehsGiTbv4\nhZ6yVLiUPgI7H4ILGCDUYVTVE6YEOPmD11P1LMVHjnWzhTqkK6cqy1SFKhfm\ni/0x+PjFE0vGYNm7C1uXz3FEG2FUE87AOgWbiCbwmI3hUMx76IdqTNGx7RjX\npnxK95p/xN2EIr1E29jP7mWQFsgx1RY4IveIbzfAUE+pPD6XZdO5yZ2Y6yzl\neoJau5X0XeEovg4XT8SliG5pdhqZZ7OCqljv22z1bLvoGPneTPVxE69M7SRx\nt5kBRHcv0rhwrL55483/8IF/2MyREbhrPClfWTfjcCsdS72Oek1lGCMn4wfz\nOfwU7TCc0NmqH6s9oUaYyQFLgWQSosy3i6Ef4TD8pufLMolTCmYQNS2XhzhN\ng5/e5+LUokZQ8DyeYM1uKJMX+qBok5YsEoEw+613gnlheasap06yJEVBJmHS\nkkKI\r\n=eky8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG42YoMD9WTxpivNiLj/NG9z8pJVUsrZCP5GdfH3gyTRAiEA7zLuvAxJo0MTkme9rJn54TyS2KvQ+X46t6IFFJvJN44="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.12.0-next.1593741806.0392c78d9615a90fd2a1071c19293f3a6ff15df1_1593741808218_0.8968087377653895"},"_hasShrinkwrap":false},"7.13.0-next.1593746504.b98a49bfed23304ba0a61e43f0185a355c704d2f":{"title":"CSON","name":"cson","version":"7.13.0-next.1593746504.b98a49bfed23304ba0a61e43f0185a355c704d2f","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","exports":{"node":{"require":"./edition-esnext/index.js"}},"dependencies":{"cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.9.0","safefs":"^6.9.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","assert-helpers":"^6.15.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.8.0","projectz":"^2.11.0","safeps":"^10.10.0","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./test.cjs"},"gitHead":"b98a49bfed23304ba0a61e43f0185a355c704d2f","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.13.0-next.1593746504.b98a49bfed23304ba0a61e43f0185a355c704d2f","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-05WNWBrqUu2N6EryqLY2i3N0XTC2B0XwhmD3J7Sl3Rrh1fTfI5JnN2BsHmBIfMrl2LfVZ7Ha5hJoEGaSMXTPYg==","shasum":"0b1451fe1982dea216fd395fa786094dd88b61f6","tarball":"https://registry.npmjs.org/cson/-/cson-7.13.0-next.1593746504.b98a49bfed23304ba0a61e43f0185a355c704d2f.tgz","fileCount":10,"unpackedSize":82779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/qRJCRA9TVsSAnZWagAAAXIP/RYGOjkofEue+3hHZFtW\nNGFnX8gHg5qqyB488aw5Ldu/Mz+Yyo8mcT2Pf0T2Vvcy+MfADvSZRghoE5lZ\nJMq8xZn1NDgky9p8itOEphz/VuAHTTPnPJR2PXl6cWcgHC48W5YG5u4ySdz6\n/L1RE56QhobDT3yoKyvUAuUb4AB8jWtjB8iMfD2NlgbXeh148v0OD09vdm6w\n1hI1KHqQpy7cJHL7yKzZl5JK1HfAEzr7lc0lH8g1UesYGtEIYsBAFUROcwsp\nYxHjmstAXLowq2LHhPclenZQV2J/mSiNiPZ7NMx0UVMrrmr+syH1MJc0JF/s\nSvEfY8e5J2dPGoNLhYItkcgF7uSV00abE8t0Qj45gYvP1H1HIJaU8wQ547P1\nbjt8dVhNwdoSrOmA6giJPoy81FhSmyJoiH/0yN+F9VzzNuGPsQa/kiu4ObAn\nbNFNTV2R4PzwSGZ6anLuLAQkzRPADE8coyw5NhX9NHqTwbTWAAXwLL9FX7gv\ntXeklHclA0kuy3iLAglXVXcI5R9oJRT21rYzmBY5J7oNNa6Yl/pfnsRRUer/\nbSJu+FiC7qAg5Dc1Ll4Op4dzLuTfDAa95Pz484s35EBE4KJJqTj5NuygC7Dr\n/Cz/SvHKWMwZxxA9svMrHfIjX9t/RBpV8MeTrg1B43Dn5JqTldR9/xG3yWmP\nBEES\r\n=THrX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYLSASp6BnsfxEM0tO4wJXxF8QbWn38LHfG13O8/ckkwIgZz8VFz6zOKwlvvc6CE0Lh9590DVI6vRExdfy4g/C0sI="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.13.0-next.1593746504.b98a49bfed23304ba0a61e43f0185a355c704d2f_1593746505341_0.26579843994206787"},"_hasShrinkwrap":false},"7.13.0":{"title":"CSON","name":"cson","version":"7.13.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","exports":{"node":{"require":"./edition-esnext/index.js"}},"dependencies":{"cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.9.0","safefs":"^6.9.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","assert-helpers":"^6.15.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.8.0","projectz":"^2.11.0","safeps":"^10.10.0","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./test.cjs"},"gitHead":"b98a49bfed23304ba0a61e43f0185a355c704d2f","_id":"cson@7.13.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Z58j3AbXjGu+n2CjSM3emZycaoa3fJxUTaaUsz9QdhazM0QAMHFR6MoXLrTgTPPV9gqpeoVueyC60/6sYWpOSA==","shasum":"97f39c8256995cba13ab02aa2b9e88c0c8149995","tarball":"https://registry.npmjs.org/cson/-/cson-7.13.0.tgz","fileCount":10,"unpackedSize":82722,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/qSMCRA9TVsSAnZWagAARUsP/27mvbZKVLCzJDcXZCzV\nfgqHffd9qRNSl+IoetKjvKJLEZ65FHYGi1J8f80Ev+TURaRaOCKYLFtPP24b\nENkGVVEqSgbyiI9xUiTCIXs2xbbb06sgn+3ji7wrdX+DmgBP364YMGN9vWa1\nB2kWu5fXyfc2gPowLWu1E2e43KDq7zb8cXIkXlfrLJB6yUPNonY86zvLnReN\nSARr9nD0VvpbDAtdwpg+grgiqTzHjEy6T7RcMxt7VRTxaIv5QmkA6CcIH3IQ\n66e1CiZJQ01fCs96R8VenPVgHZt75fyP9xuYnt4sh3xd8MadCigad5dW5yJD\nPDv8Oor1KQWtlEJFrSymLo1sTmJk7yUEhVKxCBJqkWwGoKTTrj0xln5yB2e5\nbZ6DQi12CS0XqHTxABJ/I6vRF2cNtujjHYZ0HnQT27bRNiZDm5/vQMFeZSRH\nCtDmnD5r8S+jiRPgGxeRvqzOS3pu88xj4Fx7YqF72s70SZQVktWduErN6IO6\nWhGTWDASS0YG/hw4S6vmJ+Yhl8OiWR2ff7uCFkwIhG2LJuH0MJa0hvtNRRJ2\ntSHDbzI4YnpUVk8iox/1DHqeCEowTwe2QYU64vPXgFZCbL431e4/Nx857w9G\n9EJwdpoOeWOcKV509fKZ/YT3zXU5iNfZMtSkX4cX0oSpH2eKBv3yubKTnsL0\nuCog\r\n=oKWG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH26DR8N/E5QlRNMnkjStmAj1iSI4wfxdkC3Tm+50VsTAiA7CdwRSdNvzgQIQxhAGYacAwZfFTs4RIJkzboiMM/Whg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.13.0_1593746572291_0.53730573740537"},"_hasShrinkwrap":false},"7.14.0-next.1593746839.ff1b78b1f7472dbd0d33ef46f7d77c99fc1dfa31":{"title":"CSON","name":"cson","version":"7.14.0-next.1593746839.ff1b78b1f7472dbd0d33ef46f7d77c99fc1dfa31","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","exports":{"node":{"require":"./edition-esnext/index.js"}},"dependencies":{"cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.9.0","safefs":"^6.9.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","assert-helpers":"^6.15.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.8.0","projectz":"^2.11.0","safeps":"^10.10.0","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"ff1b78b1f7472dbd0d33ef46f7d77c99fc1dfa31","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.14.0-next.1593746839.ff1b78b1f7472dbd0d33ef46f7d77c99fc1dfa31","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-GbBaZ1A/B4huPA8qXK17lCFX4jwqyQwelVcJkOqFKMkfOh/UuN/iDgLH6LbQ3Ws919jJQop9qzUEph7VxDsbUw==","shasum":"b733d99b9364bf4c69ddd358470322c10a9d0b45","tarball":"https://registry.npmjs.org/cson/-/cson-7.14.0-next.1593746839.ff1b78b1f7472dbd0d33ef46f7d77c99fc1dfa31.tgz","fileCount":10,"unpackedSize":82990,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/qWYCRA9TVsSAnZWagAAPnMP/2vQWkI4DzgzplO2+stI\nUEp4HmArDTzrjEFRkFwkjqQY1qb4IReYwwYIUz0mfiKZrq9BYmkUun7cDHLJ\no+Puw3GPNAnpY4zP/dWrdGitb2o/ncwGzM19vYjxmk8RHvMYU7yXjXN78i5V\njSXgCkUtfNF+exjJ0rqhfPL2jVtHjih2RWMZ6xw+g3TAT6eI5MB3KHuZz2FR\niderWXXuzznDdmNlBzlogibE8U9IJv2/5QTvd7YV6OUMh0PgIdbkv3AjMduh\nO+MQgwcRg3nZPJK5Jw7rtPRgu4Gb/pulOhBKL+gHTM01TQt6Pf5v4H4ppTxX\nIcWk+O+2G2Qks16CMrRhuY1OA6/s1QlGH6IBoFn6QtbvPcfTCxkvUjD8OpAy\nwlff55+QMblapylfnyMyVnFzF5B+tkRMjfA6xL19dF4TIFHmjEaSjnzbWrW9\nJF2HaWDBb6TcCrly0zn85to894RGQAEvjytgh+fIklK56g10EALi081bO7Jn\nD4uIm5bXCuhpSgjC/frJBPJ2hrTlDsxZ/BGmForfqOrlso71oE2+MMmtM1iY\nM58X/Sg+SjuJSDLXRV8VJAr5l0jTp1vlpe8LGyF732HKEoNuZJXkLsDW2wD5\nPAuvbpaA2raiDQlrIUiXv32zDxRLvE8z/7AR/5S7IUcQgUnUP4Zgzx0hEE3D\nYItq\r\n=A+rG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHV0N/FHazySVcJ+z0H5yphMx2oWkvArOH3cVTUnYLL+AiAnAwNuF4ub1fVLPMRgADNQLo09tQVS774//oX1JviHZA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.14.0-next.1593746839.ff1b78b1f7472dbd0d33ef46f7d77c99fc1dfa31_1593746840295_0.7655196685787087"},"_hasShrinkwrap":false},"7.14.0":{"title":"CSON","name":"cson","version":"7.14.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","exports":{"node":{"require":"./edition-esnext/index.js"}},"dependencies":{"cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.9.0","safefs":"^6.9.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","assert-helpers":"^6.15.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.8.0","projectz":"^2.11.0","safeps":"^10.10.0","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"ff1b78b1f7472dbd0d33ef46f7d77c99fc1dfa31","_id":"cson@7.14.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-KicyV9SNlI3TUQdShhP75KAckD4DinO9Ni0/oAXCPMXQjCd46BIaBkgLQLfAJ11W8LMdP1sqe0+WEGb1vxlccA==","shasum":"271ecf2dccac2fc880e6d7681ce758d59f2b80e4","tarball":"https://registry.npmjs.org/cson/-/cson-7.14.0.tgz","fileCount":10,"unpackedSize":82933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/qXWCRA9TVsSAnZWagAAkpIP/1XRgyA44uZHBguAS3Ut\nW3pStS1U6JukJ77rtwbEV+4Z4Pj6rVdlTE9BopEWcniDMYBpOXvl0utPKeX5\ntkNFSYo4YQpAgsQgeUOBO9imxr1xdITAEBkSXfU9ftmg/EdleuB/6dXMtd/g\nzL5C7wd+GAsXbrknoADvKSb7HgegLQZpVXHeF091wNGx6KkaVkUPYU+IfVa5\nl82J2oGY/qE+lagG1itzaS/F3E9VLRqIaMIAkjtuaZO7LFM3szVD0WWkvlRn\nQiFYSQKNwnU7yMo431FlQaJPiwSSqCAR7dOzbcvYPu8+GuMkP7PUH2ts15Lz\n44HhK/RVgm8EygcPKTRTP1QzEzy9L1Yy117lhz8RuYXwWB9QcOKIF4wfTdcR\nFMNGF7baCMIdtfsXqa4hdzf9lvwdQmdbYXZnl9OzyXFiDekSkmzqylP3HYxu\nqnp6NZ2kS/Z+iVVlFXhPgi/gd6G2xKoitQPwlkrshk7DtnYjL9VPtImfHUn+\neLrDOdPEA1WRa5TLFq+KdswmoCMD92tHA9p4AajhtY6OWaCUtyULOXgtjQjn\nIfM/KZ05aO9b3sMNtE8KQPh6h+B5lPwy/jbaYhbRIdyB4AeBzf3dHNT3U2Em\nzwQkfY5hA3RnXdtwty879MnV61PaxYXQ7V+hwdf1USw06tHs+kJd+r5uOOdd\nBbrt\r\n=B+CG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpwVuT/uBpPsexrHAPaSxJiVpj0q5npkjWcwXAaDfUCgIhAOgoQNJgTZ8mD+9ujc2fiFmuO6Ksk6Ar9nEWq6rTkM1w"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.14.0_1593746901398_0.7185230704425918"},"_hasShrinkwrap":false},"7.15.0-next.1593752037.d77ed56fff2fb638aa242808d55726902eadc167":{"title":"CSON","name":"cson","version":"7.15.0-next.1593752037.d77ed56fff2fb638aa242808d55726902eadc167","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","exports":{"node":{"require":"./edition-esnext/index.js"}},"dependencies":{"cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.9.0","safefs":"^6.9.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","assert-helpers":"^6.16.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.8.0","projectz":"^2.11.0","safeps":"^10.10.0","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"d77ed56fff2fb638aa242808d55726902eadc167","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.15.0-next.1593752037.d77ed56fff2fb638aa242808d55726902eadc167","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-QAUq0GqhEazbJQEznEvmoAoUBYxUr03CtWZkg64lp2lINoy+yqqV655hfXAPKLt4FlEFmoaa99rKDyHoRTAgnw==","shasum":"97da3d504d1cbd14abe40d1c7aff4402d2baf2f5","tarball":"https://registry.npmjs.org/cson/-/cson-7.15.0-next.1593752037.d77ed56fff2fb638aa242808d55726902eadc167.tgz","fileCount":10,"unpackedSize":83187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/rnmCRA9TVsSAnZWagAAP9oP/iC6mFABmPicmz4yMyWs\nH7FQLvBc4SU2IHRTwZvcZZR4oz7PYI8WDt8vmcGp7qK3+BmyBHKOXs2hRio/\ndlGoSF1iHGalmJ2eqpO9rsXmkcHf/WNiz6kh+Pd580m7xeQUee0MG4CTQqHb\nEqoE0liyvlVjnFf5wCMBP9PopOGHP8rDBLtJWXfTCo/CicIzVVWJZ59FZNcZ\nfDg7jIzeqeiamWk09LhBaiyUcl+vRdNcTHI3n1uXe9RXrxlBzTd907Q4nJb5\nxkCzaXL+mA0bGJ9KfBvFu6nY5GLWwtdiAVPl9/acDUZ+yijy2VHBGMfsnOws\ntPjBlrLuTeiIgWqE9bKuxVHi1U+aSoQRvvLzI0lWytDdWketiB/XQNP2E9VU\nfIhPAUIAd6+dfi6k/F/QnOFk2yhlzXz5Szhbp1Id6fIGVnWR87ERWO/OOhYs\n78DHtAELiH6m//NYCpxOguTw32TmqnHdFqV6O+4xONZfxb/HuC0CbwfgWY9y\ncN6wpHN0f5WH6HwCwgdCU66edtI9HoZAztZbQVAe2+ZtW7JUs+11em02/feN\n1H0284m3UrQ5ePY+mgJF2D40ljOwJ1rOyw0+c0IB8DVyuSK8TvTdXrvlSBkU\nlGkhxVTOLBYLL/2YXxRrG6l1NKo/CvV2s6iz1MVlqwWZpce8KHtVNNwJFZmz\nNDvU\r\n=5/MD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGgtDhFt/r2DMMirXtBSM09Uv6M+iUgnhV4iI9aVLXtWAiBS1PULNXtypwlsnVsKbAsH9gB8GuTcFiXA120chkHWZw=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.15.0-next.1593752037.d77ed56fff2fb638aa242808d55726902eadc167_1593752038565_0.9422207476389675"},"_hasShrinkwrap":false},"7.15.0":{"title":"CSON","name":"cson","version":"7.15.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","exports":{"node":{"require":"./edition-esnext/index.js"}},"dependencies":{"cson-parser":"^4.0.4","extract-opts":"^4.3.0","requirefresh":"^4.9.0","safefs":"^6.9.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","assert-helpers":"^6.16.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.8.0","projectz":"^2.11.0","safeps":"^10.10.0","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"d77ed56fff2fb638aa242808d55726902eadc167","_id":"cson@7.15.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-lRrnDvGpPWXecHT3E2r2hHM0JahVFm7itAKtppgWzUryatkxOtZzwN3oGiwnmsIDI3GbCWlFXi5mhRfOwQYzGg==","shasum":"2f9562d23d8ce81184d5c0e0e710fa838051a638","tarball":"https://registry.npmjs.org/cson/-/cson-7.15.0.tgz","fileCount":10,"unpackedSize":83130,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/ronCRA9TVsSAnZWagAAs/QP/0aaHoOfgOZaTES5VJRB\n6SOxHoQocQx3vqyQGc4VInEMdwCY7RVkg6QLiGCCmbvZrFWV4qdmVH+ARpoe\n1vPKTHpExmS6pNIVg5c8APx/jtSujb2dvqPg2Xb4vO4Noy5Pjpwv2A5nnJIo\n4AXR9cT1VjCqB5UZgvp9ABQ58amPNF5p44pkV6m/Bie+8JAGX13Duma6Vj8F\n0qLYpy4LflGL/lpgkMHbaibFUsJOwF9MA4fFA3r+eJC2MoRZP7esuigv2Lkn\nSyl9io6gquazsbj6UmcESOHIqNHCYJYvvwqgGZK3BnfkawIqW5Pi7AZ4WWWB\nT3NWgRSHNWZf2KYXaMmIHGPhPMv5DMegNAV5r1WN9QIrCO89Y75xIlENLbvX\n427mqTylRB9qOHBdZt+0OwQZ50MXHfWygnX+PqSnDeby2WYAQhCGq7na2eas\nZJz+5ygsv5knrta/dWqZPrlpCxBKRhA/nwWvbBlizQIPGEfVtKcQp75KZ3Bf\nCoQP3aaV4ZmX1VNMrtHGswiXE9VQwHUFD/ISdWranCZYBh9kdColJfyCqXpl\nUZ/SJXDVXQ2EsomHLP5qXbwmYGdROlE+GIV5XMI7jf2fmtoAFlfMlz/aWvpz\nVuTl9gGPxJ/2ZsOeehSP5Tnf47PTtcZ/MSOPC+trW8kfutLvSVmIDyBgKdll\nX/sf\r\n=8j1G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGwGH7gHlu22FsKFwYxTfJdaKYQiYRjUFL9w2u+yObSiAiA47PxElz6cPQfcoOYNK5pWhL7lLCbXjcXrCAXzPaG82g=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.15.0_1593752103326_0.8536867984507417"},"_hasShrinkwrap":false},"7.16.0-next.1595343173.57689a3cb4c52edc131dd024c0b094eee1da7f4f":{"title":"CSON","name":"cson","version":"7.16.0-next.1595343173.57689a3cb4c52edc131dd024c0b094eee1da7f4f","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.5","extract-opts":"^4.3.0","requirefresh":"^4.9.0","safefs":"^6.9.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","assert-helpers":"^6.17.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.8.0","projectz":"^2.11.0","safeps":"^10.10.0","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"57689a3cb4c52edc131dd024c0b094eee1da7f4f","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.16.0-next.1595343173.57689a3cb4c52edc131dd024c0b094eee1da7f4f","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-z3boW/CMvw806mrVw6OXj9oowK2rvaZDz1NoKaj2CAFhdVnUuIQEQQmHXnCokDvF3k6WlqijmSIQrUqJ5Wey6w==","shasum":"c4c5d48061edeccecfe22076ea4513626c508c67","tarball":"https://registry.npmjs.org/cson/-/cson-7.16.0-next.1595343173.57689a3cb4c52edc131dd024c0b094eee1da7f4f.tgz","fileCount":10,"unpackedSize":83356,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFwFHCRA9TVsSAnZWagAANEsQAJJ9FFosKh82vo/DG1M0\nxrNBnfco6fIynuEyKATtxGb49bu1a8R+T0/t+ws3jNkJnNjhVyJJ6GbF3o1T\nN2BAREp7b30zn8xw5NrVWbpLHQWp4GYdF3tYoPLi6qDmMT551p7BVoX83+EU\nPgx7N7WJ2x0aHOWxaVYWFdpFYwmI3hMD7xOn+ar6lqYkziL9kEyS6oCfT/nD\nAQDLHMWokPOFErkOIPBIVS0HGfAdFZyoG21HCOOHZHOskhh6GNTSWG0HjiSC\nouJ+lMwCPdQNiUw4J1F3DwhnE+RZdGN0QfLVZXwhKDc71mqCZh1cfzk1SP10\nPgvR6N1wg7hSNWkr/aaZ1mA7JtU2SGwNKs8aMnLhWsEJX8hTHkCxift013RR\nlssO/zqI1hZfdOQFjRkikULKeH3Lczfl9kDqXsjY5+Sb2VcJYcK7CtDpPc2X\n2lhMudBL7ULXfFml6OmPW7qBkGAE1b4GTHtT4i834UR/UdL2wvHfioLDNQHS\npSCXPsg3ImYkYZjzx1MGurSrwiWngd4w43Itqw9jyIAwCyLJd+D+JxR7/ieB\nFqqHzuYR3bG197vQWyNr5h++nMEFAtSEMZfSC1y7E8m6p5cHIXN3MbqMMzAT\n188fRFn+vdTMhKoIiDh9YsnlGqWLr58+yuAHiLDuEfBWWPCEahjV1XPrzAT/\nHEx8\r\n=9BYE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlqfV68CtWCjWe1TmPa0fp80N0xCnvd30hfCebvIH3pgIgIYdMxIqUNF1O2iKHA6IGzrp1geyyGgZW6DwLpJyzhms="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.16.0-next.1595343173.57689a3cb4c52edc131dd024c0b094eee1da7f4f_1595343174671_0.5410827908652642"},"_hasShrinkwrap":false},"7.16.0":{"title":"CSON","name":"cson","version":"7.16.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.5","extract-opts":"^4.3.0","requirefresh":"^4.9.0","safefs":"^6.9.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","assert-helpers":"^6.17.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.8.0","projectz":"^2.11.0","safeps":"^10.10.0","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"57689a3cb4c52edc131dd024c0b094eee1da7f4f","_id":"cson@7.16.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-FrGrnGxNdBduQ/Ff3jn+Csv2wWoRpVM+H39qTlcsHId1MUdmO6xt+gGLQnV8NO3DFpB64443BkZBDFesGL3hyQ==","shasum":"f9ac513d7df3a96100976c2ae74ca682726061dc","tarball":"https://registry.npmjs.org/cson/-/cson-7.16.0.tgz","fileCount":10,"unpackedSize":83299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFwF/CRA9TVsSAnZWagAAOLYP/1/BHmugHhU/uW4Evj1k\nTbSHjY7oxDJmuv6Lp694ffaXFR4PqtjXY7tvwb+SG0JhFwynDrV5b6GOnoHm\nIlt7up49g8djAQ9AI/JWg36gRgSmacpOCjJj6YS6UnHBFzc7hWjHD89J5Z7v\nP+Imagb6vkJePySL3ZGbNuOYsm8rYhsXxG+x3rmYL89AsB8IsWvEPRox/EM+\nPY+aDa02JAFFWd0inw2xVdPNAsZsVgenJYHDO+PQ/0MizDAzCmdTgraZT4SZ\nVkNQXRjDe+lkXyJZ0Gm/3j9z7k9EAfefFzebs2lQmOVwhRshBgvJ+tQ0MA/I\nP1o1kX59ioPOFpiJBID1wkVIgmzwQ0dY/diHcjjHlgjlXTXFnkPJr2r8MSyI\nF2iOYSW+I4zjTF05/+zETjHXY2aVuV6+zwYehZ9Y81TdzxuSF1L3Rt+wch5B\n2UX8w2hLR83fosMptCMqrHraQp29Np0mpxqrmAWpGlJAgFkdH65KE+HCg4Mq\noabExLQeuDH393xkeTm7HniXxkUjsdYu5dHjhiy5rxCLd2pAzVoBHcF3RWWV\nQ4AI2iexo4/sdnsk05QTTmTaPErHyQyi1eIlvralCvsusAPcAi0JDWwVtuBJ\nfm7Z3L2KAs8m1KT0VFfIh2P295YhovWEwQdnvr0FZ/J1YYYBZFvvK7797pMr\nZvGs\r\n=y2aO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2A2P+oauvFOikfrkpOQgF2hFpfDHoGD9h7AtMoYKceAIgYqo7zfFpSZeYhv952OogmqoS7Mubmz6Pa13Ug69vXe8="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.16.0_1595343231192_0.14575042009459893"},"_hasShrinkwrap":false},"7.17.0-next.1595351528.aa9f7dd4e7e8f91888399dc6b35ce41500b104b0":{"title":"CSON","name":"cson","version":"7.17.0-next.1595351528.aa9f7dd4e7e8f91888399dc6b35ce41500b104b0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.5","extract-opts":"^4.3.0","requirefresh":"^4.9.0","safefs":"^6.9.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","assert-helpers":"^6.18.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.8.0","projectz":"^2.11.0","safeps":"^10.10.0","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"aa9f7dd4e7e8f91888399dc6b35ce41500b104b0","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.17.0-next.1595351528.aa9f7dd4e7e8f91888399dc6b35ce41500b104b0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-/LIykPFA55cYyzPz5n+qZJIVPKYxZREkcfiHmow56HQUxnyGJ95TG3R67HkESSs//GBuTHbKXJ//hE8Kg6y05A==","shasum":"f097424bb4fdcee35ca4e9ee2e4b89101db2480e","tarball":"https://registry.npmjs.org/cson/-/cson-7.17.0-next.1595351528.aa9f7dd4e7e8f91888399dc6b35ce41500b104b0.tgz","fileCount":10,"unpackedSize":83554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFyHqCRA9TVsSAnZWagAAn1oP/Rxwl2J6pBF0PoFdmklc\nOosW56FQCmC/qV4ATp5PXjHJj1Rwn+njoJXo7Clal2V8tJklDRqjp1xjYz5H\nMLOlmOxp+oinaSntboMTZrMPSmS1PgxP/RpC6D3jXppyJ0qbohnPle2Z8+9f\nEF2d7LZGKCf+WmKmWApiWUxrbKb89sGcV0H4XChFsrEdBMVEV9ZU2kNcv+lq\n2m7rVsXkio45a2FEMZVqID0lVSv0yluwPix1vh/iSSlAJ6nqn7tyoAR/AsJE\n9Y5EYqCTECtyPndiHJq6R0dwELasMROZ6eiD9wfJcLyzwAYtZTjzdgfZyBxo\np7oAmfw+1jp2MsIkszSnNnlrT59Oa4pGsMXyeN794hz1N7PZ5kafrX4QOeTs\n52QS4NbM8YdQkl6M+sBamdyQzrHhoIWJOY6k3rVZPkNVPzKGI2mlM3L10N+Z\nxD6JgtSGlqY+NBT7kePFFCg8B4kjPpZLJbyQazWk9H2By9NHBqw/iVsOTvMv\nSyjZdORwP3v3RN6rz29MyA2L4HRFwrB8RC/qpAj7H3YG6KAsGlA7yJqA5lBP\nVncPVhlJABF/Ix3SppUGrxozEfnls6N+EZahPfDtEFKcfi757+usTUhTy3h5\nOD4OOOx2AYuV9ivwBCoi8tiY62N+FylJNqAYKBdfFR/W/tIvdeUK+fUgs2Gp\ncW8U\r\n=iEJ3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlrECl6n7mg9lBOuFzEGuKGbrMzwNaI+2YmCl1WD09/AIhAIuzM9ET3ZLyxtzPUdGrmTIzL5jsR3u8WaAQzY/xRLIi"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.17.0-next.1595351528.aa9f7dd4e7e8f91888399dc6b35ce41500b104b0_1595351529421_0.4135058458311893"},"_hasShrinkwrap":false},"7.17.0":{"title":"CSON","name":"cson","version":"7.17.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.5","extract-opts":"^4.3.0","requirefresh":"^4.9.0","safefs":"^6.9.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","assert-helpers":"^6.18.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.8.0","projectz":"^2.11.0","safeps":"^10.10.0","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"aa9f7dd4e7e8f91888399dc6b35ce41500b104b0","_id":"cson@7.17.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-cjDZlb9lUVPxVdllbkUFqXa+Q9XdrnptwTbv77dfAcKmoAYKz68EvAGgI0DSZBm+6XOHSjPYkGIksJCx00haxg==","shasum":"bd10b6e6ab8034ba9b7fe3a318c89a76974db037","tarball":"https://registry.npmjs.org/cson/-/cson-7.17.0.tgz","fileCount":10,"unpackedSize":83497,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFyI9CRA9TVsSAnZWagAA8FkP/0zSZXxv2s8VMdSEQOZ3\nJP0wc9bMVIQz16ugJOl9Tm2W2L8jjalJU1ry6/IUMq9oX3wuYSUhk9eyKQod\nwKIcCa0oIIiwEafXm8BIRTjeUDCp8XKiHdDxihd8ke8jrATns4iz4q+TBlyV\nhGIc9NUPTuzWJq7av9/7cm186ulHgyGy3WK8oAI4872eisRevyclGXTJiEDQ\n6M3YkiZjpKqWgrLnbNmX9mTpd91H8zWR7tSiQJA9kh6cJpz5Bu/ZnbDloNnC\nFYdeeS7p6URgCYZiSVEg4NENCLfQvBvGlaADN3WfrPvZf1L/3OYhfWgpBhLO\nZEz0cq+oox2tc4bFwzj0UgXnW3fQBPxzKwWWjMjvaQV6afCu2/1fXZtpleTs\nD9orB2StwEejJdKtehDARJprPg6Bl+lcIBTsVZKa5ThYGETzNSgd8NWAlpvu\n5OGKu3k6GKhDb/WZuDFeguTn2+yC4hopeWoPAU66OlezWv9jjSzllcFoftrm\ncT+e5wWaB1AjYyIVYwIFySw/0Q1/hG0XLMAL83rEcmQ339ciV+845cyZU3lS\nhILuMHtjHqnhCuBIN1MWnEcyxdUy7wRaz4ddZpR1vHhZBaddY3Iur3F/G2Po\nMYocVaopEqUs2SgI0m3vTRPqT2VamuRIzqqld3hWfsiK6rH0QrnL7Mepdohj\nh6lH\r\n=egbo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC25CVdec+zF7M+rEfzmPsObVN/Ipm4m4Mhk1hlpQDcegIgczkZ0QU9+lTn8zB5sxI/Y4ZbyinZUr2vBZL4Gm90kvw="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.17.0_1595351612879_0.04228380073326177"},"_hasShrinkwrap":false},"7.18.0-next.1596512564.02c96ea1ce7de1a7874c5fa46caa89e50c879484":{"title":"CSON","name":"cson","version":"7.18.0-next.1596512564.02c96ea1ce7de1a7874c5fa46caa89e50c879484","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.5","extract-opts":"^4.3.0","requirefresh":"^4.10.0","safefs":"^6.10.0"},"devDependencies":{"@bevry/update-contributors":"^1.14.0","assert-helpers":"^6.19.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.9.0","projectz":"^2.12.0","safeps":"^10.11.0","valid-directory":"^2.7.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"02c96ea1ce7de1a7874c5fa46caa89e50c879484","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.18.0-next.1596512564.02c96ea1ce7de1a7874c5fa46caa89e50c879484","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-W9g+FmK+lhPh4A2fXmT1bkZrh8NT9F9pXb1prP1GqM9cr0MFEotBN0wtt+B1e8qYsgxvCqYAKnuRgPHAIX3jrg==","shasum":"6156b2ee604766a6356aa0506b791a209dc4d27d","tarball":"https://registry.npmjs.org/cson/-/cson-7.18.0-next.1596512564.02c96ea1ce7de1a7874c5fa46caa89e50c879484.tgz","fileCount":10,"unpackedSize":83755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKNk2CRA9TVsSAnZWagAAL/AP+gLp8NH+9MYhguDFt6OI\n6zeHVe12gK7/cKXNiJAfa0ni6oQzEM7acF4SiuivV7Ibyn+s045l8jtA8K6b\nLEE5Mol2CC5xyzyTUEkIYBosP0Hr5uzkFci2ag4Dgw8Rv66KKlfzfMiI55hb\nFFElVGLe8SZ8/ya0BXkTY7ilM30a+K9eeQ0gxoazP+nmYkO17N9VWUoz15ZJ\nhfaFCnYEsVAuHSyDykFc/SfYRcFdNS34K5ZuIDv+4kJ0x+9mJ/png+0ERUKp\nA5TyW4snm9eZGR0JHVuF5zZPRxHCeSUbfuZFxQGW4lgKySEDgh0ECv+TloRo\nG+XhsfZynwHGjNyDn0r5Nk421wxB3wqL3vICQMyvYyFkEcM7rh6w5ZLDryrH\nvioFqxrwnjZ8/Sm5pSHVfmuCH8J632PrfHiZrdzXRREj3e2tYh5jTTcezJ6E\ncJ8zjc3hXSzVl2bJpPHkU3IqjKikjRjfj19C7JLyP4q93SRWMp3E3YQJeYma\nWMcMt+MBSjHxN7QAsb+fAYmLhULSmV4jYFYxC8scdnE29XjTDz7m8hmxc+X3\nhgm723uG4YrNQO4QrqWZw+1Yo472Yn6yQPmQN2MSJj+rWGja4f+LVBTJYnn8\nhC2/rmWaYqj6vzFi6izm2qmU4tUylPZj6Z8HLwGcB62lZjr+sfDWtJt+CSz+\n1O9p\r\n=IysT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv18vd6Z2iSogOxquCIXW+azwt1XZWDKiiZJSusyrtCgIgUcYIxGi19DgR0cEbI1Q8RcZICX046PB6H8/o9NxquKo="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.18.0-next.1596512564.02c96ea1ce7de1a7874c5fa46caa89e50c879484_1596512565815_0.1849817465203487"},"_hasShrinkwrap":false},"7.18.0":{"title":"CSON","name":"cson","version":"7.18.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.5","extract-opts":"^4.3.0","requirefresh":"^4.10.0","safefs":"^6.10.0"},"devDependencies":{"@bevry/update-contributors":"^1.14.0","assert-helpers":"^6.19.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.9.0","projectz":"^2.12.0","safeps":"^10.11.0","valid-directory":"^2.7.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"02c96ea1ce7de1a7874c5fa46caa89e50c879484","_id":"cson@7.18.0","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-pnkt+7CXKqn35oEKxM2GgSObk9XjLwek5YHtRXHc5AZgZxtRNZ5REcaWr0FAKHxIEYFQ8rOcYvHOq0s2brfD0g==","shasum":"a4f35d3658601f059f1d5fd9d5360993c673644e","tarball":"https://registry.npmjs.org/cson/-/cson-7.18.0.tgz","fileCount":10,"unpackedSize":83698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKNl1CRA9TVsSAnZWagAA6twP/iYh5Qak7oxoDKsbh/Sq\nMSnp/SfvHPxdJ8unolhlt8cXtBAFV97kx/l4Sf+84q2+hYCl1xgH+shsvnZj\n19XRIGCTyDJzJSsTRd5XlEyJc4HClGadQoqakHgJM7sxhSYrQhj5hqtOLBYe\nKNBYSvw12nqJ1LLwfzS8Rc4+++4bGB8Hta7OYmFbIFzsE578chrMjWWuNKSr\nElim8N34i8dq7ed3JmnHtEJeRSrR1c+VYk0j0y1Mg7vBnNAL5xUtumXbLXPZ\nsb4ls215hi6NFwpHyqFFNFclFjEgpxGbxRhVEDoYlQHrWoJ0LzjD/COffMSq\nG6MNYLu85N7M/wSb6vtK4mH5WDf+zuNwQeGaCL0lqQ4vtBJiDCsZNo13MSeu\nyjO91LdmpL5+o1GwXZAARqkLSAyx/L1pQWBwgeAZGb7CN56q/hjdOnuH4g7e\nMQ9fMumehRi0nul9nGXD0+M6zSQeytvLGc4mJKnqAnZTtS8fG9GhUFOgAV2k\nN7MJczS/ip4msZ26riUOF+dWqGRJamOEEqxE6kw0dH/c9eBNZ6UmXNXNnvza\nMv4I3CZUlhubPObQQXPc3MISgqi5rN0XVeOAHhVb1E0rZEB+RZZPukhQX9xb\nn6InhfiKGbPt8rEkKjSL+WchNOPQqQ3DR12iFiqS0gG1j3XqT6KEaxSV2Mil\nqkd5\r\n=34Nw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBVeSpSaDMjS3l5XPyc5ZUkrddAUBiVl4jZ8CtIoADSJAiEA5F3c5Slhe3cyIINEzLWKjT/UY2gz/go3X0LEq6d/waY="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.18.0_1596512629321_0.7429623014956179"},"_hasShrinkwrap":false},"7.19.0-next.1597692852.94f56a23e82c66037ed320f4b461635dda47cf1e":{"title":"CSON","name":"cson","version":"7.19.0-next.1597692852.94f56a23e82c66037ed320f4b461635dda47cf1e","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.5","extract-opts":"^4.3.0","requirefresh":"^4.11.0","safefs":"^6.11.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","assert-helpers":"^6.19.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.10.0","projectz":"^2.14.0","safeps":"^10.12.0","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"94f56a23e82c66037ed320f4b461635dda47cf1e","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.19.0-next.1597692852.94f56a23e82c66037ed320f4b461635dda47cf1e","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-YQ/eBZL15ODV98sZ0m89wUMB9sXFPfNfEdbb2E9hrijyWe8/DVRu/EAs13ENNrLzp5Mq0ITd4VEGKSzUgWVunA==","shasum":"2a8027b38334f8f5de760acdf2f500e2419dfeaa","tarball":"https://registry.npmjs.org/cson/-/cson-7.19.0-next.1597692852.94f56a23e82c66037ed320f4b461635dda47cf1e.tgz","fileCount":10,"unpackedSize":83956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOtu2CRA9TVsSAnZWagAAcVgP/35dhGFoK4sb5i49AwY/\nkkITNx0XDwxtIJfEb1m2rIcqrqpFxxwe+9c2We5KtJVzhMTKUlndbvFqLI0/\nxmZ6/ciy8uh0OuyE41T86gUjlhrFPwT+8EZjO7BmIszGoLb1gdfCyxZ12iZC\nZ95X/T7TXjprGwQxNv9MAH0CAYpb5WpOjTtWFOt/BaMsmBxugCGBKw+Ja2xe\n4uL7NmV/uCCbbqG66OaPqdN8O0sYjcdFDQHXidWTf1gHaVz7DZOX/EFJP7eu\ngpztSTrGD3s9OvsYrzMrV2ArEoJ9gADek9O0ay0YiLweoWvMeCZcwWw5Ay1F\nAJexbwOAlNFm2Hgd5l4bQfdKBhJov3LkOAolP4EcsQRsi28RpWcSaaABdzle\nBfeDxmzius/Sj6z5FG5ipQrbUkUUFnyrRktXk7Ow/M28ISZDfJVmqQVZO44Z\nqBE+PCR6hPOZGCCf43NRFCaXtbngf2OJocsSjoySaJHKj+KDGw+6SPIYXvlz\nCDlaJ/W/kNHmv+7xOVdrvJ9Fkn+tul0Nrgmw09iszPoP6Yn1JPJKzHM4yyy+\nX7mkAOBYPIth9tLOO9HSx5nZl+DmiSumIa7lLybyw9T64lQlUOCLE/G91TRm\nNItv0oZcqZ1N96PiVa+otJtk6Ck+uv+ZX15yb9T/jyuODZcMKXQtdLGOG4a6\ns831\r\n=c4mK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDPz6IeEeVDbsv/Dxp2KDKvmjimuo0qRqI272o4Hiq/xAiEA5fH/vUZIUVp6MrI+pIzzEfNJBVvI4X34+2E7cJzdOOU="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.19.0-next.1597692852.94f56a23e82c66037ed320f4b461635dda47cf1e_1597692854142_0.7459722885690561"},"_hasShrinkwrap":false},"7.19.0":{"title":"CSON","name":"cson","version":"7.19.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.5","extract-opts":"^4.3.0","requirefresh":"^4.11.0","safefs":"^6.11.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","assert-helpers":"^6.19.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.10.0","projectz":"^2.14.0","safeps":"^10.12.0","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"94f56a23e82c66037ed320f4b461635dda47cf1e","_id":"cson@7.19.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-eJEUr3M2k6qYifxYHhurtCnKNgxCVYtScptqkfITtD37e560mLjMm/wYxFvYuiMPu8U7wG7e/9QViKlTRxmI/A==","shasum":"83a848ebe5a11c80ef492383ee8b60faf80086cc","tarball":"https://registry.npmjs.org/cson/-/cson-7.19.0.tgz","fileCount":10,"unpackedSize":83899,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOtv/CRA9TVsSAnZWagAAJAgQAISXwPUgogpIfqjzkQMJ\ngu6MLtUGY+q8Yu+K+48bAhKCvQiMI3yZuUQaMvv1bMIeDBbmqbyF6FS6ZOMd\nnS5qj36AVis5cRjdKyBngl/bT36y1LLzVuvlHs1Ytzo/GIRTfGN6qo51z0H9\nXulF/VW/bf/lRWHAHTN6GwXjGTewtkansDRkrgsCsL9pk3D9G826gKBMIBf0\nbK2q08aAWQr9dAAuVvcqpE4BRK7XE7UKGNTzmuPYlmEUTEy/SQ970587EYYz\nviZ46ofU49ZTtXBTL7DZsrHHjJp32juJLCqFuRpTo51K3nJrJSe9iyxxgspz\nB3iS5R+pTTuK3OLDkb7EaNnl5TILhTOHBjQ5BxkR9zARtVM8Uc14alOxc3I0\nNJjSvsbHyxF6rO/XbYc3IPva/kPeUxVoYNXSg79Bbv+477KHvzyOnd7Hge0l\nH+UNyCqBpqcwQYEgGpuMGiNq/HuCfm528hPmIUcQZekNOhSealB2V8nBZajC\nIYe3zD8AfFnHed9uko9J0tQM8rm9MKiR4iNcy8U8oeHnOMbEyVdmHNptnUSK\nEcgRORyfvVSDtT8j/fZI84N3/ZHLN6hDqy83sw7AMdRPx+u9Ww7bix3UH8Wa\n8jWrGLrkTHOEQfLHfSlMwVku/TjOa+uS8KczTlaYbpdaQ0Wa5IXbk4XumH1o\no3aU\r\n=OA6a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEKOxLIoL9XoNpaTI2sJ6P50ZRxv8f+2iYhebYX5hcLzAiBNsJwgOSvwmVf3rwkJxH0ByTpC+05t0Fb9f+Apx/ghIw=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.19.0_1597692926563_0.04168295366246899"},"_hasShrinkwrap":false},"7.20.0-next.1599209391.286c48aef58a7ddadf8ddf9385da072f25574b27":{"title":"CSON","name":"cson","version":"7.20.0-next.1599209391.286c48aef58a7ddadf8ddf9385da072f25574b27","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.5","extract-opts":"^4.3.0","requirefresh":"^4.12.0","safefs":"^6.12.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.11.0","projectz":"^2.15.0","safeps":"^10.13.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"286c48aef58a7ddadf8ddf9385da072f25574b27","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.20.0-next.1599209391.286c48aef58a7ddadf8ddf9385da072f25574b27","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-VcECPE1/myFaV5WQmjRUhU6Gd4HINxERLNKki9Nw82lDxoORdrIIX/Q6D1ZnD7a9Z8s/3C0XJFuRgLABExVP9w==","shasum":"019955eb9bb25d37ed1828e7281332bcbd9cfd47","tarball":"https://registry.npmjs.org/cson/-/cson-7.20.0-next.1599209391.286c48aef58a7ddadf8ddf9385da072f25574b27.tgz","fileCount":11,"unpackedSize":84446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUf+wCRA9TVsSAnZWagAAoDUQAJeIUo+5MMciXIxifU8N\nBXqbz63AU4c3sTWIOdip9mIfe4w2iDYBdUNjmJzHsvkkDgXr9bidtc9otM2r\nB6ReTsKIpEBiMbVjWGSt+bAkB9XNYZ5cV3XscVmkTOIMXO6U9Z893H+7xGqa\nuwIt8iYHpI6Dc6paEVBN+YCO3yOGIs4XbVUSUyYFGd0ROufYtDu2GthEHsZG\nJc2bOIwIjeCGwPIq+UwxT5Kc4G0vmy9cQaw7Y3V1jrtqxKBoxxDM7VK/W9yW\nGb8/t0zp+gU+Sv8NX6vpRwg+5ktkGm2F5i7Pryg2klJW7w+RwAm7KrJHX01h\nfrWqfei8tGJI+2HQ+Vd+yeWQLWBnbWput2NYjG86t9GZDMP/XiTGcYKiVQvk\negNBeSAdoPcOBZY6ww9WDr6tbeRSp9YCMLsXkA27yAERVwCRuPxPHdr/ztRt\ngk+sE1pcVsUmfbyVYpdD+ISlLGQxUl9c2JisJz0AjWLyR1+Ts64GSmHB87Qe\ncQ6KitADJjmgaEl96P5j4rEWAzcWD+ZCgs2IkBqnJ0rpoxmgGqXA+4UrgkLB\nJbew+OG6SdVhm9Ms5g08cdwelAjQrPo5oA6YrixbSaRcR3oWgJAsL34qxRK7\ny274YcQzPAc07tObwOjWqKh2FKIGvZbXqjJdvBWgcwNaw8Bd9Rc+uxfPFfLI\nTLYi\r\n=GeXu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEbkmSTXwrdPfVbcmUZZ6LvgV+Jsy+NAmZHexZ8+TelyAiA7dQyNAqfASk7oVP1FAC/wQRZ0H8xbztR6QTCtSkVJdA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.20.0-next.1599209391.286c48aef58a7ddadf8ddf9385da072f25574b27_1599209392402_0.8875459263695424"},"_hasShrinkwrap":false},"7.20.0":{"title":"CSON","name":"cson","version":"7.20.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.5","extract-opts":"^4.3.0","requirefresh":"^4.12.0","safefs":"^6.12.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.11.0","projectz":"^2.15.0","safeps":"^10.13.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"286c48aef58a7ddadf8ddf9385da072f25574b27","_id":"cson@7.20.0","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-K7g/86vC77mJqi6PRFhd3p8U/y0R6SsCeTJb5RpOAaQdApHxCoK5JwfZ8WeJjpOZ6lyyi8tNvh3UuC184H3GWg==","shasum":"638f7ef2bd108151484d6f6613ae2717b4156226","tarball":"https://registry.npmjs.org/cson/-/cson-7.20.0.tgz","fileCount":11,"unpackedSize":84389,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUf/sCRA9TVsSAnZWagAAWckP/0yeE954NF1xiJw/wXpl\nTR6VqQLUA+9Acgb6ZUDTwowqI5Dna2BZ9MrWX2oiSLeWMAUoz5IoPYo7PHqa\nZvBX355wsoPRvrNvBmvZsvdzNvwg54hF7JciCy7sFhyyCaWo1WkKUXpAqTa9\n7jQxDHF7/s+/ZDkJ7T5OvkiAdvfjgIfCNXlwfGrSNPnDZwqktZCYhmppALKm\nFDO77Ams7h650zBZzG7VgR+UChbCO+FqPB2PTwPmT8lt7l9yKVEGePuqUZ0X\nuKtLm/B2Aw6S+/C3ngly30rdNGLrdajz0U1Oatnvbfz5W+z8hjfIsQpetCeZ\nNxoQR1P8ZbwmTSR+zBhw5Nczxm2/lvgONwCuZib8u3sAwb9ikfnQfmoJvDUF\nZiBUae1vbNHezB6xVu3sR/KAzo5zgNVzIDzDIGRr1RcRKuH77PEhtw3rB3Da\nF3Hx0s8o0HVyk+PkaBooOF7rH4pzqxxCZWbvkwAY2DN6SbPkx935+v6l4rrL\nBkxd9Ju5ei6OTsQLcQCqiALE/TBz+cXsA6x1r+3SwJPBhMyAYMRZrQfL4HLj\nvesO140ThDqNuFxNqLoStfNdCt8ksVezWOiDkwSxij7WA9FKX3db/l3m3M5O\nv75cBqE0kMiJC56QbHmoZ1gyvpgk6FsFbA1g+TP0w9gsly6QCYVRF//y6/JM\njO3E\r\n=Alu2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE8yhKjhL7w6ReqPQfzKqBR9FGO5BqzGBNMMyFl7NWvjAiEAiMg/yST6baxKypsCSRExiLdeLF4dFcz1r2NhhzdZFB8="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.20.0_1599209452090_0.7807576359424719"},"_hasShrinkwrap":false},"7.20.0-next.1599209465.f493d2860f4824c199c2b635225f5f94a9685ecc":{"title":"CSON","name":"cson","version":"7.20.0-next.1599209465.f493d2860f4824c199c2b635225f5f94a9685ecc","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.5","extract-opts":"^4.3.0","requirefresh":"^4.12.0","safefs":"^6.12.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.11.0","projectz":"^2.15.0","safeps":"^10.13.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"f493d2860f4824c199c2b635225f5f94a9685ecc","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.20.0-next.1599209465.f493d2860f4824c199c2b635225f5f94a9685ecc","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-vNTEtRgHMH/S9nt9UlfvpfjtUyb9QiO4YXEngU5N3ksqCHn0EkN3zUvijvNM8lo8U2enAeJzK5Nb37Zs3jh/pg==","shasum":"93128a6411c0fe78aa28dd3f32a1659ca553a420","tarball":"https://registry.npmjs.org/cson/-/cson-7.20.0-next.1599209465.f493d2860f4824c199c2b635225f5f94a9685ecc.tgz","fileCount":11,"unpackedSize":84446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUf/7CRA9TVsSAnZWagAAZaUP/3EgJbGkLbN18Jre99J+\nt195OIofDOuAoRU0ei1zSbtlk8uMlmvvAHWL5QnXhcCt4fvh/t183XWGHvRO\nLPHVf6FJ1ZkOrEStI79H9bMLS6tGaKUSgzCq16ePq/K8IUDyGT+9n45LM2QZ\nJA/tjSBHQwEfAJTLVyS2FIemT1CUVUAU+097EAekz0rxk2dE0gZe6WMidf6C\n6dNaigJRPdYnWKEL6Q76309HwQwVGh7T63RkJcm8kdokBAk0o0kMcNJ7uFIJ\nY2qsMj4hxhZg3+gXynx5NG0OESJ3UwJ4Yl8uTrcKR4ACoZ+FXP31OYHUJj5T\nUw0XBd6sGyYF4mELHDk05pzQW6imJyeGYul7OvKOn+xGIlbiW0tvw+DEFR1C\nWOjha2/Ogmxx8QOERE71H0426BrT4yfhauVffUaTyOrXkwTJr5jNt4ccJFbP\nCL9hBeAxfb4wf9BZepGX8fDNegf5exbRIUKloFqlF+y6BtktTGoKmnMslNCY\naizljl37NAMNafJffmB1VCYhjHml4topllHxPVOp6ZOTEQQBVKDpp6E9JdbU\nx+ZNhKCyDdlsgDn1u2sAEs6q06PknFjP1rbXrufzagW20u1PBhVB4yj5SGtn\nDPC8SW//GA/JhneT8qVi8tKvdN+T9/ylOX+ooUtVnvjNOvcoR2stGTUr35IA\nxoeh\r\n=0rC0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICvycweKZGBu9yFLJTR9nhWXOBuh1dg2NL36xw443qH5AiEAuDCgAIJmFB8pKGK+r+8yZ2yGIQ09Habw6lUQ8ef++hw="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.20.0-next.1599209465.f493d2860f4824c199c2b635225f5f94a9685ecc_1599209466532_0.5004453842108956"},"_hasShrinkwrap":false},"7.20.0-next.1599393313.f2b1fea363a57fa930cc5970a39c194ac15ba8b9":{"title":"CSON","name":"cson","version":"7.20.0-next.1599393313.f2b1fea363a57fa930cc5970a39c194ac15ba8b9","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.5","extract-opts":"^4.3.0","requirefresh":"^4.12.0","safefs":"^6.12.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.11.0","projectz":"^2.15.0","safeps":"^10.13.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"f2b1fea363a57fa930cc5970a39c194ac15ba8b9","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.20.0-next.1599393313.f2b1fea363a57fa930cc5970a39c194ac15ba8b9","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-dlvleZzgUCUsZeCP7hn9lsi5NqUaeO6obEAzDnA1LfNC/3cX/VDNw3cv0BqfYTAU1ZF7Qmh6q/py40NN2UR31A==","shasum":"0baf94ac280134913b600e9b12fc30c278da8a3b","tarball":"https://registry.npmjs.org/cson/-/cson-7.20.0-next.1599393313.f2b1fea363a57fa930cc5970a39c194ac15ba8b9.tgz","fileCount":11,"unpackedSize":84446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVM4iCRA9TVsSAnZWagAA730P/2ji4XyixrqvCHBAaVRx\nYc4rAA8+XOE1fKxst4wjZLAP+XmlL7C1PkvfB1wPd0UZWZ6YgFyGAp3TpmpG\nO0jr0cJ1mw8NogIjAoPRu+yEmzU+suRPNaWPiIJIy5UCPp66Bx3P8kHsEe4z\nUBk5lU51YBVZ95I0s/J7Lljjy95v1SW5dr7DNb9/TigEw6GKaj+VsW8bMlNu\nQ/nxOmTmjMXyHa7xjQ9MXZ5Eugi0HZL/cVhYZAh2G3v9D7ntmrMVoC3Ivvjf\nAf5fZGxiecGnlZZIL11f/T62x5xAJ+af8PNFN4vXAbT3smAcNOga43SqZrkn\n0fjQi2aKBGHjW6mhRLWwNOhbih7BHiFRqe6NhMzCR2ddZdOt9phASb4JqWaZ\nelXqSwzQE1ItJdcJ15TyxG0gx4/0MGpIIya4cLbypeYKtEpotiZu/zU1vRzY\nkRDpeCSgGHa8S684wD5VRe8g78sfn220LNWJVV63ZZgf30T2dCqPG7N61wve\ncrlmNh+Qzma7/yNPx1UuhHhTiOtUMuUYkKheVDjMapSHZY9fYUKbWBgytQmG\n62GlcHOrtP+xTFn5q8m1lpyLmgc2uPYAjSNIbVCNNbQsubwqPxbFedMzNSDi\nShNN9vm8LETI3fONTkkhXozqBG6zk7n9teA3nn2DIi9FL+ANzIr5FVdrpl9+\nbF0k\r\n=PQDi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9eH6nxVU3ZT4HphGEThq0KyGkKQiTMsFxVR6Jwew8pQIhAKE0uJK1pgjNmo6Tcsd7yg4Ya7ZvBibvImd913Iz6cIy"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.20.0-next.1599393313.f2b1fea363a57fa930cc5970a39c194ac15ba8b9_1599393314381_0.7695507301206432"},"_hasShrinkwrap":false},"7.20.0-next.1599988850.782530ba1dd16bbedbe4b1560c3b8fb86cd8c59f":{"title":"CSON","name":"cson","version":"7.20.0-next.1599988850.782530ba1dd16bbedbe4b1560c3b8fb86cd8c59f","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.5","extract-opts":"^4.3.0","requirefresh":"^4.12.0","safefs":"^6.12.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.11.0","projectz":"^2.15.0","safeps":"^10.13.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"782530ba1dd16bbedbe4b1560c3b8fb86cd8c59f","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.20.0-next.1599988850.782530ba1dd16bbedbe4b1560c3b8fb86cd8c59f","_nodeVersion":"14.10.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-WrTNyI7R2Pqj4yh7xWwmgZx/Wx+GIfgoaFVTA6RWvBy/yUS02LEbAKgga/6r4jBxszr/MIP6A2V6sPvjhLIHsg==","shasum":"5825c6b52c1e94df6f8f7bd3c22ff6c66a82bdfb","tarball":"https://registry.npmjs.org/cson/-/cson-7.20.0-next.1599988850.782530ba1dd16bbedbe4b1560c3b8fb86cd8c59f.tgz","fileCount":11,"unpackedSize":84446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXeR0CRA9TVsSAnZWagAAeXsP/3IK5GJyjfdE7DU2+vTb\njQQmgeK05XJ90xs5cqzerVUcuiCCZ/MA7RJaD5FYBM/UackCSHMehXPvxnzh\nXb151zc0CEKsdqoOA17gMFSnV0U/s3qyEweKgk0jr3XwePEBS9r/TTiNErNg\nID5qZNl++ExzVKEnpKu1u82rg7MaiKM6K935CuQHMF8Cds+sjMPR4qy2lO/2\n2ckx3bcuT2PixOQVuKyH/zBecICk4aPX1rKgcW/jss+/emlU/c0Giz921M/r\nvw/4BVCEClLXtnLryu1LKvNr7dOZS4jpAMvy9VQiz6rd9kEKY2VUBwDDsLtB\nofktPVeiIwrYN3KPbMjVI6eNQ2PQDKboS72guL4Ei7rN+TXHWQzOszr1Ei4e\nHq/J+j6+hUhhl9U3cv+SDx2ex0avBRs+jzFcGhxlllIbbaCZ0/huHXVBFZoV\n/x76MRaEm2krTQYG+uDLqwvxB483ku/Y42pkTHRy9J4MMqGEUMiUcP7mkdbh\npkm5DFyW0qyxey6QN1YI6oShVigc0aT+rUD+bTUkniJ6m0oMyBMK7YH7sXlj\n/HJ38nLdrnqFYlDp8vjozo3E+AxVrw3xasDSNlo7+TcfKgEzC7alJIljlHsq\nxv+39cjt2c2bNd3zKJ3ephS85qLDD4lcBdGwFfJZ4PEgweAIOFQN+KU6EuTG\nfj3E\r\n=wj+S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIo9uYUOXw+eBsOTV/3sLhZN+K2I9TIYNGjCgk23q+3AIhAJ5xlCXNuzmuy9fUOKS2i3duZn/gBvxBXAwSonrMAY6D"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.20.0-next.1599988850.782530ba1dd16bbedbe4b1560c3b8fb86cd8c59f_1599988851719_0.25060766732646034"},"_hasShrinkwrap":false},"7.20.0-next.1604238089.041086a1b2d691a8700b25759c67f667b5746351":{"title":"CSON","name":"cson","version":"7.20.0-next.1604238089.041086a1b2d691a8700b25759c67f667b5746351","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.5","extract-opts":"^4.3.0","requirefresh":"^4.12.0","safefs":"^6.12.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.11.0","projectz":"^2.15.0","safeps":"^10.13.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"041086a1b2d691a8700b25759c67f667b5746351","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.20.0-next.1604238089.041086a1b2d691a8700b25759c67f667b5746351","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-EnRpXTMDoS72xQdJwoDL6sf26joCf3iC/cNRu99srzle1xKn0q6lhid/4UbNvCWKm2RF0zvial6mEJM6b8HDOA==","shasum":"fdd52a48f3d9c334fe455c7022d57b735b309dd2","tarball":"https://registry.npmjs.org/cson/-/cson-7.20.0-next.1604238089.041086a1b2d691a8700b25759c67f667b5746351.tgz","fileCount":11,"unpackedSize":84446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnrsLCRA9TVsSAnZWagAAg7AP/2HVf8n+h1IUa3T1cnBe\ns0V69AwLAbTH3drV1mvyy27uEvdB0VwDJejBU+UMSD1F7SwH+9HztJ9j2RyM\njOzSJoNOL7P/tsb5TaN0umxGRlDG3gFftstXNWLWHFZJOYZLvhUjsjJ1sxvu\nszijqv8ONOefUIJOXSmQBcACbquJJMYpKxU+EfODivdrkow/hcpwomIoOjVJ\nc30PLWPfTg65D5f8XFBWK7n7pVg0cKRAbun/84IfAddiJcfxFpNtPT81uKKF\nRZdkVZUqAbi7SL64rxdG8InF9ZUL1AuCIdh/GPdGFE6sh28ltdSAJhWY4oa+\nqFkSgkF5FBJRMP/K22h/OGQWCVHTEHFzzHaM6ipxUSJObLaY+rdd7xPH8FZy\nOMIuFwKSThLYblkq7W4MO1JTwtI57jbH7/NtIQ1fe5IhkOCPKybF8vuTeonQ\nSwg4CXstLUZtrpzBsPFgKEDVghq+Npo6ybGA69iBRQhi+toObok/Ap/JaVUn\nHVtra80eArsZb1Pktv+scG9xNRAM3oNK2s0Ki/xQ0y+U/VJE/uY2AVua+1Ba\nWeCYBtq4I1FRLvMrBAF3JNOj4XNlUhY9jsgjKHgFMARb7jIXdNVfil6nVkav\nMLJdjxqcmQZqoUJdUNbVvdh3EsxL9bLGND9h2M6w13HHIUkzbM8zCQB/VoQc\nzLlx\r\n=tKkV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCK9ONIKJ63lRNEQZVnH2/KDgtZEfUNo93gWuonG/520AIgD9M+wz0/g6ev6Ik0vTOEnrcOa1mUtb7UTTsMzt5twR0="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.20.0-next.1604238089.041086a1b2d691a8700b25759c67f667b5746351_1604238090815_0.4983598736664294"},"_hasShrinkwrap":false},"7.20.0-next.1604240078.5fb7d8328d0b91b6cdadde2e6400e694cfc49884":{"title":"CSON","name":"cson","version":"7.20.0-next.1604240078.5fb7d8328d0b91b6cdadde2e6400e694cfc49884","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"MIT","keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=10"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"bin":{"cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.5","extract-opts":"^4.3.0","requirefresh":"^4.12.0","safefs":"^6.12.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","coffeelint":"^2.1.0","coffeescript":"^2.5.1","kava":"^5.11.0","projectz":"^2.15.0","safeps":"^10.13.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"gitHead":"5fb7d8328d0b91b6cdadde2e6400e694cfc49884","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/cson\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/cson/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/cson\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/cson.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/cson#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/cson.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"cson@7.20.0-next.1604240078.5fb7d8328d0b91b6cdadde2e6400e694cfc49884","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-OWkUb8kfu8WiZGFadygvg3BENG/A+FIpMcf/Gz3uOxg2Pf5ElIFyIawoklalNgD9MxlJWAV4d+ojMU5KnbddQg==","shasum":"ab9631b51d0edfb76818a12959e1be8ee35c7762","tarball":"https://registry.npmjs.org/cson/-/cson-7.20.0-next.1604240078.5fb7d8328d0b91b6cdadde2e6400e694cfc49884.tgz","fileCount":11,"unpackedSize":84446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnsLPCRA9TVsSAnZWagAAukoP/RZjwOXmW8nZItdwF35Y\nZdHJxTg3xXhRusjCclXkdOUFOyajNTM8gT+d1I2uRpPxHWndvHlNCuJhSIul\nhyu5hL4Q7oyO0bDRCWqobIusO+SNPlGMxxd28mGaBFpM2nQ1o3/ofd3tO9fU\nxWgEfZ3fNlcHJTE8IR2gqON7+ARNvoNF1fG63iJF16AKJz4eGQeMSWliC5yX\nxVwKq92njdbCCn91v0qnCZn3y45i+5oNJxtjkS2Ek5LF+UMHGgg1I+ysAGEq\n/XYjlq+1+BjbKjWBMAXM2sr8x6HuOHT6lfuk5YxtPsgmg8/wYtzfbWt0WB8i\nsDxSUP6y/QBaA/hZBaf96kVKBq3FbOgCF+zYFEBLdORrlF9pJeex2I3CxZIO\nukIFD4LaXrgpg54tng7z3R5J3oxxZO4pkww/V9cmydhxC1kDtWlgO/BG6oN/\ngfB7MfnNK1wZ+8CNn4jDaqY0qv2aA83WdMq0J1ULIwc2rRY9PiU5PvX4untU\ndmRXT5cHqHxHXZc1to8WgrO6WDnjxJ5DLKDTWrpLpzP1w9Vo/YrR9o0D2wwT\nRFyiEzR9ljiQl6ld2t6iIQGOimIDf5blmYwb+NWCqBkaMUQ6dYG8rP3gJXxl\npKIC4X0aUXFezZAa72mX+OXsBq2h8w2Db4VbFE9j4ZgMqiB+B16Z1fJiIn+D\nZV42\r\n=3yX3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwUENNehAzY0CWaOzGi0zoxNhvBfaoSchfd/21Q7ZBLgIgeGuo85PYV+iMfisFtBrZY7qwHI1QBhPl4WPPRIAhL1o="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_7.20.0-next.1604240078.5fb7d8328d0b91b6cdadde2e6400e694cfc49884_1604240079373_0.32889184851012665"},"_hasShrinkwrap":false},"8.0.0":{"title":"CSON","name":"cson","version":"8.0.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"Artistic-2.0","keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=6"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21"}}],"bin":{"cson":"bin.cjs","cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.9","extract-opts":"^5.2.0","requirefresh":"^5.8.0","safefs":"^8.3.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","assert-helpers":"^11.4.0","coffeelint":"^2.1.0","coffeescript":"^2.7.0","kava":"^7.2.0","projectz":"^3.1.0","safeps":"^11.2.0","valid-directory":"^4.4.0"},"scripts":{"our:bin":"node ./[object Object]","our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"testen":{"serial":true},"_id":"cson@8.0.0","gitHead":"1502a8c11a6028ec4f4029a7a19df1df05af4600","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-x7OOrKloE2MvfueMHHHWdL58vawFX/H66bCM7QcQVPDZ2MZ9BvEMdPbIMRtn8pE1oVOCezz/gDCfN10G+qnqGA==","shasum":"f3c87db741af6f4c34d75fbad2828b53f3095f33","tarball":"https://registry.npmjs.org/cson/-/cson-8.0.0.tgz","fileCount":11,"unpackedSize":84614,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFJ524HG/7A0PRPRDUwh1lwlKXLLryzTshucqXX8lzKeAiEAuLI+GEAwfFwwUr3vAiAWb098vEhCimKm2rbI9RGtKQY="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_8.0.0_1700268863984_0.4853011477143474"},"_hasShrinkwrap":false},"8.0.0-next.1700268864.1502a8c11a6028ec4f4029a7a19df1df05af4600":{"title":"CSON","name":"cson","version":"8.0.0-next.1700268864.1502a8c11a6028ec4f4029a7a19df1df05af4600","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"Artistic-2.0","keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=6"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21"}}],"bin":{"cson":"bin.cjs","cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.9","extract-opts":"^5.2.0","requirefresh":"^5.8.0","safefs":"^8.3.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","assert-helpers":"^11.4.0","coffeelint":"^2.1.0","coffeescript":"^2.7.0","kava":"^7.2.0","projectz":"^3.1.0","safeps":"^11.2.0","valid-directory":"^4.4.0"},"scripts":{"our:bin":"node ./[object Object]","our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"testen":{"serial":true},"_id":"cson@8.0.0-next.1700268864.1502a8c11a6028ec4f4029a7a19df1df05af4600","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/cson/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/cson/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson</code>, <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson</code>, <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/Artistic-2.0.html\">Artistic License 2.0</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"1502a8c11a6028ec4f4029a7a19df1df05af4600","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-kyb+daUD++qC6dXz+kOTAper5pBmE/D7S5iJqT6yKE1u3+uX4hcba4j3R1DEcKDcQA2ALlJeXSUxEUobDzs3EQ==","shasum":"cb6057d7da537e251bf0b03d1547d505e1d4038e","tarball":"https://registry.npmjs.org/cson/-/cson-8.0.0-next.1700268864.1502a8c11a6028ec4f4029a7a19df1df05af4600.tgz","fileCount":11,"unpackedSize":84672,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH2ddHFeEDPe+4rbwHiDuy2xrUQnbBW2Ahj4BFks/wtsAiEA6sF1O89rgXRWS/ZzLa7q77cyMRREmUBCWBAi0BjROFI="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_8.0.0-next.1700268864.1502a8c11a6028ec4f4029a7a19df1df05af4600_1700268865474_0.7008653494984556"},"_hasShrinkwrap":false},"8.1.0-next.1700562115.eab6e68cff621e8ae7672b026cfadefadca83bc7":{"title":"CSON","name":"cson","version":"8.1.0-next.1700562115.eab6e68cff621e8ae7672b026cfadefadca83bc7","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"Artistic-2.0","keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=6"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21"}}],"bin":{"cson":"bin.cjs","cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.9","extract-opts":"^5.3.0","requirefresh":"^5.9.0","safefs":"^8.4.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","assert-helpers":"^11.5.0","coffeelint":"^2.1.0","coffeescript":"^2.7.0","kava":"^7.3.0","projectz":"^3.2.0","safeps":"^11.3.0","valid-directory":"^4.4.0"},"scripts":{"our:bin":"node ./[object Object]","our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"testen":{"serial":true},"_id":"cson@8.1.0-next.1700562115.eab6e68cff621e8ae7672b026cfadefadca83bc7","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/cson/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/cson/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-discord\"><a href=\"https://discord.gg/nQuXddV7VP\" title=\"Join this project's community on Discord\"><img src=\"https://img.shields.io/discord/1147436445783560193?logo=discord&amp;label=discord\" alt=\"Discord server badge\" /></a></span>\n<span class=\"badge-twitch\"><a href=\"https://www.twitch.tv/balupton\" title=\"Join this project's community on Twitch\"><img src=\"https://img.shields.io/twitch/status/balupton?logo=twitch\" alt=\"Twitch community badge\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson</code>, <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson</code>, <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/Artistic-2.0.html\">Artistic License 2.0</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"eab6e68cff621e8ae7672b026cfadefadca83bc7","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-zYjeTVER9qdwr3mU/b6iwB/rPFqITLLAmv+vFGMoGiI11FAgM8wED4Py68uNe2MN23diJckN2QdO1O6JqJDjCw==","shasum":"10fac6dc93812b66b3f72c1a69586d7cd9d531f0","tarball":"https://registry.npmjs.org/cson/-/cson-8.1.0-next.1700562115.eab6e68cff621e8ae7672b026cfadefadca83bc7.tgz","fileCount":11,"unpackedSize":84442,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDX5S820TCK0ZDLIIhUM8A7Q4Yd9xt2YmAc8/hIkgqcgAIhAOXTdgvdkTVcqAyjnPFRR9XVp2KOs2i70XpHb8A/J7kC"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_8.1.0-next.1700562115.eab6e68cff621e8ae7672b026cfadefadca83bc7_1700562116398_0.40430638342238057"},"_hasShrinkwrap":false},"8.1.0":{"title":"CSON","name":"cson","version":"8.1.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"Artistic-2.0","keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=6"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21"}}],"bin":{"cson":"bin.cjs","cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.9","extract-opts":"^5.3.0","requirefresh":"^5.9.0","safefs":"^8.4.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","assert-helpers":"^11.5.0","coffeelint":"^2.1.0","coffeescript":"^2.7.0","kava":"^7.3.0","projectz":"^3.2.0","safeps":"^11.3.0","valid-directory":"^4.4.0"},"scripts":{"our:bin":"node ./[object Object]","our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"testen":{"serial":true},"_id":"cson@8.1.0","gitHead":"eab6e68cff621e8ae7672b026cfadefadca83bc7","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-v+i6s+D0fPSykXrk6/XrslvW0D5j9pXz+JARwgfh+fFTpJcdbjUCi4qyZ65i+jiDQPj/HnGwha2Fj+TYQUibGA==","shasum":"7672e0efc1cdcf8a58dfa604f7d3f68a805edb1f","tarball":"https://registry.npmjs.org/cson/-/cson-8.1.0.tgz","fileCount":11,"unpackedSize":84384,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9l1lA1HoLIT7YHVAIcx6OA8zHVQogw2c9UtTx4CBSrwIhAJ/X207A327tWFa9nFs/C9KoXKFQ8MjHNo1LLx+Qh8ev"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_8.1.0_1700562155742_0.0791067034294961"},"_hasShrinkwrap":false},"8.2.0-next.1700834233.489d178684c82fb1ba93f9f9177b2995441fb6a2":{"title":"CSON","name":"cson","version":"8.2.0-next.1700834233.489d178684c82fb1ba93f9f9177b2995441fb6a2","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"Artistic-2.0","keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=6"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21"}}],"bin":{"cson":"bin.cjs","cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.9","extract-opts":"^5.3.0","requirefresh":"^5.9.0","safefs":"^8.4.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","assert-helpers":"^11.6.0","coffeelint":"^2.1.0","coffeescript":"^2.7.0","kava":"^7.3.0","projectz":"^3.3.0","safeps":"^11.3.0","valid-directory":"^4.5.0"},"scripts":{"our:bin":"node ./[object Object]","our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"testen":{"serial":true},"_id":"cson@8.2.0-next.1700834233.489d178684c82fb1ba93f9f9177b2995441fb6a2","readme":"<!-- TITLE/ -->\n\n<h1>CSON</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/cson/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/cson/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-discord\"><a href=\"https://discord.gg/nQuXddV7VP\" title=\"Join this project's community on Discord\"><img src=\"https://img.shields.io/discord/1147436445783560193?logo=discord&amp;label=discord\" alt=\"Discord server badge\" /></a></span>\n<span class=\"badge-twitch\"><a href=\"https://www.twitch.tv/balupton\" title=\"Join this project's community on Twitch\"><img src=\"https://img.shields.io/twitch/status/balupton?logo=twitch\" alt=\"Twitch community badge\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<h4>Install Globally</h4>\n<ul>\n<li>Install: <code>npm install --global cson</code></li>\n<li>Executables: <code>cson</code>, <code>cson2json</code>, <code>json2cson</code></li>\n</ul>\n<h4>Install Locally</h4>\n<ul>\n<li>Install: <code>npm install --save cson</code></li>\n<li>Executables: <code>npx cson</code>, <code>npx cson2json</code>, <code>npx json2cson</code></li>\n<li>Import: <code>import * as pkg from ('cson')</code></li>\n<li>Require: <code>const pkg = require('cson')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>cson/source/index.coffee</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> source code with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>cson</code> aliases <code>cson/edition-esnext/index.js</code></li>\n<li><code>cson/edition-esnext/index.js</code> is <a href=\"https://coffeescript.org\" title=\"CoffeeScript is a little language that compiles into JavaScript\">CoffeeScript</a> compiled for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/attilaolah\">Attila Oláh</a> — <a href=\"https://github.com/bevry/cson/commits?author=attilaolah\" title=\"View the GitHub contributions of Attila Oláh on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"http://attilaolah.eu/\">Attila Oláh</a></li>\n<li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/cson/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/clyfe\">Claudius Nicolae</a> — <a href=\"https://github.com/bevry/cson/commits?author=clyfe\" title=\"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jasonkarns\">Jason Karns</a> — <a href=\"https://github.com/bevry/cson/commits?author=jasonkarns\" title=\"View the GitHub contributions of Jason Karns on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/jperras\">Joël Perras</a> — <a href=\"https://github.com/bevry/cson/commits?author=jperras\" title=\"View the GitHub contributions of Joël Perras on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/linus\">Linus G Thiel</a> — <a href=\"https://github.com/bevry/cson/commits?author=linus\" title=\"View the GitHub contributions of Linus G Thiel on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/RobLoach\">Rob Loach</a> — <a href=\"https://github.com/bevry/cson/commits?author=RobLoach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/meltingice\">Ryan LeFevre</a> — <a href=\"https://github.com/bevry/cson/commits?author=meltingice\" title=\"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/nanuclickity\">Tushar Kant</a> — <a href=\"https://github.com/bevry/cson/commits?author=nanuclickity\" title=\"View the GitHub contributions of Tushar Kant on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/zhangcheng\">ZHANG Cheng</a> — <a href=\"https://github.com/bevry/cson/commits?author=zhangcheng\" title=\"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/Zearin\">Zearin</a> — <a href=\"https://github.com/bevry/cson/commits?author=Zearin\" title=\"View the GitHub contributions of Zearin on repository bevry/cson\">view contributions</a></li>\n<li><a href=\"https://github.com/evinugur\">evinugur</a> — <a href=\"https://github.com/bevry/cson/commits?author=evinugur\" title=\"View the GitHub contributions of evinugur on repository bevry/cson\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/cson/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/Artistic-2.0.html\">Artistic License 2.0</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"489d178684c82fb1ba93f9f9177b2995441fb6a2","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-4fYVOSOklo/PNcD49U4NvSeGWRCR2OUjQgxzlpB8HAbI40KZOLAdDDCbZU9BwapJ/q9qm4AiCM11163/0aqifQ==","shasum":"b82a9ac2439357dd99114b0913e5eb7cf1cdccc6","tarball":"https://registry.npmjs.org/cson/-/cson-8.2.0-next.1700834233.489d178684c82fb1ba93f9f9177b2995441fb6a2.tgz","fileCount":11,"unpackedSize":84445,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEMUkBCsymT2tpbOOM/AE2Rh8KRdp1wDC90F86KRrmbVAiB7BwOX5+S9RhMLu1KDbfDsqclO81SQeXpHse0NHQGiEg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_8.2.0-next.1700834233.489d178684c82fb1ba93f9f9177b2995441fb6a2_1700834234255_0.6236624487866638"},"_hasShrinkwrap":false},"8.2.0":{"title":"CSON","name":"cson","version":"8.2.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","license":"Artistic-2.0","keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://github.com/attilaolah"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"http://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://github.com/jasonkarns"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://github.com/jperras"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://github.com/linus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/RobLoach"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"evinugur","url":"https://github.com/evinugur"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"engines":{"node":">=6"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21"}}],"bin":{"cson":"bin.cjs","cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.9","extract-opts":"^5.3.0","requirefresh":"^5.9.0","safefs":"^8.4.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","assert-helpers":"^11.6.0","coffeelint":"^2.1.0","coffeescript":"^2.7.0","kava":"^7.3.0","projectz":"^3.3.0","safeps":"^11.3.0","valid-directory":"^4.5.0"},"scripts":{"our:bin":"node ./[object Object]","our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint && npm run our:verify:directory","our:verify:coffeelint":"coffeelint ./source","our:verify:directory":"valid-directory","test":"node ./edition-esnext/test.js"},"testen":{"serial":true},"_id":"cson@8.2.0","gitHead":"489d178684c82fb1ba93f9f9177b2995441fb6a2","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-Hkf2J3i9VOGqlIYbjHaaHW9Vz9kJXebG1VrCivK76J1vr8uj4HG+z+UmJFxl8xVanpWfybUdk8l293dSDxwIWg==","shasum":"ca8cf47af9a77bd3d9564a6f4eea6ed6ff1039b4","tarball":"https://registry.npmjs.org/cson/-/cson-8.2.0.tgz","fileCount":11,"unpackedSize":84387,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwpyAdliaM+tVTkdSL+dEJMalkFTe4T1lq3gzReFYHiwIgHo6cHwivceeDs8C7P7A6RKccu3drYGx08v7/fTEdObw="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_8.2.0_1700834238829_0.2876935325725609"},"_hasShrinkwrap":false},"8.3.0":{"title":"CSON","name":"cson","version":"8.3.0","license":"Artistic-2.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","funding":"https://bevry.me/fund","repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"bugs":{"url":"https://github.com/bevry/cson/issues"},"keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"author":{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"authors":["Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton): Accelerating collaborative wisdom."],"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://attilaolah.eu"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"https://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://nerderati.com"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://yesbabyyes.se/"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"}],"sponsors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew): Software engineer and researcher","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa): We're Balsa, and we're building tools for builders.","Codecov <hello-codecov@sentry.io> (https://codecov.io/) (https://github.com/codecov): Empower developers with tools to improve code quality and testing.","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Sentry (https://sentry.io) (https://github.com/getsentry): Real-time crash reporting for your web apps, mobile apps, and games.","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm): Syntax Podcast"],"donors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew)","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa)","Chad (https://opencollective.com/chad8)","Codecov <hello-codecov@sentry.io> (https://codecov.io/) (https://github.com/codecov)","entroniq (https://gitlab.com/entroniq) (https://thanks.dev/d/gl/entroniq)","Jean-Luc Geering (https://github.com/jlgeering) (https://opencollective.com/jlgeering) (https://twitter.com/jlgeering)","Michael Duane Mooring (https://bevry.me) (https://github.com/mikeumus) (https://opencollective.com/mikeumus) (https://twitter.com/mikeumus)","Mohammed Shah <shah@idk.uno> (https://github.com/smashah) (https://thanks.dev/d/gh/smashah) (https://twitter.com/smashah)","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Sentry (https://sentry.io) (https://github.com/getsentry)","ServieJS (https://github.com/serviejs) (https://thanks.dev/d/gh/serviejs)","Skunk Team (https://skunk.team) (https://github.com/skunkteam)","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm)"],"engines":{"node":">=6"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21"}}],"bin":{"cson":"bin.cjs","cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.9","extract-opts":"^5.6.0","requirefresh":"^5.12.0","safefs":"^8.7.0"},"devDependencies":{"assert-helpers":"^11.11.0","coffeelint":"^2.1.0","coffeescript":"^2.7.0","kava":"^7.6.0","projectz":"^4.0.0","safeps":"^11.5.0","valid-directory":"^4.7.0"},"scripts":{"our:bin":"node ./bin.cjs","our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint","our:verify:coffeelint":"coffeelint ./source","test":"node ./edition-esnext/test.js"},"testen":{"serial":true},"_id":"cson@8.3.0","gitHead":"e30f735e4bc3b0b1159c1c20891507b82d596b39","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-6vaV3oCNu++ZTre5FKuqW2ggEh4PDTSU/FzmW7bnYc+NYORDGeckODQGbl9Y0OFbL/viTuRA5uuRfCahNTEkRg==","shasum":"265ab02808e1a636f0bae4fc3f3f3dd38896532a","tarball":"https://registry.npmjs.org/cson/-/cson-8.3.0.tgz","fileCount":11,"unpackedSize":86189,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCk2CccXjuBxjE4w+ULV9Wndlr6Z2tHeUcMeNFZxSuU6wIgKUADfYJO1ukzU/JyyjgjL3l4RkjWdG5VEPgnvsg/ceg="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_8.3.0_1703687823218_0.49785955484602185"},"_hasShrinkwrap":false},"8.3.0-next.1703687848.e30f735e4bc3b0b1159c1c20891507b82d596b39":{"title":"CSON","name":"cson","version":"8.3.0-next.1703687848.e30f735e4bc3b0b1159c1c20891507b82d596b39","license":"Artistic-2.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","funding":"https://bevry.me/fund","repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"bugs":{"url":"https://github.com/bevry/cson/issues"},"keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"author":{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"authors":["Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton): Accelerating collaborative wisdom."],"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://attilaolah.eu"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"https://attilaolah.eu/"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://nerderati.com"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://yesbabyyes.se/"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"}],"sponsors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew): Software engineer and researcher","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa): We're Balsa, and we're building tools for builders.","Codecov <hello-codecov@sentry.io> (https://codecov.io/) (https://github.com/codecov): Empower developers with tools to improve code quality and testing.","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Sentry (https://sentry.io) (https://github.com/getsentry): Real-time crash reporting for your web apps, mobile apps, and games.","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm): Syntax Podcast"],"donors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew)","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa)","Chad (https://opencollective.com/chad8)","Codecov <hello-codecov@sentry.io> (https://codecov.io/) (https://github.com/codecov)","entroniq (https://gitlab.com/entroniq) (https://thanks.dev/d/gl/entroniq)","Jean-Luc Geering (https://github.com/jlgeering) (https://opencollective.com/jlgeering) (https://twitter.com/jlgeering)","Michael Duane Mooring (https://bevry.me) (https://github.com/mikeumus) (https://opencollective.com/mikeumus) (https://twitter.com/mikeumus)","Mohammed Shah <shah@idk.uno> (https://github.com/smashah) (https://thanks.dev/d/gh/smashah) (https://twitter.com/smashah)","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Sentry (https://sentry.io) (https://github.com/getsentry)","ServieJS (https://github.com/serviejs) (https://thanks.dev/d/gh/serviejs)","Skunk Team (https://skunk.team) (https://github.com/skunkteam)","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm)"],"engines":{"node":">=6"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21"}}],"bin":{"cson":"bin.cjs","cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.9","extract-opts":"^5.6.0","requirefresh":"^5.12.0","safefs":"^8.7.0"},"devDependencies":{"assert-helpers":"^11.11.0","coffeelint":"^2.1.0","coffeescript":"^2.7.0","kava":"^7.6.0","projectz":"^4.0.0","safeps":"^11.5.0","valid-directory":"^4.7.0"},"scripts":{"our:bin":"node ./bin.cjs","our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint","our:verify:coffeelint":"coffeelint ./source","test":"node ./edition-esnext/test.js"},"testen":{"serial":true},"_id":"cson@8.3.0-next.1703687848.e30f735e4bc3b0b1159c1c20891507b82d596b39","readme":"<!-- TITLE/ -->\n\n# CSON\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/cson/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/cson/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-discord\"><a href=\"https://discord.gg/nQuXddV7VP\" title=\"Join this project's community on Discord\"><img src=\"https://img.shields.io/discord/1147436445783560193?logo=discord&amp;label=discord\" alt=\"Discord server badge\" /></a></span>\n<span class=\"badge-twitch\"><a href=\"https://www.twitch.tv/balupton\" title=\"Join this project's community on Twitch\"><img src=\"https://img.shields.io/twitch/status/balupton?logo=twitch\" alt=\"Twitch community badge\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n## Install\n\n### [npm](https://npmjs.com \"npm is a package manager for javascript\")\n\n#### Install Globally\n\n-   Install: `npm install --global cson`\n-   Executables: `cson`, `cson2json`, `json2cson`\n\n#### Install Locally\n\n-   Install: `npm install --save cson`\n-   Executables: `npx cson`, `npx cson2json`, `npx json2cson`\n-   Import: `import * as pkg from ('cson')`\n-   Require: `const pkg = require('cson')`\n\n### [Editions](https://editions.bevry.me \"Editions are the best way to produce and consume packages you care about.\")\n\nThis package is published with the following editions:\n-   `cson/source/index.coffee` is [CoffeeScript](https://coffeescript.org \"CoffeeScript is a little language that compiles into JavaScript\") source code with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html \"Node/CJS Modules\") for modules\n-   `cson` aliases `cson/edition-esnext/index.js`\n-   `cson/edition-esnext/index.js` is [CoffeeScript](https://coffeescript.org \"CoffeeScript is a little language that compiles into JavaScript\") compiled for [Node.js](https://nodejs.org \"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\") 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html \"Node/CJS Modules\") for modules\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n## History\n\n[Discover the release history by heading on over to the `HISTORY.md` file.](https://github.com/bevry/cson/blob/HEAD/HISTORY.md#files)\n\n<!-- /HISTORY -->\n\n<!-- BACKERS/ -->\n\n## Backers\n\n### Code\n\n[Discover how to contribute via the `CONTRIBUTING.md` file.](https://github.com/bevry/cson/blob/HEAD/CONTRIBUTING.md#files)\n\n#### Authors\n\n-   [Benjamin Lupton](https://balupton.com) — Accelerating collaborative wisdom.\n\n#### Maintainers\n\n-   [Benjamin Lupton](https://github.com/balupton) — Accelerating collaborative wisdom.\n\n#### Contributors\n\n-   [Attila Oláh](https://github.com/attilaolah) — [view contributions](https://github.com/bevry/cson/commits?author=attilaolah \"View the GitHub contributions of Attila Oláh on repository bevry/cson\")\n-   [Attila Oláh](https://attilaolah.eu/)\n-   [Benjamin Lupton](https://github.com/balupton) — [view contributions](https://github.com/bevry/cson/commits?author=balupton \"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\")\n-   [Claudius Nicolae](https://github.com/clyfe) — [view contributions](https://github.com/bevry/cson/commits?author=clyfe \"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\")\n-   [evinugur](https://github.com/evinugur) — [view contributions](https://github.com/bevry/cson/commits?author=evinugur \"View the GitHub contributions of evinugur on repository bevry/cson\")\n-   [Jason Karns](https://github.com/jasonkarns) — [view contributions](https://github.com/bevry/cson/commits?author=jasonkarns \"View the GitHub contributions of Jason Karns on repository bevry/cson\")\n-   [Joël Perras](https://github.com/jperras) — [view contributions](https://github.com/bevry/cson/commits?author=jperras \"View the GitHub contributions of Joël Perras on repository bevry/cson\")\n-   [Linus G Thiel](https://github.com/linus) — [view contributions](https://github.com/bevry/cson/commits?author=linus \"View the GitHub contributions of Linus G Thiel on repository bevry/cson\")\n-   [Rob Loach](https://github.com/RobLoach) — [view contributions](https://github.com/bevry/cson/commits?author=RobLoach \"View the GitHub contributions of Rob Loach on repository bevry/cson\")\n-   [Ryan LeFevre](https://github.com/meltingice) — [view contributions](https://github.com/bevry/cson/commits?author=meltingice \"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\")\n-   [Tushar Kant](https://github.com/nanuclickity) — [view contributions](https://github.com/bevry/cson/commits?author=nanuclickity \"View the GitHub contributions of Tushar Kant on repository bevry/cson\")\n-   [Zearin](https://github.com/Zearin) — [view contributions](https://github.com/bevry/cson/commits?author=Zearin \"View the GitHub contributions of Zearin on repository bevry/cson\")\n-   [ZHANG Cheng](https://github.com/zhangcheng) — [view contributions](https://github.com/bevry/cson/commits?author=zhangcheng \"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\")\n\n### Finances\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n\n#### Sponsors\n\n-   [Andrew Nesbitt](https://nesbitt.io) — Software engineer and researcher\n-   [Balsa](https://balsa.com) — We're Balsa, and we're building tools for builders.\n-   [Codecov](https://codecov.io/) — Empower developers with tools to improve code quality and testing.\n-   [Poonacha Medappa](https://poonachamedappa.com)\n-   [Rob Morris](https://github.com/Rob-Morris)\n-   [Sentry](https://sentry.io) — Real-time crash reporting for your web apps, mobile apps, and games.\n-   [Syntax](https://syntax.fm) — Syntax Podcast\n\n#### Donors\n\n-   [Andrew Nesbitt](https://nesbitt.io)\n-   [Balsa](https://balsa.com)\n-   [Chad](https://opencollective.com/chad8)\n-   [Codecov](https://codecov.io/)\n-   [entroniq](https://gitlab.com/entroniq)\n-   [Jean-Luc Geering](https://github.com/jlgeering)\n-   [Michael Duane Mooring](https://bevry.me)\n-   [Mohammed Shah](https://github.com/smashah)\n-   [Poonacha Medappa](https://poonachamedappa.com)\n-   [Rob Morris](https://github.com/Rob-Morris)\n-   [Sentry](https://sentry.io)\n-   [ServieJS](https://github.com/serviejs)\n-   [Skunk Team](https://skunk.team)\n-   [Syntax](https://syntax.fm)\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n## License\n\nUnless stated otherwise all works are:\n\n-   Copyright &copy; [Benjamin Lupton](https://balupton.com)\n\nand licensed under:\n\n-   [Artistic License 2.0](http://spdx.org/licenses/Artistic-2.0.html)\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"e30f735e4bc3b0b1159c1c20891507b82d596b39","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-JoKnissPZbKGWGEqlLZk2IzmqaGq+wz1CvY+Nta+d4zH4+mK69/ukIxR0yT01l6V2sAf4oQTwSdKI7HMNu6NCg==","shasum":"56b1a243b58d8a696f2fdcefd3c1f9b0c9523109","tarball":"https://registry.npmjs.org/cson/-/cson-8.3.0-next.1703687848.e30f735e4bc3b0b1159c1c20891507b82d596b39.tgz","fileCount":11,"unpackedSize":86246,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqxVmhcNfh5y4ohNnMax7FWUEXDREJRvS7l7v2HMpzDAIhAKo4z174AhJHn3adBLuFOlPBEeaO0COSkGVjX6nS9HZO"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_8.3.0-next.1703687848.e30f735e4bc3b0b1159c1c20891507b82d596b39_1703687850119_0.4856506477987379"},"_hasShrinkwrap":false},"8.4.0":{"title":"CSON","name":"cson","version":"8.4.0","license":"Artistic-2.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","funding":"https://bevry.me/fund","repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"bugs":{"url":"https://github.com/bevry/cson/issues"},"keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"author":{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"authors":["Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton): Accelerating collaborative wisdom."],"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://attilaolah.eu"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"https://attilaolah.eu"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://nerderati.com"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://yesbabyyes.se"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"}],"sponsors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew): Software engineer and researcher","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa): We're Balsa, and we're building tools for builders.","Codecov <hello-codecov@sentry.io> (https://codecov.io) (https://github.com/codecov): Empower developers with tools to improve code quality and testing.","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Sentry (https://sentry.io) (https://github.com/getsentry): Real-time crash reporting for your web apps, mobile apps, and games.","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm): Syntax Podcast"],"donors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew)","Armen Mkrtchian (https://mogoni.dev) (https://github.com/Armenm)","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa)","Chad (https://opencollective.com/chad8)","Codecov <hello-codecov@sentry.io> (https://codecov.io) (https://github.com/codecov)","dr.dimitru (https://veliovgroup.com) (https://github.com/dr-dimitru)","Elliott Ditman (https://elliottditman.com) (https://github.com/elliottditman)","entroniq (https://gitlab.com/entroniq) (https://thanks.dev/d/gl/entroniq)","GitHub (https://github.com/about) (https://github.com/github)","Hunter Beast (https://cryptoquick.com) (https://github.com/cryptoquick)","Jean-Luc Geering (https://github.com/jlgeering) (https://opencollective.com/jlgeering) (https://twitter.com/jlgeering)","Michael Duane Mooring (https://mdm.cc) (https://github.com/mikeumus) (https://opencollective.com/mikeumus) (https://twitter.com/mikeumus)","Michael Harry Scepaniak <mhs1.sys@gmail.com> (https://michaelscepaniak.com) (https://github.com/hispanic)","Mohammed Shah <shah@idk.uno> (https://github.com/smashah) (https://thanks.dev/d/gh/smashah) (https://twitter.com/smashah)","Mr. Henry <hello@mrhenry.be> (https://mrhenry.be) (https://github.com/mrhenry)","Nermal <nermalcat69@skiff.com> (https://arjunaditya.vercel.app) (https://github.com/nermalcat69)","Pleo (https://pleo.io) (https://github.com/pleo-io)","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Robert de Forest <guitar.robot@gmail.com> (https://github.com/rdeforest)","Sentry (https://sentry.io) (https://github.com/getsentry)","ServieJS (https://github.com/serviejs) (https://thanks.dev/d/gh/serviejs)","Skunk Team (https://skunk.team) (https://github.com/skunkteam)","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm)","WriterJohnBuck (https://github.com/WriterJohnBuck)"],"engines":{"node":">=6"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21"}}],"bin":{"cson":"bin.cjs","cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.9","extract-opts":"^5.8.0","requirefresh":"^5.13.0","safefs":"^8.9.0"},"devDependencies":{"assert-helpers":"^11.12.0","coffeelint":"^2.1.0","coffeescript":"^2.7.0","kava":"^7.8.0","projectz":"^4.1.1","safeps":"^11.6.0","valid-directory":"^4.8.0"},"scripts":{"our:bin":"node ./bin.cjs","our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz --offline","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint","our:verify:coffeelint":"coffeelint ./source","test":"node ./edition-esnext/test.js"},"testen":{"serial":true},"_id":"cson@8.4.0","gitHead":"379264c2ac0b97044b8ec4d95d965bda9f823898","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-QwXDbiJodA3DFEKA888zTED28EZo2JC7EK2K3qVsUVbE0oKQVRZ4K+Ch/I8QaTYPZ9Q0GXG1BFK5dtcxd6C3mg==","shasum":"b843eddb9e409758182fec424666b99cc2c1b4f4","tarball":"https://registry.npmjs.org/cson/-/cson-8.4.0.tgz","fileCount":11,"unpackedSize":87561,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHBPtyEVrfq75poEgIi6XY7C/jSxW59Lz1s9GVk1oDcjAiEA7mEC6PYHsOOXWvo6wl5JdecnFZN6vU9utcKHeyWodfQ="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_8.4.0_1703862845837_0.9041826865630673"},"_hasShrinkwrap":false},"8.4.0-next.1703862812.379264c2ac0b97044b8ec4d95d965bda9f823898":{"title":"CSON","name":"cson","version":"8.4.0-next.1703862812.379264c2ac0b97044b8ec4d95d965bda9f823898","license":"Artistic-2.0","description":"CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.","homepage":"https://github.com/bevry/cson","funding":"https://bevry.me/fund","repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"bugs":{"url":"https://github.com/bevry/cson/issues"},"keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"cson","githubSlug":"bevry/cson","npmPackageName":"cson"}},"author":{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"authors":["Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton): Accelerating collaborative wisdom."],"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://attilaolah.eu"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"https://attilaolah.eu"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://nerderati.com"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://yesbabyyes.se"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"}],"sponsors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew): Software engineer and researcher","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa): We're Balsa, and we're building tools for builders.","Codecov <hello-codecov@sentry.io> (https://codecov.io) (https://github.com/codecov): Empower developers with tools to improve code quality and testing.","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Sentry (https://sentry.io) (https://github.com/getsentry): Real-time crash reporting for your web apps, mobile apps, and games.","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm): Syntax Podcast"],"donors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew)","Armen Mkrtchian (https://mogoni.dev) (https://github.com/Armenm)","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa)","Chad (https://opencollective.com/chad8)","Codecov <hello-codecov@sentry.io> (https://codecov.io) (https://github.com/codecov)","dr.dimitru (https://veliovgroup.com) (https://github.com/dr-dimitru)","Elliott Ditman (https://elliottditman.com) (https://github.com/elliottditman)","entroniq (https://gitlab.com/entroniq) (https://thanks.dev/d/gl/entroniq)","GitHub (https://github.com/about) (https://github.com/github)","Hunter Beast (https://cryptoquick.com) (https://github.com/cryptoquick)","Jean-Luc Geering (https://github.com/jlgeering) (https://opencollective.com/jlgeering) (https://twitter.com/jlgeering)","Michael Duane Mooring (https://mdm.cc) (https://github.com/mikeumus) (https://opencollective.com/mikeumus) (https://twitter.com/mikeumus)","Michael Harry Scepaniak <mhs1.sys@gmail.com> (https://michaelscepaniak.com) (https://github.com/hispanic)","Mohammed Shah <shah@idk.uno> (https://github.com/smashah) (https://thanks.dev/d/gh/smashah) (https://twitter.com/smashah)","Mr. Henry <hello@mrhenry.be> (https://mrhenry.be) (https://github.com/mrhenry)","Nermal <nermalcat69@skiff.com> (https://arjunaditya.vercel.app) (https://github.com/nermalcat69)","Pleo (https://pleo.io) (https://github.com/pleo-io)","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Robert de Forest <guitar.robot@gmail.com> (https://github.com/rdeforest)","Sentry (https://sentry.io) (https://github.com/getsentry)","ServieJS (https://github.com/serviejs) (https://thanks.dev/d/gh/serviejs)","Skunk Team (https://skunk.team) (https://github.com/skunkteam)","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm)","WriterJohnBuck (https://github.com/WriterJohnBuck)"],"engines":{"node":">=6"},"editions":[{"description":"CoffeeScript source code with Require for modules","directory":"source","entry":"index.coffee","tags":["source","coffeescript","require"],"engines":false},{"description":"CoffeeScript compiled for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21"}}],"bin":{"cson":"bin.cjs","cson2json":"bin.cjs","json2cson":"bin.cjs"},"type":"commonjs","main":"edition-esnext/index.js","dependencies":{"cson-parser":"^4.0.9","extract-opts":"^5.8.0","requirefresh":"^5.13.0","safefs":"^8.9.0"},"devDependencies":{"assert-helpers":"^11.12.0","coffeelint":"^2.1.0","coffeescript":"^2.7.0","kava":"^7.8.0","projectz":"^4.1.1","safeps":"^11.6.0","valid-directory":"^4.8.0"},"scripts":{"our:bin":"node ./bin.cjs","our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"coffee -bco ./edition-esnext ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz --offline","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:coffeelint","our:verify:coffeelint":"coffeelint ./source","test":"node ./edition-esnext/test.js"},"testen":{"serial":true},"_id":"cson@8.4.0-next.1703862812.379264c2ac0b97044b8ec4d95d965bda9f823898","readme":"<!-- TITLE/ -->\n\n# CSON\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/cson/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/cson/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/cson.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/cson\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/cson.svg\" alt=\"NPM downloads\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-discord\"><a href=\"https://discord.gg/nQuXddV7VP\" title=\"Join this project's community on Discord\"><img src=\"https://img.shields.io/discord/1147436445783560193?logo=discord&amp;label=discord\" alt=\"Discord server badge\" /></a></span>\n<span class=\"badge-twitch\"><a href=\"https://www.twitch.tv/balupton\" title=\"Join this project's community on Twitch\"><img src=\"https://img.shields.io/twitch/status/balupton?logo=twitch\" alt=\"Twitch community badge\" /></a></span>\n\n<!-- /BADGES -->\n\n\nCoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.\n\n[Projects using CSON.](https://www.npmjs.org/browse/depended/cson)\n\n[Projects using CSON Parser directly.](https://www.npmjs.org/browse/depended/cson-parser)\n\nSince v2, this CSON package is a higher-level wrapper around the lower-level [CSON Parser](https://www.npmjs.com/package/cson-parser).\n\n\n\n\n\n## What is CSON?\n\nEveryone knows JSON, it's the thing that looks like this:\n\n``` javascript\n{\n  \"greatDocumentaries\": [\n    \"earthlings.com\",\n    \"forksoverknives.com\",\n    \"cowspiracy.com\"\n  ],\n  \"importantFacts\": {\n    \"emissions\": \"Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\\nGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\\nWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\\nhttp://www.worldwatch.org/node/6294\",\n    \"landuse\": \"Livestock covers 45% of the earth’s total land.\\nThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\\nhttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\",\n    \"burger\": \"One hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\\nCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\\nhttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\\n“50 Ways to Save Your River.” Friends of the River.\\nhttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\",\n    \"milk\": \"1,000 gallons of water are required to produce 1 gallon of milk.\\n“Water trivia facts.” United States Environmental Protection Agency.\\nhttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\",\n    \"more\": \"http://cowspiracy.com/facts\"\n  }\n}\n```\n\nNow let's write the same thing in CSON:\n\n``` coffeescript\n# Comments!!!\n\n# An Array with no commas!\ngreatDocumentaries: [\n\t'earthlings.com'\n\t'forksoverknives.com'\n\t'cowspiracy.com'\n]\n\n# An Object without braces!\nimportantFacts:\n\t# Multi-Line Strings! Without Quote Escaping!\n\temissions: '''\n\t\tLivestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\n\t\tGoodland, R Anhang, J. “Livestock and Climate Change: What if the key actors in climate change were pigs, chickens and cows?”\n\t\tWorldWatch, November/December 2009. Worldwatch Institute, Washington, DC, USA. Pp. 10–19.\n\t\thttp://www.worldwatch.org/node/6294\n\t\t'''\n\n\tlanduse: '''\n\t\tLivestock covers 45% of the earth’s total land.\n\t\tThornton, Phillip, Mario Herrero, and Polly Ericksen. “Livestock and Climate Change.” Livestock Exchange, no. 3 (2011).\n\t\thttps://cgspace.cgiar.org/bitstream/handle/10568/10601/IssueBrief3.pdf\n\t\t'''\n\n\tburger: '''\n\t\tOne hamburger requires 660 gallons of water to produce – the equivalent of 2 months’ worth of showers.\n\t\tCatanese, Christina. “Virtual Water, Real Impacts.” Greenversations: Official Blog of the U.S. EPA. 2012.\n\t\thttp://blog.epa.gov/healthywaters/2012/03/virtual-water-real-impacts-world-water-day-2012/\n\t\t“50 Ways to Save Your River.” Friends of the River.\n\t\thttp://www.friendsoftheriver.org/site/PageServer?pagename=50ways\n\t\t'''\n\n\tmilk: '''\n\t\t1,000 gallons of water are required to produce 1 gallon of milk.\n\t\t“Water trivia facts.” United States Environmental Protection Agency.\n\t\thttp://water.epa.gov/learn/kids/drinkingwater/water_trivia_facts.cfm#_edn11\n\t\t'''\n\n\tmore: 'http://cowspiracy.com/facts'\n```\n\nWhich is far more lenient than JSON, way nicer to write and read, no need to quote and escape everything, has comments and readable multi-line strings, and won't fail if you forget a comma.\n\n\n\n## Using CSON\n\n### Via the Command Line\n\nUse CSON with the command line with:\n\n``` bash\n# Convert a JSON file into a CSON file\njson2cson in.json > out.cson\n# Same thing via piping\ncat in.json | json2cson > out.cson\n\n# Convert a CSON file into a JSON file\ncson2json in.cson > out.json\n# Same thing via piping\ncat in.cson | cson2json > out.json\n```\n\nRequires a global CSON install: `npm install -g cson`\n\n\n### Via the API\n\nInclude CSON:\n\n``` javascript\nvar CSON = require('cson')\n```\n\nEach method can be executed without a callback like so:\n\n``` javascript\nvar result = CSON.createCSONString({a:{b:'c'}}, {/* optional options argument */})\nif ( result instanceof Error ) {\n\tconsole.log(result.stack)\n} else {\n\tconsole.log(result)\n}\n```\n\nOr via a callback like so:\n\n``` javascript\nCSON.createCSONString({a:{b:'c'}}, {/* optional options argument */}, function(err,result){\n\tconsole.log(err, result)\n})\n```\n\nExecuting the method with a callback still executes the method synchronously.\n\nClick the below function names to open more detailed documentation.\n\n\n#### Create Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#stringify-instance'>String <strong>CSON.stringify</strong>(data, replacer?, indent?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createCSONString-instance'>String <strong>CSON.createCSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createJSONString-instance'>String <strong>CSON.createJSONString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#createString-instance'>String <strong>CSON.createString</strong>(data, opts?, next?)</a> <br/> Converts an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> into a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format If the format option is not specified, we default to CSON\n\n\n### Parse Strings\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parse-instance'>Object <strong>CSON.parse</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONString-instance'>Object <strong>CSON.parseCSONString</strong>(data, opts?, next?)</a> <br/> Parses a CSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONString-instance'>Object <strong>CSON.parseJSONString</strong>(data, opts?, next?)</a> <br/> Parses a JSON <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSString-instance'>Object <strong>CSON.parseCSString</strong>(data, opts?, next?)</a> <br/> Parses a CoffeeScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSString-instance'>Object <strong>CSON.parseJSString</strong>(data, opts?, next?)</a> <br/> Parses a JavaScript <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseString-instance'>Object <strong>CSON.parseString</strong>(data, opts?, next?)</a> <br/> Converts a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we default to CSON\n\n\n#### Parse Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#load-instance'>Object <strong>CSON.load</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSONFile-instance'>Object <strong>CSON.parseCSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSONFile-instance'>Object <strong>CSON.parseJSONFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JSON file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseCSFile-instance'>Object <strong>CSON.parseCSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a CoffeeScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseJSFile-instance'>Object <strong>CSON.parseJSFile</strong>(filePath, opts?, next?)</a> <br/> Parses a JavaScript file into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#parseFile-instance'>Object <strong>CSON.parseFile</strong>(filePath, opts?, next?)</a> <br/> Parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to CSON\n\n\n### Require Files\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireCSFile-instance'>Object <strong>CSON.requireCSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a CoffeeScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireJSFile-instance'>Object <strong>CSON.requireJSFile</strong>(filePath, opts?, next?)</a> <br/> Requires a JavaScript file and returns the result <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a>\n\n- <a href='http://master.cson.bevry.surge.sh/docs/classes/CSON.html#requireFile-instance'>Object <strong>CSON.requireFile</strong>(filePath, opts?, next?)</a> <br/> Requires or parses a file path of the desired format into an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> If the format option is not specified, we use the filename to detect what it should be, otherwise we default to parsing CSON\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n## Install\n\n### [npm](https://npmjs.com \"npm is a package manager for javascript\")\n\n#### Install Globally\n\n-   Install: `npm install --global cson`\n-   Executables: `cson`, `cson2json`, `json2cson`\n\n#### Install Locally\n\n-   Install: `npm install --save cson`\n-   Executables: `npx cson`, `npx cson2json`, `npx json2cson`\n-   Import: `import * as pkg from ('cson')`\n-   Require: `const pkg = require('cson')`\n\n### [Editions](https://editions.bevry.me \"Editions are the best way to produce and consume packages you care about.\")\n\nThis package is published with the following editions:\n-   `cson/source/index.coffee` is [CoffeeScript](https://coffeescript.org \"CoffeeScript is a little language that compiles into JavaScript\") source code with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html \"Node/CJS Modules\") for modules\n-   `cson` aliases `cson/edition-esnext/index.js`\n-   `cson/edition-esnext/index.js` is [CoffeeScript](https://coffeescript.org \"CoffeeScript is a little language that compiles into JavaScript\") compiled for [Node.js](https://nodejs.org \"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\") 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html \"Node/CJS Modules\") for modules\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n## History\n\n[Discover the release history by heading on over to the `HISTORY.md` file.](https://github.com/bevry/cson/blob/HEAD/HISTORY.md#files)\n\n<!-- /HISTORY -->\n\n<!-- BACKERS/ -->\n\n## Backers\n\n### Code\n\n[Discover how to contribute via the `CONTRIBUTING.md` file.](https://github.com/bevry/cson/blob/HEAD/CONTRIBUTING.md#files)\n\n#### Authors\n\n-   [Benjamin Lupton](https://balupton.com) — Accelerating collaborative wisdom.\n\n#### Maintainers\n\n-   [Benjamin Lupton](https://balupton.com) — Accelerating collaborative wisdom.\n\n#### Contributors\n\n-   [Attila Oláh](https://github.com/attilaolah) — [view contributions](https://github.com/bevry/cson/commits?author=attilaolah \"View the GitHub contributions of Attila Oláh on repository bevry/cson\")\n-   [Attila Oláh](https://attilaolah.eu)\n-   [Benjamin Lupton](https://github.com/balupton) — [view contributions](https://github.com/bevry/cson/commits?author=balupton \"View the GitHub contributions of Benjamin Lupton on repository bevry/cson\")\n-   [Claudius Nicolae](https://github.com/clyfe) — [view contributions](https://github.com/bevry/cson/commits?author=clyfe \"View the GitHub contributions of Claudius Nicolae on repository bevry/cson\")\n-   [evinugur](https://github.com/evinugur) — [view contributions](https://github.com/bevry/cson/commits?author=evinugur \"View the GitHub contributions of evinugur on repository bevry/cson\")\n-   [Jason Karns](https://github.com/jasonkarns) — [view contributions](https://github.com/bevry/cson/commits?author=jasonkarns \"View the GitHub contributions of Jason Karns on repository bevry/cson\")\n-   [Joël Perras](https://github.com/jperras) — [view contributions](https://github.com/bevry/cson/commits?author=jperras \"View the GitHub contributions of Joël Perras on repository bevry/cson\")\n-   [Linus G Thiel](https://github.com/linus) — [view contributions](https://github.com/bevry/cson/commits?author=linus \"View the GitHub contributions of Linus G Thiel on repository bevry/cson\")\n-   [Rob Loach](https://github.com/RobLoach) — [view contributions](https://github.com/bevry/cson/commits?author=RobLoach \"View the GitHub contributions of Rob Loach on repository bevry/cson\")\n-   [Ryan LeFevre](https://github.com/meltingice) — [view contributions](https://github.com/bevry/cson/commits?author=meltingice \"View the GitHub contributions of Ryan LeFevre on repository bevry/cson\")\n-   [Tushar Kant](https://github.com/nanuclickity) — [view contributions](https://github.com/bevry/cson/commits?author=nanuclickity \"View the GitHub contributions of Tushar Kant on repository bevry/cson\")\n-   [Zearin](https://github.com/Zearin) — [view contributions](https://github.com/bevry/cson/commits?author=Zearin \"View the GitHub contributions of Zearin on repository bevry/cson\")\n-   [ZHANG Cheng](https://github.com/zhangcheng) — [view contributions](https://github.com/bevry/cson/commits?author=zhangcheng \"View the GitHub contributions of ZHANG Cheng on repository bevry/cson\")\n\n### Finances\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n\n#### Sponsors\n\n-   [Andrew Nesbitt](https://nesbitt.io) — Software engineer and researcher\n-   [Balsa](https://balsa.com) — We're Balsa, and we're building tools for builders.\n-   [Codecov](https://codecov.io) — Empower developers with tools to improve code quality and testing.\n-   [Poonacha Medappa](https://poonachamedappa.com)\n-   [Rob Morris](https://github.com/Rob-Morris)\n-   [Sentry](https://sentry.io) — Real-time crash reporting for your web apps, mobile apps, and games.\n-   [Syntax](https://syntax.fm) — Syntax Podcast\n\n#### Donors\n\n-   [Andrew Nesbitt](https://nesbitt.io)\n-   [Armen Mkrtchian](https://mogoni.dev)\n-   [Balsa](https://balsa.com)\n-   [Chad](https://opencollective.com/chad8)\n-   [Codecov](https://codecov.io)\n-   [dr.dimitru](https://veliovgroup.com)\n-   [Elliott Ditman](https://elliottditman.com)\n-   [entroniq](https://gitlab.com/entroniq)\n-   [GitHub](https://github.com/about)\n-   [Hunter Beast](https://cryptoquick.com)\n-   [Jean-Luc Geering](https://github.com/jlgeering)\n-   [Michael Duane Mooring](https://mdm.cc)\n-   [Michael Harry Scepaniak](https://michaelscepaniak.com)\n-   [Mohammed Shah](https://github.com/smashah)\n-   [Mr. Henry](https://mrhenry.be)\n-   [Nermal](https://arjunaditya.vercel.app)\n-   [Pleo](https://pleo.io)\n-   [Poonacha Medappa](https://poonachamedappa.com)\n-   [Rob Morris](https://github.com/Rob-Morris)\n-   [Robert de Forest](https://github.com/rdeforest)\n-   [Sentry](https://sentry.io)\n-   [ServieJS](https://github.com/serviejs)\n-   [Skunk Team](https://skunk.team)\n-   [Syntax](https://syntax.fm)\n-   [WriterJohnBuck](https://github.com/WriterJohnBuck)\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n## License\n\nUnless stated otherwise all works are:\n\n-   Copyright &copy; [Benjamin Lupton](https://balupton.com)\n\nand licensed under:\n\n-   [Artistic License 2.0](http://spdx.org/licenses/Artistic-2.0.html)\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"379264c2ac0b97044b8ec4d95d965bda9f823898","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-T40CnYiRSzeLPb5V3O1CydrZ9yRXfMU+KaBPSLm0JqT67gYDHTXSdaOINtaBHOO7z28+WDf1vnuMBismQVvL/A==","shasum":"b4334c48cdec71cdbe21892eb823a9f4d37c2be5","tarball":"https://registry.npmjs.org/cson/-/cson-8.4.0-next.1703862812.379264c2ac0b97044b8ec4d95d965bda9f823898.tgz","fileCount":11,"unpackedSize":87618,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHFc0c/h1t8yINqXku6NDmiAMs8APVivdPEYree8t/T3AiAQRvDusybVXvMyLjXXWEarw6RnjBokYzQ8oeAwoGEoqw=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cson_8.4.0-next.1703862812.379264c2ac0b97044b8ec4d95d965bda9f823898_1703862870867_0.53601724507983"},"_hasShrinkwrap":false}},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"time":{"modified":"2023-12-29T15:14:31.329Z","created":"2011-06-02T05:40:23.430Z","0.1.0":"2011-06-02T05:40:32.720Z","0.1.1":"2011-07-01T12:47:34.778Z","0.2.0":"2011-08-10T03:34:09.096Z","1.0.0":"2012-04-23T10:51:08.128Z","1.0.1":"2012-05-03T21:04:59.825Z","1.0.2":"2012-05-04T10:19:27.666Z","1.1.0":"2012-06-20T21:08:35.363Z","1.1.1":"2012-06-20T21:42:34.237Z","1.1.2":"2012-06-22T03:30:04.331Z","1.2.0":"2012-07-07T13:56:11.591Z","1.2.1":"2012-07-16T07:09:52.205Z","1.2.2":"2012-08-10T11:56:31.352Z","1.2.3":"2012-08-31T15:51:38.516Z","1.3.0":"2012-08-31T16:04:10.213Z","1.4.0":"2012-10-24T23:11:02.172Z","1.4.1":"2013-03-15T23:03:04.916Z","1.4.2":"2013-06-07T10:56:30.213Z","1.4.3":"2013-08-30T02:34:58.051Z","1.4.4":"2013-08-30T02:51:11.620Z","1.4.5":"2013-10-31T06:15:45.007Z","1.6.0":"2014-05-17T09:00:24.085Z","1.6.1":"2014-08-03T05:22:42.146Z","1.6.2":"2014-12-12T01:41:08.496Z","2.0.0":"2015-02-06T03:19:36.934Z","3.0.0":"2015-03-16T12:42:08.040Z","3.0.1":"2015-03-16T13:16:43.989Z","3.0.2":"2015-09-19T10:58:14.762Z","4.0.0":"2016-10-20T10:51:25.645Z","4.1.0":"2017-04-10T00:58:45.315Z","5.1.0":"2018-01-25T06:24:20.551Z","6.0.0-next.1573417680.ec12a81364623275f2d7c949bb4aca6a202cb24e":"2019-11-10T20:28:02.497Z","6.0.0":"2019-11-10T20:29:11.182Z","6.1.0-next.1573588458.bc1dbbb8e70571b3b1663921aab36d374dd170cf":"2019-11-12T19:54:20.261Z","6.1.0":"2019-11-12T19:55:25.009Z","6.2.0-next.1573593732.9702e64b7b5b7658aca03119b4362444c9ce93e1":"2019-11-12T21:22:14.243Z","6.2.0":"2019-11-12T21:23:14.125Z","6.2.0-next.1573611070.3b8776165b63ecf2a482c51df3d5125aaf20fcc4":"2019-11-13T02:11:12.099Z","6.2.0-next.1573694640.c6f82ac5054a1858b12186d4686af2f6ed034d68":"2019-11-14T01:24:01.900Z","6.2.0-next.1573739096.bab6c8efb341d9817f21d936666c0d8daebe45c8":"2019-11-14T13:44:58.638Z","6.3.0-next.1574015094.564ff3b4c111b7d1319500cb3ea6d67ed2644217":"2019-11-17T18:24:57.039Z","6.3.0":"2019-11-17T18:26:04.150Z","6.4.0-next.1574044836.ca6a1ac547e6d19813a840b61a599593ce1fa262":"2019-11-18T02:40:38.109Z","6.4.0":"2019-11-18T02:41:36.233Z","6.4.0-next.1574612503.51faf502504084a37c218f0a4390bd16333bcbff":"2019-11-24T16:21:45.647Z","6.4.0-next.1574656769.b447225bf339025e699aed75aff8b754be133c38":"2019-11-25T04:39:31.491Z","6.4.0-next.1574660605.5628afb717e7f32b45e00bfe35ec3edf22f60b58":"2019-11-25T05:43:27.296Z","6.5.0-next.1575138333.b55bad1c1393b9a3805e824056c7d0f1d41894a0":"2019-11-30T18:25:35.536Z","6.5.0":"2019-11-30T18:26:37.449Z","6.6.0-next.1575145078.e2c67b0e85eb97cf539353ee15be695ac84f9c1c":"2019-11-30T20:19:00.456Z","6.6.0":"2019-11-30T20:19:16.376Z","6.7.0-next.1575168791.d9ace15eb254b54e44f5996aeccaff4af85912a9":"2019-12-01T02:53:13.559Z","6.7.0":"2019-12-01T02:54:14.591Z","6.8.0":"2019-12-09T07:56:28.167Z","6.8.0-next.1575878242.1e48f2184d27664dadbb7b790d0cf2dd03fcfea1":"2019-12-09T07:57:23.943Z","6.9.0-next.1576603916.6dd6652dd2626070252f4ce0bcc1ccbbdd42dadd":"2019-12-17T17:31:58.181Z","6.9.0":"2019-12-17T17:32:59.214Z","7.0.0-next.1585174801.021615c82bed0577a0412a926e5ba6e77f9039fc":"2020-03-25T22:20:02.756Z","7.0.0":"2020-03-25T22:20:08.169Z","7.1.0-next.1588595148.1251f75da3116c5c9c3bb5e3276ae326d6a63591":"2020-05-04T12:25:50.284Z","7.1.0":"2020-05-04T12:26:46.920Z","7.2.0":"2020-05-11T13:17:42.891Z","7.3.0-next.1589249431.0efe69b08dc58ba9baceef325b58af8f7f4c3dc8":"2020-05-12T02:10:32.788Z","7.3.0":"2020-05-12T02:11:36.795Z","7.4.0-next.1590034493.004235922382bbcbe1760fb8287efe9576db0d6b":"2020-05-21T04:14:54.763Z","7.4.0":"2020-05-21T04:15:58.421Z","7.5.0-next.1590071389.67ca7cf93f601bc4fa8bb514f2e9fe633197d913":"2020-05-21T14:29:50.661Z","7.5.0":"2020-05-21T14:30:46.033Z","7.6.0-next.1591775273.40dd858cadfb00d0043b8531ca73cc66d78877a8":"2020-06-10T07:47:55.045Z","7.6.0":"2020-06-10T07:48:48.096Z","7.7.0-next.1591792635.345650a086ba685fe1a06ed3bcb550ba469c988d":"2020-06-10T12:37:16.894Z","7.7.0":"2020-06-10T12:38:21.724Z","7.8.0-next.1592601265.ddeccac36fa251fa5738464bf31600927211a101":"2020-06-19T21:14:27.102Z","7.8.0":"2020-06-19T21:15:24.470Z","7.9.0-next.1592605980.1c26306fa71e2fec542397711ca4076b8b9b2e7f":"2020-06-19T22:33:02.555Z","7.9.0":"2020-06-19T22:34:11.698Z","7.10.0-next.1592689381.6ce50249a857c93ad8a6f6c0b6a2af20120b6b2a":"2020-06-20T21:43:02.749Z","7.10.0":"2020-06-20T21:44:14.812Z","7.11.0-next.1592737713.657ed00ef8d69b2656d440d8b768a4bf5ebceb03":"2020-06-21T11:08:34.926Z","7.11.0":"2020-06-21T11:09:44.523Z","7.12.0-next.1593048754.9e0dee0a7d86fecda1cf452e095fff14e2a2915d":"2020-06-25T01:32:36.200Z","7.12.0":"2020-06-25T01:33:42.503Z","7.12.0-next.1593741806.0392c78d9615a90fd2a1071c19293f3a6ff15df1":"2020-07-03T02:03:28.320Z","7.13.0-next.1593746504.b98a49bfed23304ba0a61e43f0185a355c704d2f":"2020-07-03T03:21:45.515Z","7.13.0":"2020-07-03T03:22:52.428Z","7.14.0-next.1593746839.ff1b78b1f7472dbd0d33ef46f7d77c99fc1dfa31":"2020-07-03T03:27:20.465Z","7.14.0":"2020-07-03T03:28:21.733Z","7.15.0-next.1593752037.d77ed56fff2fb638aa242808d55726902eadc167":"2020-07-03T04:53:58.672Z","7.15.0":"2020-07-03T04:55:03.463Z","7.16.0-next.1595343173.57689a3cb4c52edc131dd024c0b094eee1da7f4f":"2020-07-21T14:52:54.772Z","7.16.0":"2020-07-21T14:53:51.349Z","7.17.0-next.1595351528.aa9f7dd4e7e8f91888399dc6b35ce41500b104b0":"2020-07-21T17:12:09.673Z","7.17.0":"2020-07-21T17:13:32.988Z","7.18.0-next.1596512564.02c96ea1ce7de1a7874c5fa46caa89e50c879484":"2020-08-04T03:42:45.959Z","7.18.0":"2020-08-04T03:43:49.498Z","7.19.0-next.1597692852.94f56a23e82c66037ed320f4b461635dda47cf1e":"2020-08-17T19:34:14.255Z","7.19.0":"2020-08-17T19:35:26.672Z","7.20.0-next.1599209391.286c48aef58a7ddadf8ddf9385da072f25574b27":"2020-09-04T08:49:52.530Z","7.20.0":"2020-09-04T08:50:52.211Z","7.20.0-next.1599209465.f493d2860f4824c199c2b635225f5f94a9685ecc":"2020-09-04T08:51:06.710Z","7.20.0-next.1599393313.f2b1fea363a57fa930cc5970a39c194ac15ba8b9":"2020-09-06T11:55:14.512Z","7.20.0-next.1599988850.782530ba1dd16bbedbe4b1560c3b8fb86cd8c59f":"2020-09-13T09:20:51.837Z","7.20.0-next.1604238089.041086a1b2d691a8700b25759c67f667b5746351":"2020-11-01T13:41:30.992Z","7.20.0-next.1604240078.5fb7d8328d0b91b6cdadde2e6400e694cfc49884":"2020-11-01T14:14:39.512Z","8.0.0":"2023-11-18T00:54:24.240Z","8.0.0-next.1700268864.1502a8c11a6028ec4f4029a7a19df1df05af4600":"2023-11-18T00:54:25.666Z","8.1.0-next.1700562115.eab6e68cff621e8ae7672b026cfadefadca83bc7":"2023-11-21T10:21:56.548Z","8.1.0":"2023-11-21T10:22:35.935Z","8.2.0-next.1700834233.489d178684c82fb1ba93f9f9177b2995441fb6a2":"2023-11-24T13:57:14.485Z","8.2.0":"2023-11-24T13:57:19.035Z","8.3.0":"2023-12-27T14:37:03.436Z","8.3.0-next.1703687848.e30f735e4bc3b0b1159c1c20891507b82d596b39":"2023-12-27T14:37:30.341Z","8.4.0":"2023-12-29T15:14:06.033Z","8.4.0-next.1703862812.379264c2ac0b97044b8ec4d95d965bda9f823898":"2023-12-29T15:14:31.080Z"},"author":{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"repository":{"type":"git","url":"git+https://github.com/bevry/cson.git"},"readme":"","homepage":"https://github.com/bevry/cson","keywords":["coffeescript","cson","esnext","javascript","node","parse","stringify"],"contributors":[{"name":"Attila Oláh","email":"atl@google.com","url":"https://attilaolah.eu"},{"name":"Attila Oláh","email":"attilaolah@google.com","url":"https://attilaolah.eu"},{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},{"name":"Claudius Nicolae","email":"claudius.nicolae@gmail.com","url":"https://github.com/clyfe"},{"name":"evinugur","url":"https://github.com/evinugur"},{"name":"Jason Karns","email":"jason.karns@gmail.com","url":"https://jasonkarns.com"},{"name":"Joël Perras","email":"joel@nerderati.com","url":"https://nerderati.com"},{"name":"Linus G Thiel","email":"linus@hanssonlarsson.se","url":"https://yesbabyyes.se"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://robloach.net"},{"name":"Ryan LeFevre","email":"meltingice8917@gmail.com","url":"https://github.com/meltingice"},{"name":"Tushar Kant","email":"me@tushar.works","url":"https://github.com/nanuclickity"},{"name":"Zearin","url":"https://github.com/Zearin"},{"name":"ZHANG Cheng","email":"czhang.oss@gmail.com","url":"https://github.com/zhangcheng"}],"bugs":{"url":"https://github.com/bevry/cson/issues"},"license":"Artistic-2.0","readmeFilename":"","users":{"jisbert":true,"stpettersens":true,"msmiley":true,"elidiazgt":true,"naohta":true,"devg":true,"koz":true,"monsterkodi":true,"fdeneux":true,"shavyg2":true,"kontrax":true,"illuminator":true,"manojkhannakm":true,"axelrindle":true,"aa11285":true}}