{"_id":"co-mysql","_rev":"432153","name":"co-mysql","description":"a mysql wrapper for co or koa","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"zhaoda","email":"zd6437@gmail.com"}],"time":{"modified":"2021-08-05T05:48:00.000Z","created":"2013-12-19T06:43:02.283Z","1.0.0":"2014-11-13T15:52:37.603Z","0.4.1":"2014-04-09T08:47:25.550Z","0.4.0":"2014-04-09T08:27:03.748Z","0.3.1":"2014-04-02T10:34:58.777Z","0.3.0":"2014-04-01T11:56:08.165Z","0.2.0":"2014-01-13T08:45:50.352Z","0.0.3":"2013-12-23T02:30:39.355Z","0.0.2":"2013-12-23T02:08:00.980Z","0.0.1":"2013-12-19T06:43:02.283Z"},"users":{"zhaoda":true,"adamlu":true,"yerhu":true,"kaerimichi":true,"iori20091101":true},"author":{"name":"haoxin"},"repository":{"type":"git","url":"git://github.com/coderhaoxin/co-mysql.git"},"versions":{"1.0.0":{"name":"co-mysql","version":"1.0.0","description":"a mysql wrapper for co or koa","main":"index.js","scripts":{"test":"mocha --harmony -R spec -t 5000 test/*.js","test-cov":"node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -R dot -t 5000 test/*.js","test-travis":"node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- -R dot -t 5000 test/*.js"},"repository":{"type":"git","url":"git://github.com/coderhaoxin/co-mysql.git"},"keywords":["generator","promise","yield","mysql","koa","co"],"files":["index.js"],"engines":{"node":"> 0.11.13"},"author":{"name":"haoxin"},"license":"MIT","bugs":{"url":"https://github.com/coderhaoxin/co-mysql/issues"},"homepage":"https://github.com/coderhaoxin/co-mysql","devDependencies":{"co":"*","istanbul-harmony":"*","mocha":"*","mysql":"*"},"directories":{"test":"test"},"gitHead":"a20896d5a037c9bb0c638f7c9ed47a849f428a15","_id":"co-mysql@1.0.0","_shasum":"9f42a485d301ac5a996e376507ba6f17d377c4a1","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"coderhaoxin","email":"coderhaoxin@outlook.com"},"maintainers":[{"name":"zhaoda","email":"zd6437@gmail.com"}],"dist":{"shasum":"9f42a485d301ac5a996e376507ba6f17d377c4a1","size":1250,"noattachment":false,"key":"/co-mysql/-/co-mysql-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mysql/download/co-mysql-1.0.0.tgz"},"publish_time":1415893957603,"_cnpm_publish_time":1415893957603,"_hasShrinkwrap":false},"0.4.1":{"name":"co-mysql","version":"0.4.1","description":"a mysql wrapper for co or koa","main":"index.js","scripts":{"test":"mocha --harmony"},"repository":{"type":"git","url":"git://github.com/coderhaoxin/co-mysql.git"},"keywords":["mysql","koa","co","yield","generator"],"engines":{"node":"> 0.11.11"},"author":{"name":"haoxin"},"license":"MIT","bugs":{"url":"https://github.com/coderhaoxin/co-mysql/issues"},"homepage":"https://github.com/coderhaoxin/co-mysql","dependencies":{"mysql":"*"},"devDependencies":{"co":"*","should":"*"},"directories":{"test":"test"},"_id":"co-mysql@0.4.1","dist":{"shasum":"7273ebff27681c03c38af980bc7e28f78a7b1939","size":1017,"noattachment":false,"key":"/co-mysql/-/co-mysql-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mysql/download/co-mysql-0.4.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"coderhaoxin","email":"coderhaoxin@outlook.com"},"maintainers":[{"name":"zhaoda","email":"zd6437@gmail.com"}],"publish_time":1397033245550,"_cnpm_publish_time":1397033245550,"_hasShrinkwrap":false},"0.4.0":{"name":"co-mysql","version":"0.4.0","description":"a mysql wrapper for co or koa","main":"index.js","scripts":{"test":"mocha --harmony"},"repository":{"type":"git","url":"git://github.com/coderhaoxin/co-mysql.git"},"keywords":["mysql","koa","co","yield","generator"],"engines":{"node":"> 0.11.11"},"author":{"name":"haoxin"},"license":"MIT","bugs":{"url":"https://github.com/coderhaoxin/co-mysql/issues"},"homepage":"https://github.com/coderhaoxin/co-mysql","dependencies":{"mysql":"*"},"devDependencies":{"co":"*","should":"*"},"directories":{"test":"test"},"_id":"co-mysql@0.4.0","dist":{"shasum":"d26b68f41bc39553c1c4c814e49672bd9e3f16bd","size":1064,"noattachment":false,"key":"/co-mysql/-/co-mysql-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mysql/download/co-mysql-0.4.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"coderhaoxin","email":"coderhaoxin@outlook.com"},"maintainers":[{"name":"zhaoda","email":"zd6437@gmail.com"}],"publish_time":1397032023748,"_cnpm_publish_time":1397032023748,"_hasShrinkwrap":false},"0.3.1":{"name":"co-mysql","version":"0.3.1","description":"a mysql wrapper for co or koa","main":"index.js","scripts":{"test":"mocha --harmony"},"repository":{"type":"git","url":"git://github.com/coderhaoxin/co-mysql.git"},"keywords":["mysql","koa","co","yield","generator"],"engines":{"node":"> 0.11.11"},"author":{"name":"haoxin"},"license":"MIT","bugs":{"url":"https://github.com/coderhaoxin/co-mysql/issues"},"homepage":"https://github.com/coderhaoxin/co-mysql","dependencies":{"mysql":"*"},"devDependencies":{"co":"*","should":"*"},"directories":{"test":"test"},"_id":"co-mysql@0.3.1","dist":{"shasum":"5ebbd6ac20da7a90dda200cba50a6e24a160d196","size":1974,"noattachment":false,"key":"/co-mysql/-/co-mysql-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mysql/download/co-mysql-0.3.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"coderhaoxin","email":"coderhaoxin@outlook.com"},"maintainers":[{"name":"zhaoda","email":"zd6437@gmail.com"}],"publish_time":1396434898777,"_cnpm_publish_time":1396434898777,"_hasShrinkwrap":false},"0.3.0":{"name":"co-mysql","version":"0.3.0","description":"a mysql wrapper for co or koa","main":"index.js","scripts":{"test":"mocha --harmony"},"repository":{"type":"git","url":"git://github.com/coderhaoxin/co-mysql.git"},"keywords":["mysql","koa","co","yield","generator"],"engines":{"node":"> 0.11.11"},"author":{"name":"haoxin"},"license":"MIT","bugs":{"url":"https://github.com/coderhaoxin/co-mysql/issues"},"homepage":"https://github.com/coderhaoxin/co-mysql","dependencies":{"mysql":"*"},"devDependencies":{"co":"*","should":"*"},"directories":{"test":"test"},"_id":"co-mysql@0.3.0","dist":{"shasum":"92c161eb39432335f972015635fa51fb91e2ac6c","size":1569,"noattachment":false,"key":"/co-mysql/-/co-mysql-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mysql/download/co-mysql-0.3.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"coderhaoxin","email":"coderhaoxin@outlook.com"},"maintainers":[{"name":"zhaoda","email":"zd6437@gmail.com"}],"publish_time":1396353368165,"_cnpm_publish_time":1396353368165,"_hasShrinkwrap":false},"0.2.0":{"name":"co-mysql","version":"0.2.0","description":"a mysql wrapper for co or koa","main":"index.js","scripts":{"test":"mocha --harmony"},"repository":{"type":"git","url":"git://github.com/coderhaoxin/co-mysql.git"},"keywords":["mysql","koa","co","yield","generator"],"engines":{"node":"> 0.11.9"},"author":{"name":"haoxin"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/coderhaoxin/co-mysql/issues"},"homepage":"https://github.com/coderhaoxin/co-mysql","dependencies":{"mysql":"*"},"devDependencies":{"co":"*","should":"*"},"directories":{"test":"test"},"readmeFilename":"README.md","_id":"co-mysql@0.2.0","dist":{"shasum":"74413a61364d01be0df5459d6280995a2ad046ab","size":1368,"noattachment":false,"key":"/co-mysql/-/co-mysql-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mysql/download/co-mysql-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"coderhaoxin","email":"coderhaoxin@outlook.com"},"maintainers":[{"name":"zhaoda","email":"zd6437@gmail.com"}],"publish_time":1389602750352,"_cnpm_publish_time":1389602750352,"_hasShrinkwrap":false},"0.0.3":{"name":"co-mysql","version":"0.0.3","description":"mysql wrappers for co","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/coderhaoxin/co-mysql.git"},"keywords":["mysql","co","yield"],"engines":{"node":"> 0.11.8"},"author":{"name":"haoxin"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/coderhaoxin/co-mysql/issues"},"homepage":"https://github.com/coderhaoxin/co-mysql","dependencies":{"mysql":"~2.0.0-rc2"},"devDependencies":{},"readmeFilename":"README.md","_id":"co-mysql@0.0.3","dist":{"shasum":"540ed035e981ea26f7accbc812bb764d769d3fb3","size":1135,"noattachment":false,"key":"/co-mysql/-/co-mysql-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mysql/download/co-mysql-0.0.3.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"coderhaoxin","email":"coderhaoxin@outlook.com"},"maintainers":[{"name":"zhaoda","email":"zd6437@gmail.com"}],"directories":{},"publish_time":1387765839355,"_cnpm_publish_time":1387765839355,"_hasShrinkwrap":false},"0.0.2":{"name":"co-mysql","version":"0.0.2","description":"mysql wrappers for co","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/coderhaoxin/co-mysql.git"},"keywords":["mysql","co","yield"],"engines":{"node":"> 0.11.8"},"author":{"name":"haoxin"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/coderhaoxin/co-mysql/issues"},"homepage":"https://github.com/coderhaoxin/co-mysql","readmeFilename":"README.md","_id":"co-mysql@0.0.2","dist":{"shasum":"39fcbaa42a023eb58eee65d99e928290eaf5e2a4","size":1159,"noattachment":false,"key":"/co-mysql/-/co-mysql-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mysql/download/co-mysql-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"coderhaoxin","email":"coderhaoxin@outlook.com"},"maintainers":[{"name":"zhaoda","email":"zd6437@gmail.com"}],"directories":{},"publish_time":1387764480980,"_cnpm_publish_time":1387764480980,"_hasShrinkwrap":false},"0.0.1":{"name":"co-mysql","version":"0.0.1","description":"mysql wrappers for co","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/coderhaoxin/co-mysql.git"},"keywords":["mysql","co","yield"],"engines":{"node":"> 0.11.8"},"author":{"name":"haoxin"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/coderhaoxin/co-mysql/issues"},"homepage":"https://github.com/coderhaoxin/co-mysql","readmeFilename":"README.md","_id":"co-mysql@0.0.1","dist":{"shasum":"d4bac1c37bd0c5d5dfdf58d89a27876398024520","size":1057,"noattachment":false,"key":"/co-mysql/-/co-mysql-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/co-mysql/download/co-mysql-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"coderhaoxin","email":"coderhaoxin@outlook.com"},"maintainers":[{"name":"zhaoda","email":"zd6437@gmail.com"}],"directories":{},"publish_time":1387435382283,"_cnpm_publish_time":1387435382283,"_hasShrinkwrap":false}},"readme":"### Please use modules `thunkify` or `promisify` directly.\n\n[![NPM version][npm-img]][npm-url]\n[![Build status][travis-img]][travis-url]\n[![Test coverage][coveralls-img]][coveralls-url]\n[![License][license-img]][license-url]\n[![Dependency status][david-img]][david-url]\n\n[npm-img]: https://img.shields.io/npm/v/co-mysql.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/co-mysql\n[travis-img]: https://img.shields.io/travis/coderhaoxin/co-mysql.svg?style=flat-square\n[travis-url]: https://travis-ci.org/coderhaoxin/co-mysql\n[coveralls-img]: https://img.shields.io/coveralls/coderhaoxin/co-mysql.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/coderhaoxin/co-mysql?branch=master\n[license-img]: https://img.shields.io/badge/license-MIT-green.svg?style=flat-square\n[license-url]: http://opensource.org/licenses/MIT\n[david-img]: https://img.shields.io/david/coderhaoxin/co-mysql.svg?style=flat-square\n[david-url]: https://david-dm.org/coderhaoxin/co-mysql\n\n### usage\n\n```js\nvar wrapper = require('co-mysql'),\n  mysql = require('mysql'),\n  co = require('co');\n\nvar pool = mysql.createPool(options),\n  p = wrapper(pool);\n\n// promise\np.query('SELECT 1').then(...).catch(...);\n\n// co\nco(function*() {\n  var rows = yield p.query('SELECT 1');\n})();\n```\n\n### License\nMIT\n","_attachments":{},"homepage":"https://github.com/coderhaoxin/co-mysql","bugs":{"url":"https://github.com/coderhaoxin/co-mysql/issues"},"license":"MIT"}