{"_id":"koa-locales","_rev":"26-15159e09ebea6bd17a334da13bcb14c2","name":"koa-locales","description":"koa locales, i18n solution for koa","dist-tags":{"latest":"1.12.0"},"versions":{"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"}],"dist":{"shasum":"d5007255acaa1140489bea51c3b8360c51da6a8b","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.0.0.tgz","integrity":"sha512-SwynHwZ45P/bc8Pa9VkL59Mj/6f12gnwvY5iWPLn7OsxyoiooWmfIL+PA+IYfMxspSihfp+9AY4FF/uukR4tSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFpDPPnk3ZLZIghKBxoYQnD7pPZAsBAtJMTi2iyNr4RoAiEAyHfCyqTBLiakodQWDQvG6UilAEZ0J/mDxggOX+qMZB4="}]},"directories":{}},"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"}],"dist":{"shasum":"bc20fe519c060b65216748c3d6424ddcaf29ccaf","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.0.1.tgz","integrity":"sha512-eTxKWGY7dvTM/NSCIxDpYah95LngfFYknMs34R9CUS0QGlIHmjq35qodVjEl9WWRAKRgDS30WYfOY/dTci1ECA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHaeBmDas5gY0XkjLUISwo036gXsduqjPlzdDjdxpy99AiAsQNBB4fnbnO2DlyauIBvDxJav+7ROYVCFMSFw+076iw=="}]},"directories":{}},"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"}],"dist":{"shasum":"306d7a54f17da2bacd163b97f0c51dc3a3fb26a9","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.0.2.tgz","integrity":"sha512-P5tWgxxIB7pb4QyYMamEbWX8Gvi3Q7CNzlunmQaJt2uk7JGy/e30u50vNfJcmy/+gLW6JvPctkQjb9Lv932ZAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPrXQEamjLjQyXagg1vFcZqcGOvHK2a5Hwokn07jy3VgIhALmFvPpH4UbZ6aJPwqlbx7xQYQRabBCfl8Yn0JPqVwVR"}]},"directories":{}},"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":"sakura9515@gmail.com"}],"dist":{"shasum":"94c2a9d990d2dea668741bed7a2c3d841659d7cb","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.1.0.tgz","integrity":"sha512-IBpGoVakItnko5BmJqvzBfxlAcMOuz2GJsm2RsqBCtfNf2hYIcETIPa2Cz5e1nkGg+tH0SGKOY5lg8vXnWLSMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/qpgohFlVfxGiX/y0AEYzFx2FfymBatOgfM1sT4H6AAiBRZ1iRoZ6v40bMftalxZsiiJG0e3KZe9ZCE66W8/Kuhg=="}]},"directories":{}},"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":"sakura9515@gmail.com"}],"dist":{"shasum":"1ce948b57f22462445a5df2cf0383a8940c76183","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.2.0.tgz","integrity":"sha512-+RZvIXl+CH+zndVrwHG8QZ1b/PMgAoSW1fzYSdx56dBQhVBzdqXeGcAE+215n02R9I3XtiFnXKA4i9YJqGxiJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDk1YMn2oiq75Yd2KBQAPDFHu10dLwUckVDZynjmkdErAIgE2MQDIzEyTN5vkeLq9qgTYwrC7No8AKSMlgRd3u3IlA="}]},"directories":{}},"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":"sakura9515@gmail.com"}],"dist":{"shasum":"6085173110c067253ee474930345256e7b02af45","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.3.0.tgz","integrity":"sha512-sga5KYo4EGwhju2asI71oxC6XVeHteAeF/J0xlUrYMg60iK+87k98KGrTDcccNCdzRtTTRVGwVfk6wtzYmNKwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCatogU+dHOh8qwAJ766VRevrhtjdZRm1fbfJn/UcCSegIgR3K7dtcNGlMjSqiU19K8QfE5T2oaq3kMLC/ICIZClx4="}]},"directories":{}},"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":"sakura9515@gmail.com"}],"dist":{"shasum":"855cfe6fd914a85b2ccf707f8e60cc47adbbd28d","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.3.1.tgz","integrity":"sha512-VlpQksT3RYbZV5LauWoioxjEWwjCQ20gokqEIdxVP9SLrP4AUIpyRzAtuKHSza/ATs2yffarDni1ktMfzl15jQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHAreK5ob7wz6mzchVlQXK0gIkrJoFb0U4ZcQ9ua7NcEAiEAkF/ax6RJli0t0ApFWS9HRrkODJwCoDRF5U/Jabl7xMY="}]},"directories":{}},"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":"sakura9515@gmail.com"}],"dist":{"shasum":"a31ac9021cf78a4a461b2e8b1a33d60320fad666","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.4.0.tgz","integrity":"sha512-tNgL9Ze6WMUYlaM7+DuPWy6STy2vZ5qAduZC5JxKBqKa9GOhYecUEcKf2Rb0n6YtjbQAJIiN7rPaaXkg2pq6SQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUtqJNYVSROk/5Nc22DctH/TLdvU4lt/CCXvnz/qGBXQIhAO+5DAlxR9vzsZ9j5rfveOd+cBXelkROyJRJzYotxbr7"}]},"directories":{}},"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":"sakura9515@gmail.com"}],"dist":{"shasum":"88fa4d77c442dcc7af8c55b7249b813fe0d1d53f","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.4.2.tgz","integrity":"sha512-PfwfTpAofAM0cOwyyYspFmB+jmJ2swPVIKliDULp924vG/28DOLuffM+Ewbub6/zt+he/nAK5s9RfvW8ql+DGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGa1ZtTM2jNS2uj9BgRJYMBzCVXgkhkxW92ve9TX+dLNAiAuOVZVw5O7mR8LciCdOeyAFKdpaYLco9kRksI3yqRdhg=="}]},"directories":{}},"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":"sakura9515@gmail.com"}],"dist":{"shasum":"3cf62d730fd5b42f616882a0721fe6533e914857","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.4.3.tgz","integrity":"sha512-lW8+YBGBWliw+RMjbeuryth9JF+BUZ1N8KZ3JOVtuD0mnryMoiVa3NJlCZLp293szUR5se4EhEVrRasnAQmTAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAtFK/3DoKHuVP1dOFoga+4slfAsxotHIcbG484MOySWAiAthyPNR6cqRB6Fe7YTikekOTsrxnIYONGZcRg3xP6nfA=="}]},"directories":{}},"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":"sakura9515@gmail.com"}],"dist":{"shasum":"c2baa6c80c043a6b8ab3243b27a646094f6b794f","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.4.4.tgz","integrity":"sha512-/7z7SPViAO8XNxh8Zil1msH5iXEYm7C+5px9nWx2eDwWFFX1nljNmaVqgX+Vvd4lyCTmXy6wwRTYyV7lN5jRlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/SJAcRqG4PNQ7FcjNGtKyizvI9thbOZNMAj4Nt3CJKAIgaxeTOAhuPr3yxSWn7pgXsF5067+pH/0Uiawt2EOdGWE="}]},"directories":{}},"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":"sakura9515@gmail.com"}],"dist":{"shasum":"93cfe53c5df79169462c34385cd9dfe7a93508a3","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.5.0.tgz","integrity":"sha512-UuJ7aW8dUBYuCVzZfMr5Fe85mTVtgUA/ugnfyib8x7v26U37UCwy3k0YvReQTl7Xz9NNbFynZaB4cIVD0ruVQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwcN64NJQ+yYigCpv6bQEUNAqrIdyeLMxQX5YWBDiTcwIgNr/DAhXW02u+6cNYDZHsrPLFzRtXOS8UlzF8Z4VUNmc="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-locales-1.5.0.tgz_1458130356333_0.8359842468053102"},"directories":{}},"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":"sakura9515@gmail.com"}],"dist":{"shasum":"7a66e9e32852cb118969dde3cb2dc8010671251a","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.5.1.tgz","integrity":"sha512-2+79JruxQC4IfXSHPM3UtfnltzEAFvZvHeAExOA6lPbwOrA4eR0QdKULKMY6oJAk5946s/iH/T8unGmGxGZrEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxPfn+dETALerjudNZG4bhVBn9BKQDlPiTfVxKmLLtAQIgTNWNW7p1C3ls4kUlEp3WCGmk1nerMsJ3yvx16AYucJg="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-locales-1.5.1.tgz_1463762452171_0.3166713104583323"},"directories":{}},"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","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.5.2.tgz","integrity":"sha512-RnYijbfR1VDu0/BytY3Vs/pLHbuKsHtbzBBd8UEeEqvmZlClPzjGNnQmpLVEmXlBTAR+tlkjeaSJNu0dPc+n1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDd3QAO+6BFCJe5TvM9dzF7TCPSvW0VUbVp+dqLzVWRlQIgSHo5aNSLxebwwgv+7ZE3JN0/LCf7pXnD7vFjV7il0V8="}]},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/koa-locales-1.5.2.tgz_1484289669685_0.13124613440595567"},"directories":{}},"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","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.6.0.tgz","integrity":"sha512-lia+4c6pQ3VWfKZfM05koggJuQA9P72b3JMAiJxls5+VpSCm+vjOa9+ch8pKvkkVyZOLZjFNcL1FNDlZiHIjJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFccViz/xBr7a9NUP1c5/e9lLX1BDn0L5JBLwZznvF8kAiEAyXA0EmtDi7lz9WO4iA9oF5W7V7l8pNkvXG11rnRYGIw="}]},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-locales-1.6.0.tgz_1493280526884_0.21664091013371944"},"directories":{}},"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","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.7.0.tgz","integrity":"sha512-tshrag6DBxR9XdgfqoSwgXqwBpKXNQAcanjs/PtrWyhZcVbSr/0KC0pY+5d4IT7rhuds4mvHOixV2Bl1t5wfPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICEQBL+LTOTlx1J6au9h6w9BRhR1D+y6jYi4DtjN+XxdAiEAm3a7vZhW4XDVAhyNhjSkXPNn16c+OG28rn3VXrtN2ho="}]},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-locales-1.7.0.tgz_1493281058245_0.25279481266625226"},"directories":{}},"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":{"integrity":"sha512-6+etgL9JkHnwUjz52BNocO2rxPc1zaNG9YyZJAVyeoh0TLsJMDzTXAxq3xjwPx29ZdUmMsiPLrqc78XR6GBA7g==","shasum":"e8762e937007a0baf9092ea24c44fab860e394bd","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.8.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFeI4BJEbOwyTGf2tAf9/aKhcdGLUKzsg+/iWJXjUVBoAiA5N0tNulv3/r1LlMFYx11G7UPeRY7dx983cPRpQLhXBg=="}]},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-locales-1.8.0.tgz_1515728812037_0.1403868068009615"},"directories":{}},"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":{"integrity":"sha512-N8JobD304TYa2kmjO2Nbk8JBbuplwlvQgdyXFBWxl6cnkVn/nu4GRq/pYActDhdGdOcYij6pPxV9ZWSPEDnf5g==","shasum":"43d0033136c86f7d3ca3c6179f61646f56b53b5a","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.9.0.tgz","fileCount":5,"unpackedSize":16027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctpL3CRA9TVsSAnZWagAAC38P/3561QyBzQWWv4J/Fd1E\n2X/x5tnnWNw8ccQH6RjwAy178mstPAvlDWgjF8kEi6pGts4kqqIqikfWCaVH\nPPB2oo7U+2On2aLoilB7B+WZwk2rMfC5cxh5yXYKh+5eKLinFs1DhErkkg+n\nk93us6bEcDZLmpwfMbG6DDasmexKp5cFheWyxKaF9PjcUimIYBwz7ovd0Vbf\nmA8LxwPvDhwc5PucEtPLl6atYpNOmyLIlgAEBZRZ6YRFuwvAEl3kcCgzZrEv\n0xTgoN8qHM8CdRtMRdU8o+QWu+2njdoUyyoBi+mN8s/EgJeaRGp8xyF8w9Iq\ng7xDGkXJSmKXE9/0yHRCMNS0nDaGe6jyTuorQHXl+bkmZV9GM94Q5AC0/INP\n7bZov0v4a3ehIj0xF9WTDOjK5Wh4Pduc42ZBceW7jHLemxmrjrBdI9cP+yBG\nPRE7YfhCH9Wq4rthzYmuZMuaa+yStiUOkBrfy3pq4Eg0ZpiFlGWTxGINy9np\nrG3MRPVGeZZ7BDzOGS1E7FB5zGWm3GSRHnaXb8BpfR03HO1F0QQWjMlfrZNl\nwvfgRw4TcoO5Z3CN1CbTJVVZA4o6ylbYvYLYDvgqAUV4uyHxhHCNmXOY0eCq\n4CjMUw/1EkhUYRVyog/R4z71JId6+T4Fp8CPBbbLNgc4VBYm8enTwWUM22p4\ngHXM\r\n=Dget\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZSoscO9fkjuNHSkz0aETfZI6bbX7rrILpk/RqVrHNXAiEApBX/ZwvEoEwgqEfvjqW6Nc/QblyyX1AzPBjyEqhQjSE="}]},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-locales_1.9.0_1555469046832_0.6434670756490424"},"_hasShrinkwrap":false},"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":{"integrity":"sha512-M8/qfkPVrtxxdGAJB4TsnokvzBtIhDRdFqye1OibNNPolO/OdZAXCs/e4EBNrHc4p2d26hr2JF4NbZs9Vu4xPA==","shasum":"e730c96ff2d6aa42224a025dc220f375dffaf928","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.10.0.tgz","fileCount":5,"unpackedSize":16617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxruCCRA9TVsSAnZWagAAuMYQAJ9xhbwINXLztaurL4a3\nM5rkNSq/XLxfDycQVWsw9a3l3Vn0HBzs+Mi0BcO4VXc56yPwyy/jdPb/LwQD\n6NnkR9kB+oWOTC3V0fwlNEH7ZJ31TwKqO7c0sEVd8DaySCC8l1J2U/dcpVjb\nE9O63Sh0O7WDjbvFzOSsNfV83i2hqUVcNl2mhN3CxSB1V8bQZxVKtp3oPEAL\nhckCkDdRB0w3RTEJ+I3wSAKoGS2n2R47JEMbtNDrO8BkGyLknYu48Dkr9RA0\n8Bi+zWiBVTea2ccx4W/F0u6Lc6iwwTkiAveePiiOnIKekSBS5NbjcE8PiG2i\nuy9mpqJ6QTQggOj4vEczKexYqs5t2jvBArn7yWfq6Ium2a7sc3mSy6PxCDF2\nTf3U6xvMjRXZ609FzuzPjwRSmYx3YXwcvEffiSRhkA5mStnYAo6tscSuFg6z\n5meONh7zpLLRmGevYgQVSpdA9+Ifs4nfu0jS/WTP0oi5/po2Ehejo+hYRe7a\n+2XRBTUaTf0RC8fMxWbj7ZOO1ygYTQiqKxZZhZ7ENdWoRSKpO/dFEqn6WnJK\nvmmNhoigChu13A297CKwHN4R0nu28swq05YZSYqrNWd1E/tetA3OvZxT9Xqi\nV/YFz01Mz2ad6koBo7mnOCHAIATn8OlGreVNEwD0kcE6Xx1BeixIDrsPWoGP\nLW2w\r\n=Q6Hc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgIb/WmfXZGgpbZl7e+ylDwuwjKZ5h90UwdIykmcDHbQIgNcbC1kdKpq9UkEZ8hsGrMPQsanyNEhVjYk+UlWU11ko="}]},"maintainers":[{"email":"dead_horse@qq.com","name":"dead_horse"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"sakura9515@gmail.com","name":"popomore"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-locales_1.10.0_1556528001619_0.7816199642488726"},"_hasShrinkwrap":false},"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":{"integrity":"sha512-VYrV3CCvpwqItjkqPQVB0O212CoVEJqARndN/u/CO2F8Dbhtnj+pjDaqpG1uZLQl8l/jhlpp6O1uWlvLWRqr3Q==","shasum":"facb4a9fc16a1ef790429727ab62aa250fac27d5","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.11.0.tgz","fileCount":5,"unpackedSize":17069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyDtvCRA9TVsSAnZWagAAHJkP/2noFofWgRgsZWTj50tI\nWfcXj2afF2WG9lM25daKrnflMm4QOfUA4IFfoVqwHXeKDwS4bkZevyhllKnk\nX93xozR1y+KL3H3IjC/AnBvLGFtakL+ihFcV1R8xBe0oF63bxENSRsg2c9+/\nwvei0Tt9jpegMeumavPdFATsqVy3hEu6FRHc0gq6Q12f4v+I3h5j2NGboRTS\n0jK8+7Lu2BjdaRqV/bKUR1T+y9iMGv5W70imDjDEzJ9/rsp5KDVCMZBwZMg/\n1JDvDxnqKEdyJsCRHvzacnmS/9paGuX3ubvg1Cdsx2v0AUYQ4Wa7isnX2sdw\nlvpdwXe135++I0ZsAC/UYXlgPCW8lEi3/12JHH2dBB4RRfjr4iUP+0oPc3Sf\naJ8vbR6uK4BrB+LbyU3xqKsCQiJ4RP1XfGd2oqwVDMvnw97bc8xUdwm31+Nc\n4JtHjm+cPtUoHXgD9yfjHVmTf5WcqS15EUfGX4WJ12S/Dvovgwp2/BcwfEYO\nYe2RyzBNnlg/v/9jxdKzSdcisMmEsDnPG6hz2N4PKrZOePtqgJBHLT/yQqcz\nlxv/tDRxCTUeWAasOD+KtFRwkClwgpJ/iIFuMPy7DUYWG6rlwxyxH0ZGAo7K\nd9H/xrW9j6tfK47rb/ooyaqGIwwM7qrNp3/oGSOFAcwi+MzW0yRsDk6KVn7V\nq1b+\r\n=mppK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC2em+lhO5lldxTDAx2K1Ukid+U9OuW0kfYya3y+XeD3AiB3KmGV7mxwTEwNY8nEgPBdCnHSoScZhwueS6pbb7yoRw=="}]},"maintainers":[{"email":"dead_horse@qq.com","name":"dead_horse"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"sakura9515@gmail.com","name":"popomore"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-locales_1.11.0_1556626287057_0.1847374350767923"},"_hasShrinkwrap":false},"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":{"integrity":"sha512-lalx0OuvdZ39JppTVqHnYKIgJJbByon9xpt5KSKFOL6/VQS+XBMklMX83+fgkCXzsNacynWaN75ihWP2EGsWIQ==","shasum":"0c2a7082947a9263afc25ba73b68af6a2201f09d","tarball":"https://registry.npmjs.org/koa-locales/-/koa-locales-1.12.0.tgz","fileCount":5,"unpackedSize":18230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdBkmkCRA9TVsSAnZWagAA508P/2EjdiLYUEwoMaAPJe1a\npZvVeeE3BeS3TU+Pi8ZHL2E2XLmbaprxcT2gEWz1feQoTcB0lYrcJDrOd1f5\nMK6FY46HfQtPuCB3BM9bMr1aIgS3SbIHtg1eWMxSLbLzDM8ZtSI+lZJ6aEpb\nHayDP24oUJsmmn4rt7ekoTYrYFRx1YJLHvDW4W266TNh31EL7vo3I1+9VAuw\nxOn6rUXNq5O/FZwJ53aMxoD1wHcGd8S7ycBCS0CDwiF7xT0OKGWD7KFJ1nDl\n7D7sA3Gl6X80AYyNoAkLF7aFOiFpFKDl50+tLj3X6RuSuUGMdJPtcoyVE4Cf\nyWl4T7VxhUjQqzXrUZOy6qJyyg+eExPK+tkHpwdbXtuF60uVebLisThPDush\nXt5iULWj3aYkcFFMwD393OTz14U4ccqFc0shoDV74HFtVTpTmjMfl30WoHoK\nHTF50zQFCwBM+Iuj1yuaH7GFbttvO/l4r3yu10SWajFtMcWIiVqYjwUJn3FG\nnnUKxegaqmKTKgLkIqRvfQnPg/FcVdnbnnUa6hzkev2ZfLsn2tw6Nqhq6b85\npJLB7qojf3Mqt97Be8Q+wbrx5jcQXH/Vj9mP1VpWgGmrmpSNRwExsABcD4gc\n/TpbhyC3Wo9o18/ONjtjyOl/H/cvPV+8MYMOiWx5RcBDSi8EY9T1vHC11Gqy\ntVTJ\r\n=IJZx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFLfNHHgQHEFpQu6mfdlneam5stx4OiUfLU+O/6FOFqjAiA7HGBmdjUhrKW8cKZh5V1/I8G4N7BRl2jXQ4UB9tkI8A=="}]},"maintainers":[{"email":"dead_horse@qq.com","name":"dead_horse"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"sakura9515@gmail.com","name":"popomore"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-locales_1.12.0_1560693155875_0.1948865803937705"},"_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","maintainers":[{"email":"dead_horse@qq.com","name":"dead_horse"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"sakura9515@gmail.com","name":"popomore"}],"time":{"modified":"2022-06-19T09:19:50.564Z","created":"2015-05-16T14:10:32.592Z","1.0.0":"2015-05-16T14:10:32.592Z","1.0.1":"2015-05-16T14:26:34.340Z","1.0.2":"2015-05-17T13:54:53.603Z","1.1.0":"2015-07-16T07:47:15.988Z","1.2.0":"2015-08-30T17:29:49.038Z","1.3.0":"2015-09-14T09:40:47.106Z","1.3.1":"2015-09-14T17:11:46.534Z","1.4.0":"2015-09-17T15:41:41.107Z","1.4.2":"2015-09-20T14:54:20.135Z","1.4.3":"2015-12-09T10:26:46.739Z","1.4.4":"2015-12-23T02:49:05.753Z","1.5.0":"2016-03-16T12:12:36.840Z","1.5.1":"2016-05-20T16:40:52.640Z","1.5.2":"2017-01-13T06:41:11.750Z","1.6.0":"2017-04-27T08:08:47.131Z","1.7.0":"2017-04-27T08:17:38.477Z","1.8.0":"2018-01-12T03:46:52.118Z","1.9.0":"2019-04-17T02:44:06.931Z","1.10.0":"2019-04-29T08:53:21.730Z","1.11.0":"2019-04-30T12:11:27.163Z","1.12.0":"2019-06-16T13:52:35.998Z"},"homepage":"https://github.com/koajs/locales","keywords":["koa-locales","i18n","locales","koa-i18n","koa"],"repository":{"type":"git","url":"git://github.com/koajs/locales.git","web":"https://github.com/koajs/locales"},"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"}],"author":{"name":"fengmk2","email":"fengmk2@gmail.com","url":"https://fengmk2.com"},"bugs":{"url":"https://github.com/koajs/locales/issues"},"license":"MIT","readmeFilename":"README.md"}