{"_id":"co-mocha","_rev":"1212529","name":"co-mocha","description":"Enable support for generators in Mocha tests","dist-tags":{"latest":"1.2.2"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"time":{"modified":"2021-10-13T05:46:13.000Z","created":"2014-02-05T19:45:30.982Z","1.2.2":"2018-02-27T05:24:43.555Z","1.2.1":"2017-10-11T19:45:24.757Z","1.2.0":"2017-01-25T04:44:22.921Z","1.1.3":"2016-08-01T23:09:47.601Z","1.1.2":"2015-06-16T15:51:16.560Z","1.1.1":"2015-06-16T09:07:52.490Z","1.1.0":"2014-11-17T15:41:06.991Z","1.0.3":"2014-10-28T15:49:04.068Z","1.0.2":"2014-10-22T05:30:03.514Z","1.0.1":"2014-09-01T19:35:35.341Z","1.0.0":"2014-08-17T19:47:22.701Z","0.0.4":"2014-05-05T22:46:05.178Z","0.0.3":"2014-05-05T07:47:30.762Z","0.0.2":"2014-03-03T17:06:49.992Z","0.0.1":"2014-02-05T19:45:30.982Z"},"users":{"aaron":true,"9joneg":true,"aswerty":true,"yvesm":true,"edision":true,"ash0080":true,"erikvold":true,"bsnote":true,"fenyot":true,"wouter_vdb":true,"l2xbrain":true,"vashigor":true,"leonzhao":true,"jasonzhouu":true,"chenkan":true},"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"versions":{"1.2.2":{"name":"co-mocha","version":"1.2.2","description":"Enable support for generators in Mocha tests","main":"lib/co-mocha.js","files":["co-mocha.js","lib/","LICENSE"],"scripts":{"lint":"standard","build":"browserify lib/co-mocha.js -s co-mocha -o co-mocha.js","test-spec":"mocha --harmony -R spec --require lib/co-mocha.js --bail","test-cov":"testem ci -l Firefox,Node","test":"mocha -V && npm run lint && npm run build && npm run test-cov"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"keywords":["co","mocha","harmony","generators"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"homepage":"https://github.com/blakeembrey/co-mocha","devDependencies":{"browserify":"^14.0.0","chai":"^4.0.1","es6-promise":"^4.0.5","istanbul":"^1.1.0-alpha.1","mocha":"*","regenerator":"^0.10.0","standard":"^10.0.0","testem":"^1.13.0","traceur":"0.0.111"},"standard":{"ignore":["coverage/**","node_modules/**","bower_components/**","co-mocha.js"]},"dependencies":{"co":"^4.0.0","is-generator":"^1.0.1"},"peerDependencies":{"mocha":">=1.18 <6"},"gitHead":"10ddfea56aa3215b4408737fd06a9ee5c3d9aabb","_id":"co-mocha@1.2.2","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"c4fdf24d37f43ca4da668b14542a96e9377479ab","size":6010,"noattachment":false,"key":"/co-mocha/-/co-mocha-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mocha/download/co-mocha-1.2.2.tgz"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/co-mocha_1.2.2_1519709083328_0.7379975609822167"},"_hasShrinkwrap":false,"publish_time":1519709083555,"_cnpm_publish_time":1519709083555},"1.2.1":{"name":"co-mocha","version":"1.2.1","description":"Enable support for generators in Mocha tests","main":"lib/co-mocha.js","files":["co-mocha.js","lib/","LICENSE"],"scripts":{"lint":"standard","build":"browserify lib/co-mocha.js -s co-mocha -o co-mocha.js","test-spec":"mocha --harmony -R spec --require lib/co-mocha.js --bail","test-cov":"testem ci -l Firefox,Node","test":"mocha -V && npm run lint && npm run build && npm run test-cov"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"keywords":["co","mocha","harmony","generators"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"homepage":"https://github.com/blakeembrey/co-mocha","devDependencies":{"browserify":"^14.0.0","chai":"^4.0.1","es6-promise":"^4.0.5","istanbul":"^1.1.0-alpha.1","mocha":"*","regenerator":"^0.10.0","standard":"^10.0.0","testem":"^1.13.0","traceur":"0.0.111"},"standard":{"ignore":["coverage/**","node_modules/**","bower_components/**","co-mocha.js"]},"dependencies":{"co":"^4.0.0","is-generator":"^1.0.1"},"peerDependencies":{"mocha":">=1.18 <5"},"gitHead":"655a011a8263c5b41fcde6e75cf18ae5b2d28b92","_id":"co-mocha@1.2.1","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"145b997d58acd56616b3de557ff24df3d7cd63ba","size":5971,"noattachment":false,"key":"/co-mocha/-/co-mocha-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mocha/download/co-mocha-1.2.1.tgz"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/co-mocha-1.2.1.tgz_1507751124622_0.15951828798279166"},"directories":{},"publish_time":1507751124757,"_hasShrinkwrap":false,"_cnpm_publish_time":1507751124757},"1.2.0":{"name":"co-mocha","version":"1.2.0","description":"Enable support for generators in Mocha tests","main":"lib/co-mocha.js","files":["co-mocha.js","lib/","LICENSE"],"browser":{"path":false},"scripts":{"lint":"standard","build":"browserify lib/co-mocha.js -s co-mocha -o co-mocha.js","test-spec":"mocha --harmony -R spec --require lib/co-mocha.js --bail","test-cov":"testem ci -l Firefox,Node","test":"npm run lint && npm run build && npm run test-cov"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"keywords":["co","mocha","harmony","generators"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"homepage":"https://github.com/blakeembrey/co-mocha","devDependencies":{"browserify":"^14.0.0","chai":"^3.0.0","es6-promise":"^4.0.5","istanbul":"git://github.com/gotwarlost/istanbul.git#harmony","mocha":"^3.1.2","pre-commit":"^1.0.7","regenerator":"^0.9.0","standard":"^8.5.0","testem":"^1.13.0","traceur":"0.0.111"},"standard":{"ignore":["coverage/**","node_modules/**","bower_components/**","co-mocha.js"]},"dependencies":{"co":"^4.0.0","is-generator":"^1.0.1"},"peerDependencies":{"mocha":">=1.18 <4"},"gitHead":"629d98852833a98aaee4551f049e22ecfd6685cc","_id":"co-mocha@1.2.0","_shasum":"d9be35a2a2d16f4b1b0e83f6973401ca4b6660af","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"d9be35a2a2d16f4b1b0e83f6973401ca4b6660af","size":5795,"noattachment":false,"key":"/co-mocha/-/co-mocha-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mocha/download/co-mocha-1.2.0.tgz"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/co-mocha-1.2.0.tgz_1485319461204_0.6980975323822349"},"directories":{},"publish_time":1485319462921,"_cnpm_publish_time":1485319462921,"_hasShrinkwrap":false},"1.1.3":{"name":"co-mocha","version":"1.1.3","description":"Enable support for generators in Mocha tests","main":"lib/co-mocha.js","files":["co-mocha.js","lib/","LICENSE"],"browser":{"path":false},"scripts":{"lint":"standard","build":"browserify lib/co-mocha.js -s co-mocha -o co-mocha.js","test-spec":"mocha --harmony -R spec --require lib/co-mocha.js --bail","test-cov":"testem ci -l Firefox,Node","test":"npm run lint && npm run build && npm run test-cov"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"keywords":["co","mocha","harmony","generators"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"homepage":"https://github.com/blakeembrey/co-mocha","devDependencies":{"browserify":"^10.2.4","chai":"^3.0.0","es6-promise":"^2.3.0","istanbul":"git://github.com/gotwarlost/istanbul.git#harmony","mocha":"^2.2.5","pre-commit":"^1.0.7","regenerator":"^0.8.26","standard":"^3.11.1","testem":"^0.8.3","traceur":"0.0.89"},"standard":{"ignore":["coverage/**","node_modules/**","bower_components/**","co-mocha.js"]},"dependencies":{"co":"^4.0.0","is-generator":"^1.0.1"},"peerDependencies":{"mocha":">=1.18 <4"},"gitHead":"74b770e0ddc8f648e300cac7a63d8f3cf707240d","_id":"co-mocha@1.1.3","_shasum":"49bb9c85bcd17e3250f8b84b875dc76668bc41dc","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"49bb9c85bcd17e3250f8b84b875dc76668bc41dc","size":5758,"noattachment":false,"key":"/co-mocha/-/co-mocha-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mocha/download/co-mocha-1.1.3.tgz"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/co-mocha-1.1.3.tgz_1470092987358_0.21582962106913328"},"directories":{},"publish_time":1470092987601,"_cnpm_publish_time":1470092987601,"_hasShrinkwrap":false},"1.1.2":{"name":"co-mocha","version":"1.1.2","description":"Enable support for generators in Mocha tests","main":"lib/co-mocha.js","files":["co-mocha.js","lib/","LICENSE"],"browser":{"path":false},"scripts":{"lint":"standard","build":"browserify lib/co-mocha.js -s co-mocha -o co-mocha.js","test-spec":"mocha --harmony -R spec --require lib/co-mocha.js --bail","test-cov":"testem ci -l Firefox,Node","test":"npm run lint && npm run build && npm run test-cov"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"keywords":["co","mocha","harmony","generators"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"homepage":"https://github.com/blakeembrey/co-mocha","devDependencies":{"browserify":"^10.2.4","chai":"^3.0.0","es6-promise":"^2.3.0","istanbul":"git://github.com/gotwarlost/istanbul#harmony","mocha":"^2.2.5","pre-commit":"^1.0.7","regenerator":"^0.8.26","standard":"^3.11.1","testem":"^0.8.3","traceur":"0.0.89"},"standard":{"ignore":["coverage/**","node_modules/**","bower_components/**","co-mocha.js"]},"dependencies":{"co":"^4.0.0","is-generator":"^1.0.1"},"peerDependencies":{"mocha":">=1.18 <3"},"gitHead":"bd58e621b1fd1f927ee936199f3ccadb780dd5f3","_id":"co-mocha@1.1.2","_shasum":"cb8e8e6963faeab3a923584cdee8e17c03d4d44a","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"dist":{"shasum":"cb8e8e6963faeab3a923584cdee8e17c03d4d44a","size":5787,"noattachment":false,"key":"/co-mocha/-/co-mocha-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mocha/download/co-mocha-1.1.2.tgz"},"directories":{},"publish_time":1434469876560,"_cnpm_publish_time":1434469876560,"_hasShrinkwrap":false},"1.1.1":{"name":"co-mocha","version":"1.1.1","description":"Enable support for generators in Mocha tests","main":"lib/co-mocha.js","files":["co-mocha.js","lib/","LICENSE"],"browser":{"path":false},"scripts":{"lint":"standard","build":"browserify lib/co-mocha.js -s co-mocha -o co-mocha.js","test-spec":"mocha -R spec --require lib/co-mocha.js --bail","test-cov":"testem ci -l Firefox,Node","test":"npm run lint && npm run build && npm run test-cov"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"keywords":["co","mocha","harmony","generators"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"homepage":"https://github.com/blakeembrey/co-mocha","devDependencies":{"browserify":"^10.2.4","chai":"^3.0.0","es6-promise":"^2.3.0","istanbul":"git://github.com/gotwarlost/istanbul#harmony","mocha":"^2.2.5","pre-commit":"^1.0.7","regenerator":"^0.8.26","standard":"^3.11.1","testem":"^0.8.3","traceur":"0.0.89"},"standard":{"ignore":["coverage/**","node_modules/**","bower_components/**","co-mocha.js"]},"dependencies":{"co":"^4.0.0","is-generator":"^1.0.1"},"peerDependencies":{"mocha":">=1.18 <3"},"gitHead":"5fe3bdb1bbba21efa624431ab1a7e5d6019347d7","_id":"co-mocha@1.1.1","_shasum":"ca1af9541cfe670af81fb00ed2fbb1ed0603dc0f","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"dist":{"shasum":"ca1af9541cfe670af81fb00ed2fbb1ed0603dc0f","size":4767,"noattachment":false,"key":"/co-mocha/-/co-mocha-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mocha/download/co-mocha-1.1.1.tgz"},"directories":{},"publish_time":1434445672490,"_cnpm_publish_time":1434445672490,"_hasShrinkwrap":false},"1.1.0":{"name":"co-mocha","version":"1.1.0","description":"Enable support for generators in Mocha tests","main":"co-mocha.js","scripts":{"test":"node --harmony-generators node_modules/.bin/istanbul cover _mocha -- -R spec"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"keywords":["co","mocha","harmony","generators"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"homepage":"https://github.com/blakeembrey/co-mocha","devDependencies":{"bluebird":"^2.3.2","istanbul":"git://github.com/gotwarlost/istanbul#harmony","mocha":"^1.18.2","regenerator":"^0.4.12","traceur":"0.0.58"},"dependencies":{"co":"^4.0.0","is-generator":"^1.0.0"},"peerDependencies":{"mocha":">=1.18 <3"},"gitHead":"37bf86c6a18d460a05de097af33209d040161a25","_id":"co-mocha@1.1.0","_shasum":"d6a965416254049cb4bce84a2de4b99cdb159e77","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"dist":{"shasum":"d6a965416254049cb4bce84a2de4b99cdb159e77","size":3572,"noattachment":false,"key":"/co-mocha/-/co-mocha-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mocha/download/co-mocha-1.1.0.tgz"},"directories":{},"publish_time":1416238866991,"_cnpm_publish_time":1416238866991,"_hasShrinkwrap":false},"1.0.3":{"name":"co-mocha","version":"1.0.3","description":"Enable support for generators in Mocha tests","main":"co-mocha.js","scripts":{"test":"node --harmony-generators node_modules/.bin/istanbul cover _mocha -- -R spec"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"keywords":["co","mocha","harmony","generators"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"homepage":"https://github.com/blakeembrey/co-mocha","devDependencies":{"bluebird":"^2.3.2","istanbul":"git://github.com/gotwarlost/istanbul#harmony","mocha":"^1.18.2","regenerator":"^0.4.12","traceur":"0.0.58"},"dependencies":{"co":"3.x","is-generator":"^1.0.0"},"peerDependencies":{"mocha":">=1.18 <3"},"_id":"co-mocha@1.0.3","_shasum":"ee1442f85b3083863d49a30a46900c27322c89d6","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"dist":{"shasum":"ee1442f85b3083863d49a30a46900c27322c89d6","size":3575,"noattachment":false,"key":"/co-mocha/-/co-mocha-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mocha/download/co-mocha-1.0.3.tgz"},"directories":{},"publish_time":1414511344068,"_cnpm_publish_time":1414511344068,"_hasShrinkwrap":false},"1.0.2":{"name":"co-mocha","version":"1.0.2","description":"Enable support for generators in Mocha tests","main":"co-mocha.js","scripts":{"test":"node --harmony-generators node_modules/.bin/istanbul cover _mocha -- -R spec"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"keywords":["co","mocha","harmony","generators"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"homepage":"https://github.com/blakeembrey/co-mocha","devDependencies":{"bluebird":"^2.3.2","istanbul":"git://github.com/gotwarlost/istanbul#harmony","mocha":"^1.18.2","regenerator":"^0.4.12","traceur":"0.0.58"},"dependencies":{"co":"3.x","is-generator":"^1.0.0"},"peerDependencies":{"mocha":">=1.18 <3"},"_id":"co-mocha@1.0.2","_shasum":"25bc79f77863ec1c2e7c54a1e50012f7cd7ce5b9","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"dist":{"shasum":"25bc79f77863ec1c2e7c54a1e50012f7cd7ce5b9","size":3567,"noattachment":false,"key":"/co-mocha/-/co-mocha-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mocha/download/co-mocha-1.0.2.tgz"},"directories":{},"publish_time":1413955803514,"_cnpm_publish_time":1413955803514,"_hasShrinkwrap":false},"1.0.1":{"name":"co-mocha","version":"1.0.1","description":"Enable support for generators in Mocha tests","main":"co-mocha.js","scripts":{"test":"node --harmony-generators node_modules/.bin/istanbul cover _mocha -- -R spec"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"keywords":["co","mocha","harmony","generators"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"homepage":"https://github.com/blakeembrey/co-mocha","devDependencies":{"bluebird":"^2.3.2","istanbul":"git://github.com/gotwarlost/istanbul#harmony","mocha":"^1.18.2","regenerator":"^0.4.12","traceur":"0.0.58"},"dependencies":{"co":"3.x","is-generator":"^1.0.0"},"peerDependencies":{"mocha":">=1.18 <2"},"gitHead":"cbb1eaf6c37140560a27dcd72bf0a7febc6b84c6","_id":"co-mocha@1.0.1","_shasum":"2ceb425390dc7677f735f9574d8f9399e3f3642e","_from":".","_npmVersion":"2.0.0-beta.0","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"dist":{"shasum":"2ceb425390dc7677f735f9574d8f9399e3f3642e","size":3565,"noattachment":false,"key":"/co-mocha/-/co-mocha-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mocha/download/co-mocha-1.0.1.tgz"},"directories":{},"publish_time":1409600135341,"_cnpm_publish_time":1409600135341,"_hasShrinkwrap":false},"1.0.0":{"name":"co-mocha","version":"1.0.0","description":"Enable support for generators in Mocha tests","main":"co-mocha.js","scripts":{"test":"node --harmony-generators node_modules/.bin/istanbul cover _mocha -- -R spec"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"keywords":["co","mocha","harmony","generators"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"homepage":"https://github.com/blakeembrey/co-mocha","devDependencies":{"istanbul":"git://github.com/gotwarlost/istanbul#harmony","mocha":"^1.18.2","regenerator":"^0.4.7","traceur":"0.0.58"},"dependencies":{"bluebird":"^2.3.0","co":"3.x","is-generator":"^1.0.0"},"peerDependencies":{"mocha":">=1.18 <2"},"gitHead":"c74dd3426770d3b636868b625db8eb36c96660a0","_id":"co-mocha@1.0.0","_shasum":"7c6aa4c915e4a34efda29b7c38f9695082af6571","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"dist":{"shasum":"7c6aa4c915e4a34efda29b7c38f9695082af6571","size":3780,"noattachment":false,"key":"/co-mocha/-/co-mocha-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mocha/download/co-mocha-1.0.0.tgz"},"directories":{},"publish_time":1408304842701,"_cnpm_publish_time":1408304842701,"_hasShrinkwrap":false},"0.0.4":{"name":"co-mocha","version":"0.0.4","description":"Enable support for generators in Mocha tests","main":"co-mocha.js","scripts":{"test":"node --harmony-generators node_modules/.bin/istanbul cover _mocha --require . -- -R spec"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"keywords":["co","mocha","harmony","generators"],"author":{"name":"Blake Embrey"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"homepage":"https://github.com/blakeembrey/co-mocha","devDependencies":{"bluebird":"^1.2.4","istanbul":"git://github.com/gotwarlost/istanbul#harmony","mocha":"^1.18.2","regenerator":"^0.4.7","traceur":"0.0.39"},"dependencies":{"co":"3.x","is-generator":"0.0.4","is-promise":"^1.0.0"},"peerDependencies":{"mocha":"1.x"},"_id":"co-mocha@0.0.4","_shasum":"da6843655e953e35e8918ca51d0ae9ca32fbec4b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"dist":{"shasum":"da6843655e953e35e8918ca51d0ae9ca32fbec4b","size":3236,"noattachment":false,"key":"/co-mocha/-/co-mocha-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mocha/download/co-mocha-0.0.4.tgz"},"directories":{},"publish_time":1399329965178,"_cnpm_publish_time":1399329965178,"_hasShrinkwrap":false},"0.0.3":{"name":"co-mocha","version":"0.0.3","description":"Enable support for generators in Mocha tests","main":"co-mocha.js","scripts":{"test":"node --harmony-generators node_modules/.bin/istanbul cover _mocha --require . -- -R spec"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"keywords":["co","mocha","harmony","generators"],"author":{"name":"Blake Embrey"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"homepage":"https://github.com/blakeembrey/co-mocha","devDependencies":{"bluebird":"^1.2.4","istanbul":"git://github.com/gotwarlost/istanbul#harmony","mocha":"^1.18.2","regenerator":"^0.4.7","traceur":"0.0.39"},"dependencies":{"co":"3.x","is-generator":"0.0.4","is-promise":"^1.0.0"},"peerDependencies":{"mocha":"1.x"},"_id":"co-mocha@0.0.3","_shasum":"aa793dfa33878a708509ff19d9b43002ed4b4e9f","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"dist":{"shasum":"aa793dfa33878a708509ff19d9b43002ed4b4e9f","size":3184,"noattachment":false,"key":"/co-mocha/-/co-mocha-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mocha/download/co-mocha-0.0.3.tgz"},"directories":{},"publish_time":1399276050762,"_cnpm_publish_time":1399276050762,"_hasShrinkwrap":false},"0.0.2":{"name":"co-mocha","version":"0.0.2","description":"Enable support for generators in Mocha tests","main":"co-mocha.js","scripts":{"test":"node --harmony-generators node_modules/.bin/istanbul cover _mocha --require . -- -R spec"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"keywords":["co","mocha","harmony","generators"],"author":{"name":"Blake Embrey"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"homepage":"https://github.com/blakeembrey/co-mocha","devDependencies":{"mocha":"~1.17.0","istanbul":"git://github.com/gotwarlost/istanbul#harmony"},"dependencies":{"co":"3.x"},"peerDependencies":{"mocha":"1.x"},"_id":"co-mocha@0.0.2","dist":{"shasum":"f1d22cf4250b51e9c50e12c061dd8d3e3f76940c","size":1993,"noattachment":false,"key":"/co-mocha/-/co-mocha-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mocha/download/co-mocha-0.0.2.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"directories":{},"publish_time":1393866409992,"_hasShrinkwrap":false,"_cnpm_publish_time":1393866409992},"0.0.1":{"name":"co-mocha","version":"0.0.1","description":"Enable support for generators in Mocha tests","main":"co-mocha.js","scripts":{"test":"node --harmony-generators node_modules/.bin/istanbul cover _mocha --require . -- -R spec"},"repository":{"type":"git","url":"git://github.com/blakeembrey/co-mocha.git"},"keywords":["co","mocha","harmony","generators"],"author":{"name":"Blake Embrey"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"homepage":"https://github.com/blakeembrey/co-mocha","devDependencies":{"mocha":"~1.17.0","istanbul":"git://github.com/gotwarlost/istanbul#harmony"},"dependencies":{"co":"3.x"},"peerDependencies":{"mocha":"1.x"},"_id":"co-mocha@0.0.1","dist":{"shasum":"388d0c21c2976f3c9745f0d069030475ea7e3fef","size":1939,"noattachment":false,"key":"/co-mocha/-/co-mocha-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mocha/download/co-mocha-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"maintainers":[{"name":"npm:blakeembrey","email":""}],"directories":{},"publish_time":1391629530982,"_hasShrinkwrap":false,"_cnpm_publish_time":1391629530982}},"readme":"# Co Mocha\n\n[![NPM version][npm-image]][npm-url]\n[![NPM downloads][downloads-image]][downloads-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![Greenkeeper badge](https://badges.greenkeeper.io/blakeembrey/co-mocha.svg)](https://greenkeeper.io/)\n\nEnable support for generators in Mocha tests using [co](https://github.com/visionmedia/co).\n\nUse the `--harmony-generators` flag when running node 0.11.x to access generator functions, or transpile your tests using [traceur](https://github.com/google/traceur-compiler) or [regenerator](https://github.com/facebook/regenerator).\n\n## Installation\n\n```\nnpm install co-mocha --save-dev\n```\n\n## Usage\n\nJust require the module in your tests and start writing generators in your tests.\n\n```js\nit('should do something', function * () {\n  yield users.load(123)\n})\n```\n\n### Node\n\nInstall the module using `npm install co-mocha --save-dev`. Now just require the module to automatically monkey patch any available `mocha` instances. With `mocha`, you have multiple ways of requiring the module - add `--require co-mocha` to your `mocha.opts` or add `require('co-mocha')` inside your main test file.\n\nIf you need to monkey patch a different mocha instance you can use the library directly:\n\n```js\nvar mocha = require('mocha')\nvar coMocha = require('co-mocha')\n\ncoMocha(mocha)\n```\n\n### `<script>` Tag\n\n```html\n<script src=\"co-mocha.js\"></script>\n```\n\nIncluding the browserified script will automatically patch `window.Mocha`. Just make sure you include it after `mocha.js`. If that is not possible the library exposes `window.coMocha`, which can be used (`window.coMocha(window.Mocha)`).\n\n### AMD\n\nSame details as the script, but using AMD requires instead.\n\n## How It Works\n\nThe module monkey patches the `Runnable.prototype.run` method of `mocha` to enable generators. In contrast to other npm packages, `co-mocha` extends `mocha` at runtime - allowing you to use any compatible mocha version.\n\n## License\n\nMIT\n\n[npm-image]: https://img.shields.io/npm/v/co-mocha.svg?style=flat\n[npm-url]: https://npmjs.org/package/co-mocha\n[downloads-image]: https://img.shields.io/npm/dm/co-mocha.svg?style=flat\n[downloads-url]: https://npmjs.org/package/co-mocha\n[travis-image]: https://img.shields.io/travis/blakeembrey/co-mocha.svg?style=flat\n[travis-url]: https://travis-ci.org/blakeembrey/co-mocha\n[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/co-mocha.svg?style=flat\n[coveralls-url]: https://coveralls.io/r/blakeembrey/co-mocha?branch=master\n","_attachments":{},"homepage":"https://github.com/blakeembrey/co-mocha","bugs":{"url":"https://github.com/blakeembrey/co-mocha/issues"},"license":"MIT"}