{"_id":"koa-locales","_rev":"1213478","name":"koa-locales","description":"koa locales, i18n solution for koa","dist-tags":{"latest":"1.12.0"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"time":{"modified":"2021-10-13T05:46:47.000Z","created":"2015-05-16T14:10:32.592Z","1.12.0":"2019-06-16T13:52:35.998Z","1.11.0":"2019-04-30T12:11:27.163Z","1.10.0":"2019-04-29T08:53:21.730Z","1.9.0":"2019-04-17T02:44:06.931Z","1.8.0":"2018-01-12T03:46:52.118Z","1.7.0":"2017-04-27T08:17:38.477Z","1.6.0":"2017-04-27T08:08:47.131Z","1.5.2":"2017-01-13T06:41:11.750Z","1.5.1":"2016-05-20T16:40:52.640Z","1.5.0":"2016-03-16T12:12:36.840Z","1.4.4":"2015-12-23T02:49:05.753Z","1.4.3":"2015-12-09T10:26:46.739Z","1.4.2":"2015-09-20T14:54:20.135Z","1.4.0":"2015-09-17T15:41:41.107Z","1.3.1":"2015-09-14T17:11:46.534Z","1.3.0":"2015-09-14T09:40:47.106Z","1.2.0":"2015-08-30T17:29:49.038Z","1.1.0":"2015-07-16T07:47:15.988Z","1.0.2":"2015-05-17T13:54:53.603Z","1.0.1":"2015-05-16T14:26:34.340Z","1.0.0":"2015-05-16T14:10:32.592Z"},"users":{},"author":{"name":"fengmk2","email":"fengmk2@gmail.com","url":"https://fengmk2.com"},"repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"versions":{"1.12.0":{"name":"koa-locales","version":"1.12.0","description":"koa locales, i18n solution for koa","main":"index.js","scripts":{"test":"eslint . && mocha -R spec -t 5000 test/*.test.js","cov":"istanbul cover _mocha -- -t 5000 test/*.test.js","lint":"eslint .","ci":"npm run lint && npm run cov","autod":"autod -w --prefix '^'","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"^2.6.0","humanize-ms":"^1.2.0","ini":"^1.3.4","object-assign":"^4.1.0"},"devDependencies":{"autod":"2","beautify-benchmark":"^0.2.4","benchmark":"^2.1.3","contributors":"*","egg-ci":"^1.1.0","eslint":"1","istanbul":"*","koa":"^1.2.4","mm":"^2.0.0","mocha":"4","pedding":"^1.1.0","supertest":"^2.0.1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=4.0.0"},"ci":{"version":"4, 6, 8, 10, 12"},"author":{"name":"fengmk2","email":"fengmk2@gmail.com","url":"https://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"},{"name":"ermin.zem","email":"harbin1053020115@gmail.com"}],"gitHead":"8963af3a0a90f66fa949353583f0172aa61e3b8e","_id":"koa-locales@1.12.0","_npmVersion":"5.8.0","_nodeVersion":"10.15.1","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"0c2a7082947a9263afc25ba73b68af6a2201f09d","size":6581,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.12.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.12.0.tgz"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-locales_1.12.0_1560693155875_0.1948865803937705"},"_hasShrinkwrap":false,"publish_time":1560693155998,"_cnpm_publish_time":1560693155998},"1.11.0":{"name":"koa-locales","version":"1.11.0","description":"koa locales, i18n solution for koa","main":"index.js","scripts":{"test":"eslint . && mocha -R spec -t 5000 test/*.test.js","cov":"istanbul cover _mocha -- -t 5000 test/*.test.js","lint":"eslint .","ci":"npm run lint && npm run cov","autod":"autod -w --prefix '^'","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"^2.6.0","humanize-ms":"^1.2.0","ini":"^1.3.4","object-assign":"^4.1.0"},"devDependencies":{"autod":"2","beautify-benchmark":"^0.2.4","benchmark":"^2.1.3","contributors":"*","egg-ci":"^1.1.0","eslint":"1","istanbul":"*","koa":"^1.2.4","mm":"^2.0.0","mocha":"4","pedding":"^1.1.0","supertest":"^2.0.1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=4.0.0"},"ci":{"version":"4, 6, 8, 10, 12"},"author":{"name":"fengmk2","email":"fengmk2@gmail.com","url":"https://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"},{"name":"ermin.zem","email":"harbin1053020115@gmail.com"}],"gitHead":"6d00106b6340b57b465a0632eac6abab2f70c7d1","_id":"koa-locales@1.11.0","_npmVersion":"5.8.0","_nodeVersion":"10.15.1","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"facb4a9fc16a1ef790429727ab62aa250fac27d5","size":6287,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.11.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.11.0.tgz"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-locales_1.11.0_1556626287057_0.1847374350767923"},"_hasShrinkwrap":false,"publish_time":1556626287163,"_cnpm_publish_time":1556626287163},"1.10.0":{"name":"koa-locales","version":"1.10.0","description":"koa locales, i18n solution for koa","main":"index.js","scripts":{"test":"eslint . && mocha -R spec -t 5000 test/*.test.js","cov":"istanbul cover _mocha -- -t 5000 test/*.test.js","lint":"eslint .","ci":"npm run lint && npm run cov","autod":"autod -w --prefix '^'","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"^2.6.0","humanize-ms":"^1.2.0","ini":"^1.3.4","object-assign":"^4.1.0"},"devDependencies":{"autod":"2","beautify-benchmark":"^0.2.4","benchmark":"^2.1.3","contributors":"*","egg-ci":"^1.1.0","eslint":"1","istanbul":"*","koa":"^1.2.4","mm":"^2.0.0","mocha":"4","pedding":"^1.1.0","supertest":"^2.0.1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=4.0.0"},"ci":{"version":"4, 6, 8, 10, 12"},"author":{"name":"fengmk2","email":"fengmk2@gmail.com","url":"https://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"},{"name":"ermin.zem","email":"harbin1053020115@gmail.com"}],"gitHead":"5b00e90a11429c98d77c5ebfccb4e6711074bee6","_id":"koa-locales@1.10.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"e730c96ff2d6aa42224a025dc220f375dffaf928","size":6181,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.10.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.10.0.tgz"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-locales_1.10.0_1556528001619_0.7816199642488726"},"_hasShrinkwrap":false,"publish_time":1556528001730,"_cnpm_publish_time":1556528001730},"1.9.0":{"name":"koa-locales","version":"1.9.0","description":"koa locales, i18n solution for koa","main":"index.js","scripts":{"test":"eslint . && mocha -R spec -t 5000 test/*.test.js","cov":"istanbul cover _mocha -- -t 5000 test/*.test.js","lint":"eslint .","ci":"npm run lint && npm run cov","autod":"autod -w --prefix '^'","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"^2.6.0","humanize-ms":"^1.2.0","ini":"^1.3.4","object-assign":"^4.1.0"},"devDependencies":{"autod":"2","beautify-benchmark":"^0.2.4","benchmark":"^2.1.3","contributors":"*","egg-ci":"^1.1.0","eslint":"1","istanbul":"*","koa":"^1.2.4","mm":"^2.0.0","mocha":"4","pedding":"^1.1.0","supertest":"^2.0.1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=4.0.0"},"ci":{"version":"4, 6, 8, 10, 11"},"author":{"name":"fengmk2","email":"fengmk2@gmail.com","url":"https://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"},{"name":"ermin.zem","email":"harbin1053020115@gmail.com"}],"gitHead":"86514e3f97b524a32cac84d31b9429709262f91c","_id":"koa-locales@1.9.0","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"dist":{"shasum":"43d0033136c86f7d3ca3c6179f61646f56b53b5a","size":6021,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.9.0.tgz"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-locales_1.9.0_1555469046832_0.6434670756490424"},"_hasShrinkwrap":false,"publish_time":1555469046931,"_cnpm_publish_time":1555469046931},"1.8.0":{"name":"koa-locales","version":"1.8.0","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"eslint . && mocha -R spec -t 5000 test/*.test.js","cov":"istanbul cover _mocha -- -t 5000 test/*.test.js","lint":"eslint .","ci":"npm run lint && npm run cov","autod":"autod -w --prefix '^'","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"^2.6.0","humanize-ms":"^1.2.0","ini":"^1.3.4","object-assign":"^4.1.0"},"devDependencies":{"autod":"2","beautify-benchmark":"^0.2.4","benchmark":"^2.1.3","contributors":"*","egg-ci":"^1.1.0","eslint":"1","istanbul":"*","koa":"^1.2.4","mm":"^2.0.0","mocha":"*","pedding":"^1.1.0","supertest":"^2.0.1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=4.0.0"},"ci":{"version":"4, 6, 7"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"},{"name":"ermin.zem","email":"harbin1053020115@gmail.com"}],"gitHead":"b3c8ab19e5cfe33cfacd97cfe89ed1d5e1457b85","_id":"koa-locales@1.8.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"dist":{"shasum":"e8762e937007a0baf9092ea24c44fab860e394bd","size":5941,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.8.0.tgz"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-locales-1.8.0.tgz_1515728812037_0.1403868068009615"},"directories":{},"publish_time":1515728812118,"_hasShrinkwrap":false,"_cnpm_publish_time":1515728812118},"1.7.0":{"name":"koa-locales","version":"1.7.0","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"eslint . && mocha -R spec -t 5000 test/*.test.js","cov":"istanbul cover _mocha -- -t 5000 test/*.test.js","lint":"eslint .","ci":"npm run lint && npm run cov","autod":"autod -w --prefix '^'","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"^2.6.0","humanize-ms":"^1.2.0","ini":"^1.3.4","object-assign":"^4.1.0"},"devDependencies":{"autod":"2","beautify-benchmark":"^0.2.4","benchmark":"^2.1.3","contributors":"*","egg-ci":"^1.1.0","eslint":"1","istanbul":"*","koa":"^1.2.4","mm":"^2.0.0","mocha":"*","pedding":"^1.1.0","supertest":"^2.0.1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=4.0.0"},"ci":{"version":"4, 6, 7"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"},{"name":"ermin.zem","email":"harbin1053020115@gmail.com"}],"gitHead":"043fab2b973818ae5df5b2769736afccd2e85419","_id":"koa-locales@1.7.0","_shasum":"3e70184fc52daf34ff5fedc6cc270a986ef6440e","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"dist":{"shasum":"3e70184fc52daf34ff5fedc6cc270a986ef6440e","size":5750,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.7.0.tgz"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-locales-1.7.0.tgz_1493281058245_0.25279481266625226"},"directories":{},"publish_time":1493281058477,"_hasShrinkwrap":false,"_cnpm_publish_time":1493281058477},"1.6.0":{"name":"koa-locales","version":"1.6.0","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"eslint . && mocha -R spec -t 5000 test/*.test.js","cov":"istanbul cover _mocha -- -t 5000 test/*.test.js","lint":"eslint .","ci":"npm run lint && npm run cov","autod":"autod -w --prefix '^'","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"^2.6.0","humanize-ms":"^1.2.0","ini":"^1.3.4","object-assign":"^4.1.0"},"devDependencies":{"autod":"2","beautify-benchmark":"^0.2.4","benchmark":"^2.1.3","contributors":"*","egg-ci":"^1.1.0","eslint":"1","istanbul":"*","koa":"^1.2.4","mm":"^2.0.0","mocha":"*","pedding":"^1.1.0","supertest":"^2.0.1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=4.0.0"},"ci":{"version":"4, 6, 7"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"},{"name":"ermin.zem","email":"harbin1053020115@gmail.com"}],"gitHead":"2d9f68ab8c17e84c6cee404970386d46643c18ce","_id":"koa-locales@1.6.0","_shasum":"191f134fc75f7b423ecdac3b32ea4621c59ad7b8","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"dist":{"shasum":"191f134fc75f7b423ecdac3b32ea4621c59ad7b8","size":5034,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.6.0.tgz"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-locales-1.6.0.tgz_1493280526884_0.21664091013371944"},"directories":{},"publish_time":1493280527131,"_hasShrinkwrap":false,"_cnpm_publish_time":1493280527131},"1.5.2":{"name":"koa-locales","version":"1.5.2","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"eslint . && mocha -R spec -t 5000 test/*.test.js","cov":"istanbul cover _mocha -- -t 5000 test/*.test.js","lint":"eslint .","ci":"npm run lint && npm run cov","autod":"autod -w --prefix '^'","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"^2.6.0","humanize-ms":"^1.2.0","ini":"^1.3.4","object-assign":"^4.1.0"},"devDependencies":{"autod":"2","beautify-benchmark":"^0.2.4","benchmark":"^2.1.3","contributors":"*","egg-ci":"^1.1.0","eslint":"1","istanbul":"*","koa":"^1.2.4","mm":"^2.0.0","mocha":"*","pedding":"^1.1.0","supertest":"^2.0.1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=4.0.0"},"ci":{"version":"4, 6, 7"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"},{"name":"ermin.zem","email":"harbin1053020115@gmail.com"}],"gitHead":"6857227777b4263be714f79b6a33f82d19579985","_id":"koa-locales@1.5.2","_shasum":"dd51abfa0813711dac6c2d13d6dbd19485f29c85","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"dist":{"shasum":"dd51abfa0813711dac6c2d13d6dbd19485f29c85","size":4997,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.5.2.tgz"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/koa-locales-1.5.2.tgz_1484289669685_0.13124613440595567"},"directories":{},"publish_time":1484289671750,"_cnpm_publish_time":1484289671750,"_hasShrinkwrap":false},"1.5.1":{"name":"koa-locales","version":"1.5.1","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"eslint . && mocha --check-leaks -R spec -t 5000 test/*.test.js","test-cov":"istanbul cover _mocha -- --check-leaks -t 5000 test/*.test.js","lint":"eslint .","autod":"autod -w --prefix '^'","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"^2.2.0","humanize-ms":"^1.2.0","ini":"^1.3.4","object-assign":"^4.1.0"},"devDependencies":{"autod":"2","beautify-benchmark":"^0.2.4","benchmark":"^2.1.0","contributors":"*","eslint":"1","istanbul":"*","koa":"^1.2.0","mm":"^1.3.5","mocha":"*","pedding":"^1.0.0","supertest":"^1.2.0"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=0.12.0"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"},{"name":"ermin.zem","email":"harbin1053020115@gmail.com"}],"gitHead":"1327118e10e4c93a865bb0452b5cc7ec63120173","_id":"koa-locales@1.5.1","_shasum":"7a66e9e32852cb118969dde3cb2dc8010671251a","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"dist":{"shasum":"7a66e9e32852cb118969dde3cb2dc8010671251a","size":4984,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.5.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-locales-1.5.1.tgz_1463762452171_0.3166713104583323"},"directories":{},"publish_time":1463762452640,"_cnpm_publish_time":1463762452640,"_hasShrinkwrap":false},"1.5.0":{"name":"koa-locales","version":"1.5.0","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"eslint . && mocha --check-leaks -R spec -t 5000 test/*.test.js","test-cov":"istanbul cover _mocha -- --check-leaks -t 5000 test/*.test.js","lint":"eslint .","autod":"autod -w --prefix '~'","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"~2.2.0","humanize-ms":"~1.0.1","ini":"~1.3.4","object-assign":"~4.0.1"},"devDependencies":{"autod":"*","beautify-benchmark":"0","benchmark":"2.0.0","contributors":"*","eslint":"1","istanbul":"*","koa":"1","mm":"1","mocha":"*","pedding":"1","supertest":"1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=0.12.0"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"},{"name":"ermin.zem","email":"harbin1053020115@gmail.com"}],"gitHead":"dc6e8b2f7fa46194123ebdb6cfdc4de3d0cfd37d","_id":"koa-locales@1.5.0","_shasum":"93cfe53c5df79169462c34385cd9dfe7a93508a3","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"dist":{"shasum":"93cfe53c5df79169462c34385cd9dfe7a93508a3","size":4939,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.5.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-locales-1.5.0.tgz_1458130356333_0.8359842468053102"},"directories":{},"publish_time":1458130356840,"_cnpm_publish_time":1458130356840,"_hasShrinkwrap":false},"1.4.4":{"name":"koa-locales","version":"1.4.4","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"eslint . && mocha --check-leaks -R spec -t 5000 test/*.test.js","test-cov":"istanbul cover _mocha -- --check-leaks -t 5000 test/*.test.js","lint":"eslint .","autod":"autod -w --prefix '~'","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"~2.2.0","humanize-ms":"~1.0.1","ini":"~1.3.4","object-assign":"~4.0.1"},"devDependencies":{"autod":"*","beautify-benchmark":"0","benchmark":"1","contributors":"*","eslint":"1","istanbul":"*","koa":"1","mm":"1","mocha":"*","pedding":"1","supertest":"1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=0.12.0"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"},{"name":"ermin.zem","email":"harbin1053020115@gmail.com"}],"gitHead":"0e0cf4fddebb8c952d883349f58bf463b02be327","_id":"koa-locales@1.4.4","_shasum":"c2baa6c80c043a6b8ab3243b27a646094f6b794f","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.1.1","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"dist":{"shasum":"c2baa6c80c043a6b8ab3243b27a646094f6b794f","size":4834,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.4.4.tgz"},"directories":{},"publish_time":1450838945753,"_cnpm_publish_time":1450838945753,"_hasShrinkwrap":false},"1.4.3":{"name":"koa-locales","version":"1.4.3","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"eslint . && mocha --check-leaks -R spec -t 5000 test/*.test.js","test-cov":"istanbul cover _mocha -- --check-leaks -t 5000 test/*.test.js","lint":"eslint .","autod":"autod -w --prefix '~'","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"~2.2.0","humanize-ms":"~1.0.1","ini":"~1.3.4","object-assign":"~4.0.1"},"devDependencies":{"autod":"*","beautify-benchmark":"0","benchmark":"1","contributors":"*","eslint":"1","istanbul":"*","koa":"1","mm":"1","mocha":"*","pedding":"1","supertest":"1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=0.12.0"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"}],"gitHead":"e4679a486d3e54cb44c3f26e31f939fc27c81bd6","_id":"koa-locales@1.4.3","_shasum":"3cf62d730fd5b42f616882a0721fe6533e914857","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.1.1","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"dist":{"shasum":"3cf62d730fd5b42f616882a0721fe6533e914857","size":4797,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.4.3.tgz"},"directories":{},"publish_time":1449656806739,"_cnpm_publish_time":1449656806739,"_hasShrinkwrap":false},"1.4.2":{"name":"koa-locales","version":"1.4.2","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"eslint . && mocha --harmony --check-leaks -R spec -t 5000 test/*.test.js","test-cov":"node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 test/*.test.js","lint":"eslint .","autod":"autod -w --prefix '~'","cnpm":"npm install --registry=https://registry.npm.taobao.org","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"~2.2.0","humanize-ms":"~1.0.1","ini":"~1.3.4","object-assign":"~4.0.1"},"devDependencies":{"autod":"*","beautify-benchmark":"0","benchmark":"1","contributors":"*","eslint":"~1.5.0","istanbul-harmony":"*","koa":"1","mm":"1","mocha":"*","pedding":"1","supertest":"1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=0.12.0"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"}],"gitHead":"64ea46d5496cdde543ab4e19d99525fbfeb01fa0","_id":"koa-locales@1.4.2","_shasum":"88fa4d77c442dcc7af8c55b7249b813fe0d1d53f","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"dist":{"shasum":"88fa4d77c442dcc7af8c55b7249b813fe0d1d53f","size":4777,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.4.2.tgz"},"directories":{},"publish_time":1442760860135,"_cnpm_publish_time":1442760860135,"_hasShrinkwrap":false},"1.4.0":{"name":"koa-locales","version":"1.4.0","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"mocha --harmony --check-leaks -R spec -t 5000 test/*.test.js","test-cov":"node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 test/*.test.js","jshint":"jshint .","autod":"autod -w --prefix '~'","cnpm":"npm install --registry=https://registry.npm.taobao.org","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"~2.2.0","humanize-ms":"~1.0.1","ini":"~1.3.4","merge-descriptors":"~1.0.0"},"devDependencies":{"autod":"*","beautify-benchmark":"0","benchmark":"1","contributors":"*","istanbul-harmony":"*","jshint":"*","koa":"1","mm":"1","mocha":"*","pedding":"1","supertest":"1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=0.12.0"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"}],"gitHead":"d5a9eb0468d3cf52f877b911653dde425d581cfe","_id":"koa-locales@1.4.0","_shasum":"a31ac9021cf78a4a461b2e8b1a33d60320fad666","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"dist":{"shasum":"a31ac9021cf78a4a461b2e8b1a33d60320fad666","size":4608,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.4.0.tgz"},"directories":{},"publish_time":1442504501107,"_cnpm_publish_time":1442504501107,"_hasShrinkwrap":false},"1.3.1":{"name":"koa-locales","version":"1.3.1","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"mocha --harmony --check-leaks -R spec -t 5000 test/*.test.js","test-cov":"node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 test/*.test.js","jshint":"jshint .","autod":"autod -w --prefix '~'","cnpm":"npm install --registry=https://registry.npm.taobao.org","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"~2.2.0","humanize-ms":"~1.0.1","ini":"~1.3.4","merge-descriptors":"~1.0.0"},"devDependencies":{"autod":"*","beautify-benchmark":"0","benchmark":"1","contributors":"*","istanbul-harmony":"*","jshint":"*","koa":"1","mm":"1","mocha":"*","pedding":"1","supertest":"1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=0.12.0"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"}],"gitHead":"e7ed19683625370a389ed59224ef2eb106494f54","_id":"koa-locales@1.3.1","_shasum":"855cfe6fd914a85b2ccf707f8e60cc47adbbd28d","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"dist":{"shasum":"855cfe6fd914a85b2ccf707f8e60cc47adbbd28d","size":4462,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.3.1.tgz"},"directories":{},"publish_time":1442250706534,"_cnpm_publish_time":1442250706534,"_hasShrinkwrap":false},"1.3.0":{"name":"koa-locales","version":"1.3.0","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"mocha --harmony --check-leaks -R spec -t 5000 test/*.test.js","test-cov":"node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 test/*.test.js","jshint":"jshint .","autod":"autod -w --prefix '~'","cnpm":"npm install --registry=https://registry.npm.taobao.org","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"~2.2.0","humanize-ms":"~1.0.1","ini":"~1.3.4"},"devDependencies":{"autod":"*","beautify-benchmark":"~0.2.4","benchmark":"~1.0.0","contributors":"*","istanbul-harmony":"*","jshint":"*","koa":"~0.21.0","mm":"~1.1.0","mocha":"*","pedding":"~1.0.0","supertest":"~1.0.1","merge-descriptors":"~1.0.0"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=0.12.0"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"}],"gitHead":"d5417af0274508e89522d19f59344b40d1acdf79","_id":"koa-locales@1.3.0","_shasum":"6085173110c067253ee474930345256e7b02af45","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"dist":{"shasum":"6085173110c067253ee474930345256e7b02af45","size":4446,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.3.0.tgz"},"directories":{},"publish_time":1442223647106,"_cnpm_publish_time":1442223647106,"_hasShrinkwrap":false},"1.2.0":{"name":"koa-locales","version":"1.2.0","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"mocha --harmony --check-leaks -R spec -t 5000 test/*.test.js","test-cov":"node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 test/*.test.js","jshint":"jshint .","autod":"autod -w --prefix '~'","cnpm":"npm install --registry=https://registry.npm.taobao.org","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"~2.2.0","humanize-ms":"~1.0.1","ini":"~1.3.4"},"devDependencies":{"autod":"*","beautify-benchmark":"~0.2.4","benchmark":"~1.0.0","contributors":"*","istanbul-harmony":"*","jshint":"*","koa":"~0.21.0","mm":"~1.1.0","mocha":"*","pedding":"~1.0.0","supertest":"~1.0.1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=0.12.0"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Haoliang Gao","email":"sakura9515@gmail.com","url":"https://github.com/popomore"},{"name":"闲耘™","email":"hotoo.cn@gmail.com","url":"https://github.com/hotoo"}],"gitHead":"98f9ebcfd4c4a7ac0fa4979bd52e90205484615e","_id":"koa-locales@1.2.0","_shasum":"1ce948b57f22462445a5df2cf0383a8940c76183","_from":".","_npmVersion":"2.13.2","_nodeVersion":"2.5.3","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"dist":{"shasum":"1ce948b57f22462445a5df2cf0383a8940c76183","size":4378,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.2.0.tgz"},"directories":{},"publish_time":1440955789038,"_cnpm_publish_time":1440955789038,"_hasShrinkwrap":false},"1.1.0":{"name":"koa-locales","version":"1.1.0","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"mocha --harmony --check-leaks -R spec -t 5000 test/*.test.js","test-cov":"node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 test/*.test.js","test-travis":"node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --check-leaks -t 5000 test/*.test.js","jshint":"jshint .","autod":"autod -w --prefix '~'","cnpm":"npm install --registry=https://registry.npm.taobao.org","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"~2.2.0","humanize-ms":"~1.0.1","ini":"~1.3.3"},"devDependencies":{"autod":"*","contributors":"*","istanbul-harmony":"*","jshint":"*","koa":"~0.20.0","mm":"~1.1.0","mocha":"*","pedding":"~1.0.0","supertest":"~1.0.1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=0.12.0","iojs":">=1.0.0"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"}],"gitHead":"9297df540df1737f07ec0c0ccbdc517a65c80535","_id":"koa-locales@1.1.0","_shasum":"94c2a9d990d2dea668741bed7a2c3d841659d7cb","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.3","_npmUser":{"name":"popomore","email":"sakura9515@gmail.com"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"dist":{"shasum":"94c2a9d990d2dea668741bed7a2c3d841659d7cb","size":4476,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.1.0.tgz"},"directories":{},"publish_time":1437032835988,"_cnpm_publish_time":1437032835988,"_hasShrinkwrap":false},"1.0.2":{"name":"koa-locales","version":"1.0.2","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"mocha --harmony --check-leaks -R spec -t 5000 test/*.test.js","test-cov":"node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 test/*.test.js","test-travis":"node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --check-leaks -t 5000 test/*.test.js","jshint":"jshint .","autod":"autod -w --prefix '~'","cnpm":"npm install --registry=https://registry.npm.taobao.org","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"~2.2.0","humanize-ms":"~1.0.1","ini":"~1.3.3"},"devDependencies":{"autod":"*","contributors":"*","istanbul-harmony":"*","jshint":"*","koa":"~0.20.0","mm":"~1.1.0","mocha":"*","pedding":"~1.0.0","supertest":"~1.0.1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=0.12.0","iojs":">=1.0.0"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"}],"gitHead":"c0a48cd9a325b1d861b1c801b5bcf4432df1caf8","_id":"koa-locales@1.0.2","_shasum":"306d7a54f17da2bacd163b97f0c51dc3a3fb26a9","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.2","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"dist":{"shasum":"306d7a54f17da2bacd163b97f0c51dc3a3fb26a9","size":4292,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.0.2.tgz"},"directories":{},"publish_time":1431870893603,"_cnpm_publish_time":1431870893603,"_hasShrinkwrap":false},"1.0.1":{"name":"koa-locales","version":"1.0.1","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"mocha --harmony --check-leaks -R spec -t 5000 test/*.test.js","test-cov":"node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 test/*.test.js","test-travis":"node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --check-leaks -t 5000 test/*.test.js","jshint":"jshint .","autod":"autod -w --prefix '~'","cnpm":"npm install --registry=https://registry.npm.taobao.org","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"~2.2.0","humanize-ms":"~1.0.1"},"devDependencies":{"autod":"*","contributors":"*","istanbul-harmony":"*","jshint":"*","koa":"~0.20.0","mm":"~1.1.0","mocha":"*","pedding":"~1.0.0","supertest":"~1.0.1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=0.12.0","iojs":">=1.0.0"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"}],"gitHead":"1ee07403a00c625c18ccdb440866908b39be7920","_id":"koa-locales@1.0.1","_shasum":"bc20fe519c060b65216748c3d6424ddcaf29ccaf","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"dist":{"shasum":"bc20fe519c060b65216748c3d6424ddcaf29ccaf","size":4178,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.0.1.tgz"},"directories":{},"publish_time":1431786394340,"_cnpm_publish_time":1431786394340,"_hasShrinkwrap":false},"1.0.0":{"name":"koa-locales","version":"1.0.0","description":"koa locales, i18n solution for koa","main":"index.js","files":["index.js"],"scripts":{"test":"mocha --check-leaks -R spec -t 5000 test/*.test.js","test-cov":"node node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 test/*.test.js","test-travis":"node node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --check-leaks -t 5000 test/*.test.js","jshint":"jshint .","autod":"autod -w --prefix '~'","cnpm":"npm install --registry=https://registry.npm.taobao.org","contributors":"contributors -f plain -o AUTHORS"},"dependencies":{"debug":"~2.2.0","humanize-ms":"~1.0.1"},"devDependencies":{"autod":"*","contributors":"*","istanbul-harmony":"*","jshint":"*","koa":"~0.20.0","mm":"~1.1.0","mocha":"*","pedding":"~1.0.0","supertest":"~1.0.1"},"homepage":"https://github.com/koajs/locales","repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"bugs":{"url":"https://github.com/koajs/locales/issues","email":"m@fengmk2.com"},"keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"engines":{"node":">=0.12.0","iojs":">=1.0.0"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"}],"gitHead":"1bd4f46acb932d4b5966e30a054401da26f9d616","_id":"koa-locales@1.0.0","_shasum":"d5007255acaa1140489bea51c3b8360c51da6a8b","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.2","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":""}],"dist":{"shasum":"d5007255acaa1140489bea51c3b8360c51da6a8b","size":4089,"noattachment":false,"key":"/koa-locales/-/koa-locales-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-locales/download/koa-locales-1.0.0.tgz"},"directories":{},"publish_time":1431785432592,"_cnpm_publish_time":1431785432592,"_hasShrinkwrap":false}},"readme":"koa-locales\n=======\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][cov-image]][cov-url]\n[![David deps][david-image]][david-url]\n[![npm download][download-image]][download-url]\n\nkoa locales, i18n solution for koa:\n\n1. All locales resources location on `options.dirs`.\n2. resources file supports: `*.js`, `*.json` and `*.properties`, see [examples](test/locales/).\n3. One api: `__(key[, value, ...])`.\n4. Auto detect request locale from `query`, `cookie` and `header: Accept-Language`.\n\n## Installation\n\n```bash\n$ npm install koa-locales --save\n```\n\n## Quick start\n\n```js\nconst koa = require('koa');\nconst locales = require('koa-locales');\n\nconst app = koa();\nconst options = {\n  dirs: [__dirname + '/locales', __dirname + '/foo/locales'],\n};\nlocales(app, options);\n```\n\n## API Reference\n\n### `locales(app, options)`\n\nPatch locales functions to koa app.\n\n- {Application} app: koa app instance.\n- {Object} options: optional params.\n  - {String} functionName: locale function name patch on koa context. Optional, default is `__`.\n  - {String} dirs: locales resources store directories. Optional, default is `['$PWD/locales']`.\n  - {String} defaultLocale: default locale. Optional, default is `en-US`.\n  - {String} queryField: locale field name on query. Optional, default is `locale`.\n  - {String} cookieField: locale field name on cookie. Optional, default is `locale`.\n  - {String} cookieDomain: domain on cookie. Optional, default is `''`.\n  - {Object} localeAlias: locale value map. Optional, default is `{}`.\n  - {String|Number} cookieMaxAge: set locale cookie value max age. Optional, default is `1y`, expired after one year.\n\n```js\nlocales({\n  app: app,\n  dirs: [__dirname + '/app/locales'],\n  defaultLocale: 'zh-CN',\n});\n```\n\n#### Aliases\n\nThe key `options.localeAlias` allows to not repeat dictionary files, as you can configure to use the same file for *es_ES* for *es*, or *en_UK* for *en*.\n\n```js\nlocales({\n  localeAlias: {\n    es: es_ES,\n    en: en_UK,\n  },\n});\n```\n\n### `context.__(key[, value1[, value2, ...]])`\n\nGet current request locale text.\n\n```js\nasync function home(ctx) {\n  ctx.body = {\n    message: ctx.__('Hello, %s', 'fengmk2'),\n  };\n}\n```\n\nExamples:\n\n```js\n__('Hello, %s. %s', 'fengmk2', 'koa rock!')\n=>\n'Hello fengmk2. koa rock!'\n\n__('{0} {0} {1} {1} {1}', ['foo', 'bar'])\n=>\n'foo foo bar bar bar'\n\n__('{a} {a} {b} {b} {b}', {a: 'foo', b: 'bar'})\n=>\n'foo foo bar bar bar'\n```\n\n### `context.__getLocale()`\n\nGet locale from query / cookie and header.\n\n### `context.setLocale()`\n\nSet locale and cookie.\n\n### `context.__getLocaleOrigin()`\n\nWhere does locale come from, could be `query`, `cookie`, `header` and `default`.\n\n### `app.__(locale, key[, value1[, value2, ...]])`\n\nGet the given locale text on application level.\n\n```js\nconsole.log(app.__('zh', 'Hello'));\n// stdout '你好' for Chinese\n```\n\n## Usage on template\n\n```js\nthis.state.__ = this.__.bind(this);\n```\n\n[Nunjucks] example:\n\n```html\n{{ __('Hello, %s', user.name) }}\n```\n\n[Pug] example:\n\n```pug\np= __('Hello, %s', user.name)\n```\n\n[Koa-pug] integration:\n\nYou can set the property *locals* on the KoaPug instance, where the default locals are stored.\n\n```js\napp.use(async (ctx, next) => {\n  koaPug.locals.__ = ctx.__.bind(ctx);\n  await next();\n});\n```\n\n## Debugging\n\nIf you are interested on knowing what locale was chosen and why you can enable the debug messages from [debug].\n\nThere is two level of verbosity:\n\n```sh\n$ DEBUG=koa-locales node .\n```\nWith this line it only will show one line per request, with the chosen language and the origin where the locale come from (queryString, header or cookie).\n\n```sh\n$ DEBUG=koa-locales:silly node .\n```\nUse this level if something doesn't work as you expect. This is going to debug everything, including each translated line of text.\n\n## License\n\n[MIT](LICENSE)\n\n\n[nunjucks]: https://www.npmjs.com/package/nunjucks\n[debug]: https://www.npmjs.com/package/debug\n[pug]: https://www.npmjs.com/package/pug\n[koa-pug]: https://www.npmjs.com/package/koa-pug\n\n[npm-image]: https://img.shields.io/npm/v/koa-locales.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/koa-locales\n[travis-image]: https://img.shields.io/travis/koajs/locales.svg?style=flat-square\n[travis-url]: https://travis-ci.org/koajs/locales\n[cov-image]: https://codecov.io/github/koajs/locales/coverage.svg?branch=master\n[cov-url]: https://codecov.io/github/koajs/locales?branch=master\n[david-image]: https://img.shields.io/david/koajs/locales.svg?style=flat-square\n[david-url]: https://david-dm.org/koajs/locales\n[download-image]: https://img.shields.io/npm/dm/koa-locales.svg?style=flat-square\n[download-url]: https://npmjs.org/package/koa-locales\n","_attachments":{},"homepage":"https://github.com/koajs/locales","bugs":{"url":"https://github.com/koajs/locales/issues"},"license":"MIT"}