{"_id":"koa-i18n","_rev":"42-38857d67e18fb3a137a82fd7dad549be","name":"koa-i18n","description":"Lightweight simple translation middleware for koa, based on i18n-2","dist-tags":{"latest":"2.1.0","next":"2.0.1"},"versions":{"0.0.0":{"name":"koa-i18n","version":"0.0.0","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"http://github.com/fundon/koa-i18n.git"},"keywords":["koa","locale","i18n","lang"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/fundon/koa-i18n/issues"},"homepage":"https://github.com/fundon/koa-i18n","dependencies":{"debug":"^0.7.4","i18n-2":"^0.4.6","koa-locale":"^0.1.0"},"_id":"koa-i18n@0.0.0","dist":{"shasum":"7d1411ff8b46893f8e44c6931d4ae7f36fb7d2bb","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-0.0.0.tgz","integrity":"sha512-7P8dvCuTvyqJFJI8KmebFSA3TI5ryzqRXALksZa5AhIX/PyK2Lpz7/e9SGalxlpaUah1nD1OhwfKMWFgnQdDjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGK6HEh6xs7rd56bOJ3gS8QfunA8H9kA6URHGrCB8sjnAiEAhHdYNbaTE412Kx89NAFy1UIYtYHnMEyw+TD4rs3sn8I="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}]},"0.0.1":{"name":"koa-i18n","version":"0.0.1","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"http://github.com/fundon/koa-i18n.git"},"keywords":["koa","locale","i18n","lang"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/fundon/koa-i18n/issues"},"homepage":"https://github.com/fundon/koa-i18n","dependencies":{"debug":"^0.7.4","i18n-2":"^0.4.6","koa-locale":"^0.1.0"},"_id":"koa-i18n@0.0.1","dist":{"shasum":"5a160162fea7168d509a3f435af723d1be9219fd","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-0.0.1.tgz","integrity":"sha512-9yuQJKunLLn7dgM+PNPiwxhkpC9EGI6S3oboTxMQzzdCxkFfATL4OHOQYM2hoBIfhicdPwbP9m/pQg75SgTx7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqZdd8/pe3Vm6UgaCWfrWiFlv9l2AIdigfNvu3lvASNAIgZ8jRYxH9+sru5ocNdox7fziMGIkhq16EVXiDXum0Yo0="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}]},"0.0.2":{"name":"koa-i18n","version":"0.0.2","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"http://github.com/fundon/koa-i18n.git"},"keywords":["koa","locale","i18n","lang"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/fundon/koa-i18n/issues"},"homepage":"https://github.com/fundon/koa-i18n","dependencies":{"debug":"^0.7.4","i18n-2":"^0.4.6","koa-locale":"^0.1.0"},"_id":"koa-i18n@0.0.2","dist":{"shasum":"671951417f4b0c8252353e69897484297af5ccf2","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-0.0.2.tgz","integrity":"sha512-q3rsBte+/l62pO8ED0d2KcWcRxTru2SVAy+FPbMWwHE/u1P86ht74K4wJHHCyT9NOGIw5XCSAjirV+ZNXuK+VA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDWNg2I6Nf+SrRXFZqsoa6OABiWMmAblVHiA0OryH5NQIgXpoOzjlOaZIigCroGvtsE/mLTMiTOkPpbYJdZV+zvXo="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}]},"0.1.0":{"name":"koa-i18n","version":"0.1.0","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"http://github.com/fundon/koa-i18n.git"},"keywords":["koa","locale","i18n","lang"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/fundon/koa-i18n/issues"},"homepage":"https://github.com/fundon/koa-i18n","dependencies":{"debug":"^0.7.4","i18n-2":"^0.4.6","koa-locale":"^0.1.1","utils-merge":"^1.0.0"},"devDependencies":{"should":"*","koa":"*","mocha":"*","supertest":"*","koa-compose":"*","koa-swig":"*","koa-locals":"*"},"_id":"koa-i18n@0.1.0","dist":{"shasum":"2d68477c5f99ca45a85b8beb81c2f4978a2eea0a","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-0.1.0.tgz","integrity":"sha512-DEMtnzwN3bvrC5S1k5gNCtfsychepQiohN36+HpAXYHwy+DuGDe76AnzELy6ORTU6AeXKpgR5pa2uerXi0idHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFBxs4aabnIyTjZ3LhD4IhZrh+JyvHS3H+vcS0Mv8OA1AiEA6r+eWSbAkbxKqZMooKyxzezuoXISBTH/Fv08qJU1rbA="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}]},"0.1.1":{"name":"koa-i18n","version":"0.1.1","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"http://github.com/fundon/koa-i18n.git"},"keywords":["koa","locale","i18n","lang"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/fundon/koa-i18n/issues"},"homepage":"https://github.com/fundon/koa-i18n","dependencies":{"debug":"^0.7.4","i18n-2":"^0.4.6","utils-merge":"^1.0.0"},"devDependencies":{"should":"*","koa":"*","mocha":"*","supertest":"*","koa-compose":"*","koa-swig":"*","koa-locals":"*","koa-locale":"*"},"_id":"koa-i18n@0.1.1","dist":{"shasum":"3e38b172da2cecc439677ca6eaf9f0651a762e1a","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-0.1.1.tgz","integrity":"sha512-TS9+ek87tIbGdC92Dj3kXZuC+OWEy2JiK6YyQ0aGd+pUj8zMd8QMHJC7ZOEJ7t5UIlriJkZ8If2bpEHm6a3FFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmNyhOPAZFGgVPeRj6vNDfYnaHRbCn/FsYCt+rErZQBAIhAOLSf/WRp8MGJENuHejzW5L5RnAJRB+wapIjOUat/H+1"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}]},"0.1.2":{"name":"koa-i18n","version":"0.1.2","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"http://github.com/fundon/koa-i18n.git"},"keywords":["koa","locale","i18n","lang"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/fundon/koa-i18n/issues"},"homepage":"https://github.com/fundon/koa-i18n","dependencies":{"debug":"^0.7.4","i18n-2":"^0.4.6","utils-merge":"^1.0.0"},"devDependencies":{"should":"*","koa":"*","mocha":"*","supertest":"*","koa-compose":"*","koa-swig":"*","koa-locals":"*","koa-locale":"*"},"_id":"koa-i18n@0.1.2","dist":{"shasum":"da799e25d9d231704d2ef3466afcafcbdc9cb27e","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-0.1.2.tgz","integrity":"sha512-AufblPwsekC8zBFM0BkCaWqOrw5b4nFdXevPi/16yiJMbFMt5Wv12wYCDeCrhtAtZIjElMcAooEjeW7pzEcEwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEc6PH8+/9wfYgK9dfj8439zUDGnAlz8W7/wuxdw5eDaAiBeffU0Q08MDtmuKKYQn3ltznlHkNGLj48i63+zpEYhuw=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}]},"0.1.3":{"name":"koa-i18n","version":"0.1.3","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"http://github.com/fundon/koa-i18n.git"},"keywords":["koa","locale","i18n","lang"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/fundon/koa-i18n/issues"},"homepage":"https://github.com/fundon/koa-i18n","dependencies":{"debug":"^0.7.4","i18n-2":"^0.4.6","utils-merge":"^1.0.0"},"devDependencies":{"should":"*","koa":"*","mocha":"*","supertest":"*","koa-compose":"*","koa-swig":"*","koa-locals":"*","koa-locale":"*"},"_id":"koa-i18n@0.1.3","dist":{"shasum":"7e64ac67119ceed1e4a607ab78306c6e1f0f2a10","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-0.1.3.tgz","integrity":"sha512-egsoAoBnenyyAMq0ygvH33FYX89gPTnJoWUA7W53tv39oXTEGayPxsw3RixQIGMwypAKEvr6bO+vhOX3xodmFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCePFx0DpMB8o2bGwPhwT3aP7yvDljhqyaC/3JIaBe7GgIhAO256gHjGQBRlu/uWjrN840ftQo3GOKEqAeBLIn/fQEI"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}]},"0.1.4":{"name":"koa-i18n","version":"0.1.4","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"http://github.com/fundon/koa-i18n.git"},"keywords":["koa","locale","i18n","lang"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/fundon/koa-i18n/issues"},"homepage":"https://github.com/fundon/koa-i18n","dependencies":{"debug":"^0.7.4","i18n-2":"^0.4.6","utils-merge":"^1.0.0"},"devDependencies":{"jade":"^1.3.1","koa":"*","koa-compose":"*","koa-locale":"*","koa-locals":"*","koa-swig":"*","koa-views":"^1.2.1","mocha":"*","should":"*","supertest":"*"},"_id":"koa-i18n@0.1.4","dist":{"shasum":"827e164fd144562a3c486138e1544b1e34b67f37","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-0.1.4.tgz","integrity":"sha512-urVjfTtUMs7L9LZmhj6mcWtl+5T7BJM1xANiqau8qKy6XsEZi03nKVN23TB2SjOpxEl37FIiHL0qojuNgSSreA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVvU0FtM3RiD0wkX2K1b+mf4wk+KONa3msKlxkWsKUogIhAKtiu+8HOQ5QEgK2BljQRTbyGYEaZZ71Zarlxae1nx5H"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}]},"0.2.0":{"name":"koa-i18n","version":"0.2.0","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"http://github.com/koa-modules/koa-i18n.git"},"keywords":["koa","locale","i18n","lang"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/koa-modules/koa-i18n/issues"},"homepage":"https://github.com/koa-modules/koa-i18n","dependencies":{"debug":"^0.7.4","i18n-2":"^0.4.6","utils-merge":"^1.0.0"},"devDependencies":{"jade":"^1.3.1","koa":"*","koa-compose":"*","koa-locale":"*","koa-locals":"*","koa-swig":"*","koa-views":"^1.2.1","mocha":"*","should":"*","supertest":"*"},"gitHead":"2e02711dd59afd4dd4472b16ee5b9b3b156a9325","_id":"koa-i18n@0.2.0","_shasum":"d648d74ffa1324f881c825956c58418f665506fa","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.11.14","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}],"dist":{"shasum":"d648d74ffa1324f881c825956c58418f665506fa","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-0.2.0.tgz","integrity":"sha512-Ojl+0if49Vw27PrOy3KaMB7yfhwqvih42xc8hOJy3ROBkz/zYLHlA22/lDLypBMM1brbfFzhZoZwy4Ox8T41aA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDNMOw7UOv19Nw8BjsIR4nQu1SK3IwYDPkq11rEdZO8NAiA+7rlZfkZfvgAHeLz+xlE52BXAEkrlWh8YXzE2hkV30A=="}]}},"0.3.0":{"name":"koa-i18n","version":"0.3.0","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"http://github.com/koa-modules/koa-i18n.git"},"keywords":["koa","locale","i18n","lang"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/koa-modules/koa-i18n/issues"},"homepage":"https://github.com/koa-modules/koa-i18n","dependencies":{"debug":"*","i18n-2":"*","utils-merge":"*"},"devDependencies":{"jade":"*","koa":"git+ssh://git@github.com:koajs/koa.git#master","koa-compose":"*","koa-locale":"*","koa-locals":"*","koa-swig":"~1.1.0","koa-views":"*","mocha":"*","should":"*","supertest":"*"},"gitHead":"96050d5162f3c5fcfb10da5eadc52bd10fbb4c1c","_id":"koa-i18n@0.3.0","_shasum":"f897e383d2371aef34b8fd57dce4b8075f79dac9","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.11.14","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}],"dist":{"shasum":"f897e383d2371aef34b8fd57dce4b8075f79dac9","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-0.3.0.tgz","integrity":"sha512-6cWglA4d3kdvPLXtPvIEqrGyPY7AiRUgdpcDcQOsLRPgu++E9Nqu9cJspbRl5RiewNH5uZn2L5yHvAmE0vQ0nQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClN+ZWr5Upfva9VhhefbN7PvpZuBgwn6g3I8blPQ/buQIhAOKjiTS3+zzIxZg5k3UOlWHuV/IKc6cFV+w9kLhTuXGV"}]}},"0.3.1":{"name":"koa-i18n","version":"0.3.1","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"http://github.com/koa-modules/koa-i18n.git"},"keywords":["koa","locale","i18n","lang"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/koa-modules/koa-i18n/issues"},"homepage":"https://github.com/koa-modules/koa-i18n","dependencies":{"debug":"*","i18n-2":"*","utils-merge":"*"},"devDependencies":{"jade":"*","koa":"git+https://github.com/koajs/koa#master","koa-compose":"*","koa-locale":"*","koa-locals":"*","koa-swig":"~1.1.0","koa-views":"*","mocha":"*","should":"*","supertest":"*"},"gitHead":"c73c0edbdba34082f3a1baaa5fbf4f5f4f455296","_id":"koa-i18n@0.3.1","_shasum":"1277958e9caab269c79a0fe17c88fea76e5947a7","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.11.14","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}],"dist":{"shasum":"1277958e9caab269c79a0fe17c88fea76e5947a7","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-0.3.1.tgz","integrity":"sha512-vQqY39FaL/uz99R/6SxvGpHOlkFZTk6kyh8VgelaaAmwMd7GU6oN9mc7r5++nIPTSkHupCJgagvP6wfer7ZPwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuRhnNUcz7Z3SEWyqX1OONysRBvHsKdrc0wm82qKRbZAIgHPgM2iSxWt76M0liTmPc+1CzbqAprPpKg4KefSBK16g="}]}},"0.3.2":{"name":"koa-i18n","version":"0.3.2","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"http://github.com/koa-modules/koa-i18n.git"},"keywords":["koa","locale","i18n","lang"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/koa-modules/koa-i18n/issues"},"homepage":"https://github.com/koa-modules/koa-i18n","dependencies":{"debug":"*","i18n-2":"*","utils-merge":"*"},"devDependencies":{"jade":"*","koa":"*","koa-compose":"*","koa-locale":"*","koa-locals":"*","koa-swig":"*","koa-views":"*","mocha":"*","should":"*","supertest":"*"},"gitHead":"70adde0a4b7e1b6abb1cd8b09a1b88c8edc590cc","_id":"koa-i18n@0.3.2","_shasum":"ac97e434e77e674c551ad199a12d8a6723ef266b","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.11.14","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}],"dist":{"shasum":"ac97e434e77e674c551ad199a12d8a6723ef266b","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-0.3.2.tgz","integrity":"sha512-gpmHZFV7gWQjI4xGqi0QWwJMgwamlzfykBOLUyp4WozTz7BtSUBwsWqpoRMeAaFzMaiqoMzRiLiLD/rXHiH7SQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEhnMtOPexyLXNg1YRba6ENiJprj32J9553KncmhxgfbAiBxkYEqWGAo2ACVMF9EMTJNlQU+Pcs7D7Pib8/73qZOHA=="}]}},"0.4.0":{"name":"koa-i18n","version":"0.4.0","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"http://github.com/koa-modules/koa-i18n.git"},"keywords":["koa","locale","i18n","lang"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/koa-modules/koa-i18n/issues"},"homepage":"https://github.com/koa-modules/koa-i18n","dependencies":{"debug":"*","i18n-2":"*","utils-merge":"*"},"devDependencies":{"jade":"*","koa":"*","koa-compose":"*","koa-locale":"*","koa-locals":"*","koa-swig":"*","koa-views":"*","mocha":"*","should":"*","supertest":"*"},"gitHead":"e255c24052cb86c440b00102714509fe50bd4ba8","_id":"koa-i18n@0.4.0","_shasum":"b09e9db83faac563ca9fc1d3c47186b110cadac3","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}],"dist":{"shasum":"b09e9db83faac563ca9fc1d3c47186b110cadac3","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-0.4.0.tgz","integrity":"sha512-NVjG9cUNo+1qmNqZYADvycvNjhEWQmMKio72B9KSTAMVhdRo1F9FTDMmEJpH8uwYkW8Ka1ybUQ24irhmvcXptA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIycyvqBwxpVMrtJSO++qFpopHIuQJM7+xrOXZhPpTqwIgOLA4rsWoi2BE2NfPOpuIXujWHUrXB/TEd63yR/+ZWlE="}]}},"1.0.0":{"name":"koa-i18n","version":"1.0.0","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"http://github.com/koa-modules/koa-i18n.git"},"keywords":["koa","locale","i18n","languages"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","dependencies":{"debug":"*","i18n-2":"*","utils-merge":"*"},"devDependencies":{"jade":"*","koa":"*","koa-compose":"*","koa-locale":"*","koa-swig":"*","koa-views":"*","mocha":"*","should":"*","supertest":"*"},"files":["index.js"],"gitHead":"ce3ec4d17fca3ca3d8372ffc9f968c211b40d3ac","bugs":{"url":"https://github.com/koa-modules/koa-i18n/issues"},"homepage":"https://github.com/koa-modules/koa-i18n","_id":"koa-i18n@1.0.0","_shasum":"abb4922ecdc39bbc773a09cc6cca6f3676d3d559","_from":".","_npmVersion":"2.6.0","_nodeVersion":"1.2.0","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}],"dist":{"shasum":"abb4922ecdc39bbc773a09cc6cca6f3676d3d559","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-1.0.0.tgz","integrity":"sha512-JJmrwbD+vBTXztbN1TKX7qDQ+jSl82flDJvtDU8Qmfn3uUk9BU7hNJIcIJGBNxQfvAGUhS/eSv/ApgWDx6yCPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVvDpAHfKCC0l8XEo1LairCmYvjKVyPN1LfEWBYPKyLAIhAKurrLtiHapkKpuWVRYxBDBo61U8kkTPpckp+/HzRJBq"}]}},"1.1.0":{"name":"koa-i18n","version":"1.1.0","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"http://github.com/koa-modules/koa-i18n.git"},"keywords":["koa","locale","i18n","languages"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","dependencies":{"debug":"*","i18n-2":"*","utils-merge":"*"},"devDependencies":{"jade":"*","koa":"*","koa-compose":"*","koa-locale":"*","koa-swig":"*","koa-views":"*","mocha":"*","should":"*","supertest":"*"},"files":["index.js"],"gitHead":"f1959c99e9142b768b29c6ed1bc220bbef3f0c01","bugs":{"url":"https://github.com/koa-modules/koa-i18n/issues"},"homepage":"https://github.com/koa-modules/koa-i18n","_id":"koa-i18n@1.1.0","_shasum":"89e94edc0b9401993ab8be023fd017acd4dacfe2","_from":".","_npmVersion":"2.6.0","_nodeVersion":"1.2.0","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}],"dist":{"shasum":"89e94edc0b9401993ab8be023fd017acd4dacfe2","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-1.1.0.tgz","integrity":"sha512-F+mIGTE+/GzWeiQWQtwymO+YDt1hB2BxfncFSBeXtmYuAVtrFVsA6yvxGVu99V295E1q3JkardAyi1aSbX+a2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6OKDYzg/esB3XTPBvb5xYk69nGHndxwkwLguzCBe1agIgY9melRds9bJdGIAMVoXo3inZTRJ5o5RuQX7rY1g0EEk="}]}},"1.1.1":{"name":"koa-i18n","version":"1.1.1","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"mocha --require should --reporter spec --timeout 5000 test"},"repository":{"type":"git","url":"git+ssh://git@github.com/koa-modules/koa-i18n.git"},"keywords":["koa","locale","i18n","languages"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","dependencies":{"debug":"*","i18n-2":"*","utils-merge":"*"},"devDependencies":{"jade":"*","koa":"1.x","koa-compose":"*","koa-locale":"*","koa-swig":"2.x","koa-views":"*","mocha":"*","should":"*","supertest":"*"},"files":["index.js"],"gitHead":"68c1bfa3927d052b5eb01a8f26bba9bbc7de779d","bugs":{"url":"https://github.com/koa-modules/koa-i18n/issues"},"homepage":"https://github.com/koa-modules/koa-i18n#readme","_id":"koa-i18n@1.1.1","_shasum":"dd3c981eb7ca222d35d9718e23f30029920ab600","_from":".","_npmVersion":"3.3.9","_nodeVersion":"4.2.1","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"dist":{"shasum":"dd3c981eb7ca222d35d9718e23f30029920ab600","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-1.1.1.tgz","integrity":"sha512-cHraIuaGnU2Bl4C3C6Vi4E4nL1WDzyhkvMDGGsRNvbOce9LKwKaDI6jTHDTRp5z89Yn+SoEfTnlmeDto4JMS/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAqtEA6fEg5KeedkYaB5dwOzD5ccqfZTozMNuVmi/Ts+AiEArF2WS3tFAPg0dKvEG8HrxU0TglfvWv60gsbXQFUaMg0="}]},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}]},"1.1.2":{"name":"koa-i18n","version":"1.1.2","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"mocha --require should --reporter spec --timeout 5000 test"},"repository":{"type":"git","url":"git+ssh://git@github.com/koa-modules/koa-i18n.git"},"keywords":["koa","locale","i18n","languages"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","dependencies":{"debug":"*","i18n-2":"*"},"devDependencies":{"jade":"*","koa":"1.x","koa-compose":"*","koa-locale":"*","koa-swig":"2.x","koa-views":"*","mocha":"*","should":"*","supertest":"*"},"files":["index.js"],"gitHead":"f2df53d47e6ccf4a8ea27fb36abaedf5b8665e12","bugs":{"url":"https://github.com/koa-modules/koa-i18n/issues"},"homepage":"https://github.com/koa-modules/koa-i18n#readme","_id":"koa-i18n@1.1.2","_shasum":"614c7239db4a143e89bbcef5e5e64ac6ee55795b","_from":".","_npmVersion":"3.3.9","_nodeVersion":"4.2.1","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"dist":{"shasum":"614c7239db4a143e89bbcef5e5e64ac6ee55795b","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-1.1.2.tgz","integrity":"sha512-IXyqFIKMmXk0/7i+UnNqXhl34JJydJzy+f0Hrn0fWLdAq84bQSCUGrLFRPBTCpANxONjSs4sS3gRMN1a0avPVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA6TOEAuSuivO3tetYcxsq1GQD31cl3UKXtZXbZA+Ce9AiBsULk2UXYM/NWtWWAMiuBl74MS+UU1T3WAedH9V15GCw=="}]},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}]},"1.2.0":{"name":"koa-i18n","version":"1.2.0","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"mocha --require should --reporter spec --timeout 5000 test","test-cov":"istanbul cover node_modules/.bin/_mocha -- -R dot -t 5000 test/*.js","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- -R dot -t 5000 test/*.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/koa-modules/koa-i18n.git"},"keywords":["koa","locale","i18n","languages"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","dependencies":{"debug":"*","i18n-2":"*"},"devDependencies":{"istanbul":"^0.4.0","jade":"*","koa":"1.x","koa-compose":"2.x","koa-locale":"*","koa-swig":"2.*","koa-views":"*","mocha":"*","should":"*","supertest":"*"},"engines":{"node":">= 4.0.0"},"files":["LICENSE","index.js"],"gitHead":"813ab62d0146cb14c13e6e8a247fefb93bb9ed41","bugs":{"url":"https://github.com/koa-modules/koa-i18n/issues"},"homepage":"https://github.com/koa-modules/koa-i18n#readme","_id":"koa-i18n@1.2.0","_shasum":"7dc42828cfc42aff9d4a2c75d387e592f4461cdd","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"dist":{"shasum":"7dc42828cfc42aff9d4a2c75d387e592f4461cdd","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-1.2.0.tgz","integrity":"sha512-fIjndSw7wWT/KFOoj1V9CYUYuCsTaixpqCgserZ9XhWRvPRP37ReaC5uyG6Cyq0j4wBXwGLQzNxjulSVOtz8Qw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICN0o2TaoUpLc9sfNww7SsMYXGpoQB+CwAS07Axjmz2iAiB2+BLkDNyWu6UCcApkINwAHwzbuDHRKlVMr9NDnhh1Ng=="}]},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}]},"2.0.0":{"name":"koa-i18n","version":"2.0.0","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"mocha --require should --reporter spec --timeout 5000 test","test-cov":"istanbul cover node_modules/.bin/_mocha -- -R dot -t 5000 test/*.js","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- -R dot -t 5000 test/*.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/koa-modules/koa-i18n.git"},"keywords":["koa","locale","i18n","languages"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","dependencies":{"debug":"*","i18n-2":"*"},"devDependencies":{"istanbul":"0.4.x","jade":"*","koa":"next","koa-compose":"3.x","koa-convert":"1.x","koa-locale":"*","koa-swig":"2.*","koa-views":"*","mocha":"*","should":"*","supertest":"*"},"engines":{"node":">= 4.0.0"},"files":["LICENSE","index.js"],"gitHead":"e198db1df166b6c2ddad35be517444ca5dc1ffeb","bugs":{"url":"https://github.com/koa-modules/koa-i18n/issues"},"homepage":"https://github.com/koa-modules/koa-i18n#readme","_id":"koa-i18n@2.0.0","_shasum":"3147023a6f23e52c13e62a53ebd30b4af8dac788","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.3.0","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"dist":{"shasum":"3147023a6f23e52c13e62a53ebd30b4af8dac788","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-2.0.0.tgz","integrity":"sha512-bFE5WD0U3O2RKsCk26j2n8ofKueR8qTyuhtFrzafuLF1+cN7SqdDp7I9C5Wf8GCA9/hYgEGryyHAhr+zzmkIfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBylwS7RFEhmmfgCram35bTW/ANeUSf1AbQJj8qCxhgBAiAuEtpxxFeFtD0FXHpE45atjU/q8wimwhr+UgK7bpe7uw=="}]},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}]},"2.0.1":{"name":"koa-i18n","version":"2.0.1","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"mocha --require should --reporter spec --timeout 5000 test","test-cov":"istanbul cover node_modules/.bin/_mocha -- -R dot -t 5000 test/*.js","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- -R dot -t 5000 test/*.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/koa-modules/koa-i18n.git"},"keywords":["koa","locale","i18n","languages"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","dependencies":{"debug":"*","i18n-2":"*"},"devDependencies":{"istanbul":"0.4.x","jade":"*","koa":"next","koa-compose":"3.x","koa-convert":"1.x","koa-locale":"*","koa-swig":"2.*","koa-views":"*","mocha":"*","should":"*","supertest":"*"},"engines":{"node":">= 4.0.0"},"files":["LICENSE","index.js"],"gitHead":"de84043e65f49b2867ee90aa7353917c8b3b1dca","bugs":{"url":"https://github.com/koa-modules/koa-i18n/issues"},"homepage":"https://github.com/koa-modules/koa-i18n#readme","_id":"koa-i18n@2.0.1","_shasum":"fafad095e49cbf95b120c88643f98da7a7aeb55a","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.3.0","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"dist":{"shasum":"fafad095e49cbf95b120c88643f98da7a7aeb55a","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-2.0.1.tgz","integrity":"sha512-CZTTV4J4c1QklTHWMqjNVNrp/DqINrR0lZrSNalYO9JU5CSqx1KvSdjBKfXmVXvLB07Ys24VwntccrXzW6gWbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE/O2aiXgUF9hyuUJr8rH3xL25ZRApepZ/OJxqaA7T4BAiBwgbbZhL4Vf//JHa85zjxwbherbbJecMoCIFqSk1vhgg=="}]},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}]},"2.1.0":{"name":"koa-i18n","version":"2.1.0","description":"Lightweight simple translation middleware for koa, based on i18n-2","main":"index.js","scripts":{"test":"mocha --require should --reporter spec --timeout 5000 test","test-cov":"istanbul cover node_modules/.bin/_mocha -- -R dot -t 5000 test/*.js","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- -R dot -t 5000 test/*.js"},"repository":{"type":"git","url":"git+https://github.com/koa-modules/koa-i18n.git"},"keywords":["koa","locale","i18n","languages"],"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"license":"MIT","dependencies":{"debug":"*","i18n-2":"*"},"devDependencies":{"istanbul":"^0.4.5","koa":"^2.2.0","koa-compose":"^3.2.1","koa-convert":"^1.2.0","koa-locale":"^1.3.0","koa-swig":"^2.2.1","koa-views":"^6.0.1","mocha":"^3.2.0","pug":"^2.0.0-beta11","should":"^11.2.1","supertest":"^3.0.0"},"engines":{"node":">=7"},"files":["LICENSE","index.js"],"gitHead":"f88c9ba733f47da8b68f8a72c1e7e9c0e644f0ea","bugs":{"url":"https://github.com/koa-modules/koa-i18n/issues"},"homepage":"https://github.com/koa-modules/koa-i18n#readme","_id":"koa-i18n@2.1.0","_shasum":"c5d399218a5307c11be54313a038b1937e529362","_from":".","_npmVersion":"4.3.0","_nodeVersion":"7.8.0","_npmUser":{"name":"fundon","email":"cfddream@gmail.com"},"dist":{"shasum":"c5d399218a5307c11be54313a038b1937e529362","tarball":"https://registry.npmjs.org/koa-i18n/-/koa-i18n-2.1.0.tgz","integrity":"sha512-pWxllaAv0aRN/07ImMYFDTbvyo9PtjzWULZS6YTdc+jTmJ6SFVe3tVDfRhPzFeQXNFOPh12eHVG7uHb431ci2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICeUSUt2ZP6sfDEBlOeprZLn+RhMOg8zUUcRzjPRi5EVAiEAtocWHU8YsBGS/NmgNSul+wAFcrotUSpMuruzir2oNBo="}]},"maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/koa-i18n-2.1.0.tgz_1491962708953_0.8308318578638136"}}},"readme":"# koa-i18n\n\n> I18n fro koa, based on [i18n-2].\n> **NOTE**: If want to use koa-i18n, [koa-locale] must be required!\n\n[![NPM version][npm-img]][npm-url]\n[![Build status][travis-img]][travis-url]\n[![Test coverage][coveralls-img]][coveralls-url]\n[![License][license-img]][license-url]\n[![Dependency status][david-img]][david-url]\n\nkoa-i18n version | branch | koa version\n---------------- | ------ | -----------\n1.x **latest**   | v1.x   | 1.x **latest**\n2.x **next**     | master | 2.x **next**\n\n### Installation\n\n```bash\n$ npm install koa-i18n\n```\n\n### Usage\n\n```js\nconst Koa = require('koa')\nconst convert = require('koa-convert')\nconst locale = require('koa-locale') //  detect the locale\nconst render = require('koa-swig')   //  swig render\nconst i18n = require('koa-i18n')\n\nconst app = new Koa()\n\n// Required!\nlocale(app)\n\napp.context.render = render({\n  root: __dirname + '/views/',\n  ext: 'html'\n})\n\napp.use(i18n(app, {\n  directory: './config/locales',\n  locales: ['zh-CN', 'en'], //  `zh-CN` defualtLocale, must match the locales to the filenames\n  modes: [\n    'query',                //  optional detect querystring - `/?locale=en-US`\n    'subdomain',            //  optional detect subdomain   - `zh-CN.koajs.com`\n    'cookie',               //  optional detect cookie      - `Cookie: locale=zh-TW`\n    'header',               //  optional detect header      - `Accept-Language: zh-CN,zh;q=0.5`\n    'url',                  //  optional detect url         - `/en`\n    'tld',                  //  optional detect tld(the last domain) - `koajs.cn`\n    function() {}           //  optional custom function (will be bound to the koa context)\n  ]\n}))\n\napp.use(function (ctx) {\n  ctx.body = ctx.i18n.__('any key');\n})\n\napp.use(convert(function *() {\n  yield this.render('index')\n}))\n```\n\n> **Tip**: We can change position of the elements in the `modes` array.\n> If one mode is detected, no continue to detect.\n\n\n### Dependencies\n\n* [i18n-2][]\n* [koa-locale][] - Get locale variable from query, subdomain, accept-languages or cookie\n\n\n### License\n\n  MIT\n\n[i18n-2]: https://github.com/jeresig/i18n-node-2\n[koa-locale]: https://github.com/koa-modules/koa-locale\n\n[npm-img]: https://img.shields.io/npm/v/koa-i18n.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/koa-i18n\n[travis-img]: https://img.shields.io/travis/koa-modules/i18n.svg?style=flat-square\n[travis-url]: https://travis-ci.org/koa-modules/i18n\n[coveralls-img]: https://img.shields.io/coveralls/koa-modules/i18n.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/koa-modules/i18n?branch=master\n[license-img]: https://img.shields.io/badge/license-MIT-green.svg?style=flat-square\n[license-url]: LICENSE\n[david-img]: https://img.shields.io/david/koa-modules/i18n.svg?style=flat-square\n[david-url]: https://david-dm.org/koa-modules/i18n\n","maintainers":[{"name":"fundon","email":"cfddream@gmail.com"}],"time":{"modified":"2022-06-19T09:17:47.501Z","created":"2014-04-19T00:39:43.505Z","0.0.0":"2014-04-19T00:39:43.505Z","0.0.1":"2014-04-19T00:45:35.902Z","0.0.2":"2014-04-19T00:53:14.662Z","0.1.0":"2014-04-23T01:44:50.494Z","0.1.1":"2014-04-23T04:12:50.430Z","0.1.2":"2014-04-23T13:15:39.469Z","0.1.3":"2014-04-23T15:13:19.083Z","0.1.4":"2014-04-23T23:12:42.488Z","0.2.0":"2014-11-14T04:20:44.337Z","0.3.0":"2014-12-13T13:00:53.722Z","0.3.1":"2014-12-13T14:57:17.967Z","0.3.2":"2014-12-18T05:35:32.017Z","0.4.0":"2015-01-12T05:37:50.118Z","1.0.0":"2015-03-08T16:30:31.645Z","1.1.0":"2015-03-08T17:58:16.862Z","1.1.1":"2015-10-20T01:39:30.770Z","1.1.2":"2015-10-20T01:44:55.662Z","1.2.0":"2015-11-20T15:17:43.547Z","2.0.0":"2016-01-07T17:09:36.603Z","2.0.1":"2016-01-07T18:00:12.871Z","2.1.0":"2017-04-12T02:05:10.646Z"},"homepage":"https://github.com/koa-modules/koa-i18n#readme","keywords":["koa","locale","i18n","languages"],"repository":{"type":"git","url":"git+https://github.com/koa-modules/koa-i18n.git"},"author":{"name":"Fangdun Cai","email":"cfddream@gmail.com"},"bugs":{"url":"https://github.com/koa-modules/koa-i18n/issues"},"license":"MIT","readmeFilename":"README.md"}