{"_id":"express-request-language","_rev":"38-adee1506f55f3685589a891a9b56e47f","name":"express-request-language","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","dist-tags":{"latest":"1.1.15","next":"1.1.5"},"versions":{"1.0.0":{"name":"express-request-language","version":"1.0.0","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"test":"bin/test"},"repository":{"type":"git","url":"https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^2.0.7","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","express":"^4.11.2","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0"},"gitHead":"a999fb0a5f4497cac125ecb002683951e06c884b","_id":"express-request-language@1.0.0","_shasum":"acc44433517b78b163e4ea438d481cbcd2859e3c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"dist":{"shasum":"acc44433517b78b163e4ea438d481cbcd2859e3c","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.0.0.tgz","integrity":"sha512-HwXxCBdZTWGRrRTKO523mbG1ycgqr8a8+c6PJcxsiccmWJK3VAG9GcMLukgpArkcrUcshZpkOvUnBERq+FAZgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGZuzhvvBglyWn95zcYNZrRZ9ylTyS6gTG616n+j23SNAiEAuAjtfXlxOySJA7f2f2pQiNveiIU/aWGwyARw1jIUnos="}]}},"1.0.2":{"name":"express-request-language","version":"1.0.2","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"test":"bin/test"},"repository":{"type":"git","url":"https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^2.0.7","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","express":"^4.11.2","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0"},"gitHead":"dc44fd738c484adbf960f6cee9904f54d1c6443d","_id":"express-request-language@1.0.2","_shasum":"ecb434387737a5da84fb61651f22aabbcfc6787f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"dist":{"shasum":"ecb434387737a5da84fb61651f22aabbcfc6787f","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.0.2.tgz","integrity":"sha512-ovLR70amC6dEoPgZVRk5kpc8jOW+n6371XlvKy3yZNh5+5kIAsKkDFLlqlpT8ElBCEZk0bSOb4V1x02whbVvKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFyOPlxE5vHDOW3+fIgcAko2N01cRzE1ZoSzuouys03ZAiEA/m57HZlekiHjT+QJPhKkiKp8q+luGDyQsD6u6CEbRDM="}]}},"1.0.3":{"name":"express-request-language","version":"1.0.3","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"test":"bin/test"},"repository":{"type":"git","url":"https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^2.0.7","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","express":"^4.11.2","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0"},"gitHead":"e11dd6388853f88d4a0c64d03bd8d2753c9cfee2","_id":"express-request-language@1.0.3","_shasum":"7bba43dd30b6ffdf71446c8bb1a3148e131de02b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"dist":{"shasum":"7bba43dd30b6ffdf71446c8bb1a3148e131de02b","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.0.3.tgz","integrity":"sha512-AwydvhauF/lIeyBYgTMvTWInlDwdALzcCsX3m+K+FsTqvfSM48FfhlvJdGLw9OS+bTNw9FLzthjhmXHdSp5yig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGOhL9foU0nt23UpF38BKP1wGz9KxjRj3DW87pgkN69wAiEA+q5lzCfuvtD+TF33xzckALh0voT1m9XtU2H7bAYw/ls="}]}},"1.0.4":{"name":"express-request-language","version":"1.0.4","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"test":"bin/test"},"repository":{"type":"git","url":"https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^2.0.7","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","express":"^4.11.2","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0"},"gitHead":"4bbc2537ca0f8efe9be6a4dfa28ed946bf1896b1","_id":"express-request-language@1.0.4","_shasum":"5c1078ffd990218175b331dd59475a79bf74ab47","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"dist":{"shasum":"5c1078ffd990218175b331dd59475a79bf74ab47","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.0.4.tgz","integrity":"sha512-NnY5FcoLH6l4norpLUHNFGJFtvojgblSQ7Er4Qi+yeiGXWe0/brwGb3gXeeNcu4vq/Kbku8tm7d74s5lPtC5aw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCc8RXTyEFo9AkWrxOog6QNt9nU0ESnxSV7aDvJymNjyQIhAN7yHiBIKL7w1QZMNumxcpN8V4uDACVZf30LJyXCQxTY"}]}},"1.0.5":{"name":"express-request-language","version":"1.0.5","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"test":"bin/test"},"repository":{"type":"git","url":"https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^2.0.7","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","express":"^4.11.2","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0"},"gitHead":"96aaff5085aab664f0ea324f9f029b49e03c87aa","_id":"express-request-language@1.0.5","_shasum":"e211656c72713a75f27dd8af5aa1618c664a3dd8","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"dist":{"shasum":"e211656c72713a75f27dd8af5aa1618c664a3dd8","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.0.5.tgz","integrity":"sha512-CN7ZleNTJCuZp2D/xrlfpeDABLwj4X4oRIshSu61FZmVabn84OXwVdLT9xw+AupHNiuIe/ih/0TYHhAurX7dcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCH3s8yBBtQGGvaBqpO54dqLr3aRLb5n0k+CvY3QKEHkQIhAOGX5amnuRBpOvtN7ThI1OB8J/jaJAkl/msxgQIbsLky"}]}},"1.0.6":{"name":"express-request-language","version":"1.0.6","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"test":"bin/test"},"repository":{"type":"git","url":"https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^2.0.7","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","express":"^4.11.2","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0"},"gitHead":"f0f67d2afb6d6026762940c242ceefb61f1ba248","_id":"express-request-language@1.0.6","_shasum":"530773d666717e3b9a265d2b680fbaf50408406a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"dist":{"shasum":"530773d666717e3b9a265d2b680fbaf50408406a","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.0.6.tgz","integrity":"sha512-JWnlFMnPvvsgnKWtRA3z8j3BP+Y5D99Q0F5LxrjtuZmcmtrx/UCVD+6R8H6uWzFJw6m0HrI1fNyULFfT31ox3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLIO4ipGJiWGp1gfC0WpuvIneVuRIMzjnQpng3Ahg0qAIgaee8J2VkO2bW6cbTiqkCCXnHHCj7gqpty3fmP+q9jBk="}]}},"1.0.8":{"name":"express-request-language","version":"1.0.8","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"test":"bin/test"},"repository":{"type":"git","url":"https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^2.0.7","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","express":"^4.11.2","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0"},"gitHead":"184237ec7127fd1d278b1356d1d79cdee6600bae","_id":"express-request-language@1.0.8","_shasum":"3b4a882b7e372877710efd31b8939c3c897d92cc","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"dist":{"shasum":"3b4a882b7e372877710efd31b8939c3c897d92cc","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.0.8.tgz","integrity":"sha512-iYsGPZAAJDYwhnkupAfxWUO0Ggjy14FiQp1SXrDu/jrnbLr/DVZ9uxHNqmNKXJOsDFzMw2hg2sPNxsSR0mAPHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC877Im/DH87U2VELAaWTRB6VX2/upVTsXe7SSJnHWCRQIgedBbRDhNfraOv2Q8jipG4F8JPfmlkvGkY0CaL64Xgts="}]}},"1.1.0":{"name":"express-request-language","version":"1.1.0","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"pretest":"eslint .","test":"bin/test","watch":"watch 'clear && npm run -s test' ."},"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^2.0.7","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","eslint":"1.10.3","express":"^4.11.2","lodash":"3.10.1","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0","watch":"0.17.1"},"gitHead":"dd93859b7aef170293c65ec3c0ac0d4438d22f5a","_id":"express-request-language@1.1.0","_shasum":"8c854c4b4bf552d5b36ee4e74898d65e38b0461c","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"dist":{"shasum":"8c854c4b4bf552d5b36ee4e74898d65e38b0461c","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.1.0.tgz","integrity":"sha512-WbaOqB8HaVFFYH16pHAD7ERIJBrpZ34mzXGLgRyFbytWK7ieP7NJmm4/UDORBYPhdp/LkuHN7W6ZiOQYNJWdaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCN2P6z6aKxO63ubKXACh7CV20QxCJyMJ+zEq3YQPiABwIgXT5mjKEV1mxuVUI71Um6vv3lMW1POZ7zI4+5r5uLxiU="}]},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}]},"1.1.1":{"name":"express-request-language","version":"1.1.1","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"pretest":"eslint .","test":"bin/test","watch":"watch 'clear && npm run -s test' ."},"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^2.0.7","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","eslint":"1.10.3","express":"^4.11.2","lodash":"3.10.1","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0","watch":"0.17.1"},"gitHead":"34a5fb74c4353894fa2b0b87bb2539e19d7f4061","_id":"express-request-language@1.1.1","_shasum":"af186d86de1cc27eb54af412b974e959a23dca71","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"dist":{"shasum":"af186d86de1cc27eb54af412b974e959a23dca71","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.1.1.tgz","integrity":"sha512-IcSF3cXoo2uF2+r7ayZOumjLOChtPCV5/2CBLDTZjiEZbuIBcML6eL1G/SrGdqk6iPbHhrzS6500lRWISvecaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDE5kjmZhIeP4Px9a/4AL3w3R3D+vntkDZpN9eKCRz9ngIhAIbr49iYfwLikTiFZNjokxvOCniwXgiI++NOqiJQHV7F"}]},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/express-request-language-1.1.1.tgz_1455932256049_0.5670684678480029"}},"1.1.2":{"name":"express-request-language","version":"1.1.2","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"pretest":"eslint .","test":"bin/test","watch":"watch 'clear && npm run -s test' ."},"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^2.0.7","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","eslint":"1.10.3","express":"^4.11.2","lodash":"3.10.1","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0","watch":"0.17.1"},"gitHead":"79071755f4907607ab8ff8a586095fb872153747","_id":"express-request-language@1.1.2","_shasum":"038a14a9ccf7caca23bfc61fff94700becac8438","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"dist":{"shasum":"038a14a9ccf7caca23bfc61fff94700becac8438","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.1.2.tgz","integrity":"sha512-sdo7CnO/zpLH/p3eMEhn3CyViNeHwgq+nwOlXWhQEvb6WPjagp13GnLab0kw9z4TZ+GYSugbt1km/RpUd6qe/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDu9QAHCJ+OKgS/5AGm3PoEl4OYSPX6QFmBFFnw4NSpcwIhAJqYhGrevKr3rDoeJJXzTqAIN+OvfgExIp2+W95aGZ3p"}]},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/express-request-language-1.1.2.tgz_1455972596038_0.8132000281475484"}},"1.1.3":{"name":"express-request-language","version":"1.1.3","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"pretest":"eslint .","test":"bin/test","watch":"watch 'clear && npm run -s test' ."},"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^2.0.7","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","eslint":"1.10.3","express":"^4.11.2","lodash":"3.10.1","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0","watch":"0.17.1"},"gitHead":"8bf47824cc140d8f6d0df4c909eb7e749d290758","_id":"express-request-language@1.1.3","_shasum":"ba5324442f2eef020e8177dc1b2e52103ff871c4","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"dist":{"shasum":"ba5324442f2eef020e8177dc1b2e52103ff871c4","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.1.3.tgz","integrity":"sha512-DyerDsKy6XjDDRAfKwiqbnRi6Vk/QyGDvMfS3tOxj5/cAIxUncZWDyA4F2KhCxkourQwz5Bbe9+P2YAVaQFhUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTvERAgq+/27i1UWM5jJIhklWrsGQaUOcmhQjfoRhmwQIgENSpNzNTVr/2NX9+6tCIHTyXR3j+SbR3iYut2uRggN0="}]},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/express-request-language-1.1.3.tgz_1455972761507_0.11845388193614781"}},"1.1.4":{"name":"express-request-language","version":"1.1.4","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"pretest":"eslint .","test":"bin/test","watch":"watch 'clear && npm run -s test' ."},"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^2.0.7","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","eslint":"1.10.3","express":"^4.11.2","lodash":"3.10.1","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0","watch":"0.17.1"},"gitHead":"594b476f03e1ce1b3e500c8c4101bd61bccbe367","_id":"express-request-language@1.1.4","_shasum":"64268852b378fc7448b7aca7f560b2cb2edb800d","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"dist":{"shasum":"64268852b378fc7448b7aca7f560b2cb2edb800d","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.1.4.tgz","integrity":"sha512-pcgu9wuzQmu+3fZvVEb48FQceeDdOa6RJyx3VNmL5LTWSEy2i/4Bl3X/MZpQ+xyjLEcQT0obaSJlDp/5cZtgew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSZmtvzgplHLfBlKExAyvQEYFvvE9Y+iT/6V8KTQbKawIgES/Oly5KLwsjuuL/5SFElo2tYtenVLCmo0pjRwMc9bY="}]},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/express-request-language-1.1.4.tgz_1456682658139_0.37860200041905046"}},"1.1.5":{"name":"express-request-language","version":"1.1.5","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"pretest":"eslint .","test":"bin/test","watch":"watch 'clear && npm run -s test' ."},"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^3.0.4","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","eslint":"1.10.3","express":"^4.11.2","lodash":"3.10.1","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0","watch":"0.17.1"},"gitHead":"2e85d8fef5fc887e11b8549010d42907f7de7415","_id":"express-request-language@1.1.5","_shasum":"bdf8874415f27619670885b58a6cd808a1ec46d7","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.3.1","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"dist":{"shasum":"bdf8874415f27619670885b58a6cd808a1ec46d7","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.1.5.tgz","integrity":"sha512-ZFqYUxNwUZoC+9p7030XXXrJiOcJkgNBG49eKeLfl96PNMOIR+QUWMVRS28wgxAS1lNEQekYMrEelpchTmJQlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCA9IdC+/N1JKcRAA0pQsY2Aa4X3phl4XEDJA4xMo+SxwIgZlxG38zNLf7MDRqWi+pVAklv+vnkFZkJCLKZH/LPjdQ="}]},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/express-request-language-1.1.5.tgz_1473324877490_0.41922147828154266"}},"1.1.6":{"name":"express-request-language","version":"1.1.6","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"pretest":"eslint .","test":"bin/test","watch":"watch 'clear && npm run -s test' ."},"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^3.0.4","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","eslint":"1.10.3","express":"^4.11.2","lodash":"3.10.1","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0","watch":"0.17.1"},"gitHead":"7c174f74eb0c4b3e2e954f336917700fb92e0565","_id":"express-request-language@1.1.6","_shasum":"e2b077ecaffddfdde00838a29ee0a39361c238b4","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.3.1","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"dist":{"shasum":"e2b077ecaffddfdde00838a29ee0a39361c238b4","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.1.6.tgz","integrity":"sha512-N8EO5Y6II1j94IIDMYIETz+hcAlhtGd5Cqm+H0e0iwGGjT1R9ORxYxeBoUCO06jsrBhBDStfajWJFZcomwZZKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICDR6m+zvB8+sG4xeHS1DMfmi8TMdSzEDTMmxC8GAMpwAiBFMWr2ugcXboi1D3ehMDKb2ozIDGo0n6eh3quE49i96w=="}]},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/express-request-language-1.1.6.tgz_1473325305285_0.11870633345097303"}},"1.1.7":{"name":"express-request-language","version":"1.1.7","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"pretest":"eslint .","test":"bin/test","watch":"watch 'clear && npm run -s test' ."},"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"@types/express":"^4.0.32","accept-language":"^3.0.4","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","eslint":"1.10.3","express":"^4.11.2","lodash":"3.10.1","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0","watch":"0.17.1"},"gitHead":"02904e454f645e8f4ef01b4b68dca2061a4ce551","_id":"express-request-language@1.1.7","_shasum":"2250a6973f5ec9e25d92c6f142ea93e76e6649d5","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.3.1","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"dist":{"shasum":"2250a6973f5ec9e25d92c6f142ea93e76e6649d5","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.1.7.tgz","integrity":"sha512-SZGtwOCcTyBvzDLRR2RO/FnOkn+T0XzzTL4gdx6wfS3Ubrr4FClATPR/h1ZPwagLipc8xWv7uZyQ1XQcBTkcLg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF7+0ML4T8C24SgUFeiQGUjEtn7/+aIciAQI2tuZmTMtAiEArjXEtLGx3eHcBtzU0WgUQZNpA64ts4OxQes7vjYNAAY="}]},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/express-request-language-1.1.7.tgz_1473956895434_0.23163566482253373"}},"1.1.8":{"name":"express-request-language","version":"1.1.8","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"pretest":"eslint .","test":"bin/test","watch":"watch 'clear && npm run -s test' ."},"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"@types/express":"^4.0.32","accept-language":"^3.0.4","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","eslint":"1.10.3","express":"^4.11.2","lodash":"3.10.1","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0","watch":"0.17.1"},"gitHead":"d1dea12295cb78823d137b40c369d6e9afe91dbb","_id":"express-request-language@1.1.8","_shasum":"2564063607f9634ac4936eea8d9eb4acbb0a822c","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.3.1","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"dist":{"shasum":"2564063607f9634ac4936eea8d9eb4acbb0a822c","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.1.8.tgz","integrity":"sha512-gpuCemAV2xWFRh62Ts5tJZf1nIiV6fy+w/+2rWj1gbMIpD5Rl7DIIVUcw+D+o0hwKSTSKjLxnzASdtWrHJpP8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAxk+QIbsyF8Ol9iTsGm9uwMwRD5XdGHUC5lyXAClDXFAiEAu88g7ou3Px6MAc/eNwQuMtivwffWKqF745+CBkpavkc="}]},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/express-request-language-1.1.8.tgz_1476495024424_0.27605101373046637"}},"1.1.9":{"name":"express-request-language","version":"1.1.9","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"pretest":"eslint .","test":"bin/test","watch":"watch 'clear && npm run -s test' ."},"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"@types/express":"^4.0.32","accept-language":"^3.0.4","bcp47":"^1.1.2"},"devDependencies":{"chai":"^2.0.0","cookie-parser":"^1.3.4","eslint":"1.10.3","express":"^4.11.2","lodash":"3.10.1","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0","watch":"0.17.1"},"gitHead":"05b654e7c165e7b6c13f12e6301091c1dee98a25","_id":"express-request-language@1.1.9","_shasum":"8d20385724f50e0bf40afd891ac589add6da633b","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.3.1","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"dist":{"shasum":"8d20385724f50e0bf40afd891ac589add6da633b","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.1.9.tgz","integrity":"sha512-ThkiM043ck8A/id+PqfIOjKaQ9T4vTqxSdeXIZTNIvOYWeICxp7JZAQoohq3wXvN7E3gKfxc5XodcL4997Dbyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSNae32TWKfNxd0yZp6SR3jsJD2ThSYk4FeT+8ONyAlwIhALqh6URbKbUTg7wcTeXDpFMvjGHvj82n0eSwvSSbO04f"}]},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/express-request-language-1.1.9.tgz_1478174487017_0.8477589546237141"}},"1.1.10":{"name":"express-request-language","version":"1.1.10","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"pretest":"eslint .","test":"bin/test","watch":"watch 'clear && npm run -s test' ."},"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^3.0.4","bcp47":"^1.1.2"},"devDependencies":{"@types/express":"^4.0.32","chai":"^2.0.0","cookie-parser":"^1.3.4","eslint":"1.10.3","express":"^4.11.2","lodash":"3.10.1","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0","watch":"0.17.1"},"gitHead":"ef639e330439584135b4432478e5b193fb7e1f8d","_id":"express-request-language@1.1.10","_shasum":"570a891125d5edbceb55f084e3010f2643ea04ad","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"dist":{"shasum":"570a891125d5edbceb55f084e3010f2643ea04ad","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.1.10.tgz","integrity":"sha512-6Bsu5j6K3PrfOIl5VY2heUI45pa1ZG8c/LOp2Ily6cwYxunHBMIh9V+zwCKBihA5TezgwefDjhMNiXUkRJ878A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGqJHczJE0TlZ3+Q2QxBduJ7+SA+rYCNKQSovn5Yw2wxAiA9HU2FC/6CBQi4k8Gv3YiqyYonKB1r4GIMq2Ty2mF+Wg=="}]},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/express-request-language-1.1.10.tgz_1490218326906_0.7886983975768089"}},"1.1.11":{"name":"express-request-language","version":"1.1.11","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"pretest":"eslint .","test":"bin/test","watch":"watch 'clear && npm run -s test' ."},"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^3.0.4","bcp47":"^1.1.2"},"devDependencies":{"@types/express":"^4.0.32","chai":"^2.0.0","cookie-parser":"^1.3.4","eslint":"1.10.3","express":"^4.11.2","lodash":"3.10.1","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0","watch":"0.17.1"},"gitHead":"f4e4f9754463f2df3c58965d6099811bbdca8b78","_id":"express-request-language@1.1.11","_shasum":"33434353020e87c30402116871f420c55417ca57","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"dist":{"shasum":"33434353020e87c30402116871f420c55417ca57","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.1.11.tgz","integrity":"sha512-1rSCPAWJcXi5i4xpHunuc9WPwS0SEfCDKw5rG/sd2hUKSCc3HThdBh5NDRbDChK1CtExi60ud4AuwOKGU3ou+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEWzwqVALrQ4tx4Gc46zT07IOYOSyY4yDm57kegB+lCxAiEAy12h3yl47hs61WNPulikBpLNyntAlNZLf3BbhfQgC/o="}]},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-request-language-1.1.11.tgz_1497200682005_0.9922843659296632"}},"1.1.12":{"name":"express-request-language","version":"1.1.12","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"pretest":"eslint .","test":"bin/test","watch":"watch 'clear && npm run -s test' ."},"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^3.0.4","bcp47":"^1.1.2"},"devDependencies":{"@types/express":"^4.0.32","chai":"^2.0.0","cookie-parser":"^1.3.4","eslint":"1.10.3","express":"^4.11.2","lodash":"3.10.1","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0","watch":"0.17.1"},"gitHead":"77291db0469201718e05db0f438f8b7b3d92a8c2","_id":"express-request-language@1.1.12","_shasum":"bbf823ef0b11e8cebc07d425f0df9d5e09001f44","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.0","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"dist":{"shasum":"bbf823ef0b11e8cebc07d425f0df9d5e09001f44","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.1.12.tgz","integrity":"sha512-Nn6TVNpp/3/LM83tDnGcBN38/a4JhcOZ3JGOQMMA0WVPJugiAN0qV+zhdBWYfkTCcloVny/42jXbDmwo34luVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBwbTlbZKZW+WyG14vDI6Tqu7EkgKcAwzrTpjxe5+ET5AiBEVLCUCR88s/6JPTDY/4m+JCMdietDFjkONgweH01N7w=="}]},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-request-language-1.1.12.tgz_1499418827564_0.6658280321862549"}},"1.1.14":{"name":"express-request-language","version":"1.1.14","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"pretest":"eslint .","test":"bin/test","watch":"watch 'clear && npm run -s test' ."},"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^3.0.4","bcp47":"^1.1.2"},"devDependencies":{"@types/express":"^4.0.32","chai":"^2.0.0","cookie-parser":"^1.3.4","eslint":"1.10.3","express":"^4.11.2","lodash":"3.10.1","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0","watch":"0.17.1"},"gitHead":"bc07dbcd32d1258b6bc1b61713297acf612836d7","_id":"express-request-language@1.1.14","_shasum":"7d1fe9205060a2f166d1dfb29a2f747bfa7eb7cd","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"dist":{"shasum":"7d1fe9205060a2f166d1dfb29a2f747bfa7eb7cd","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.1.14.tgz","integrity":"sha512-R+Ulq/WAKzdNtaW8pJJSW5aTCN3IS30WQd8EECBOjVhRsR90ySupStq+VVL7YI1uCc4fz2e/+p02It1oWZpDDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1jlDSdukuYAyjl0cGkcw7TiXdlxN2Ue7XVoMPoEMmoQIgSgk8rwIT1krfG6PPGhbCHL/GsqFD/+DB+E8G4tkTHK8="}]},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-request-language-1.1.14.tgz_1508584151005_0.5397564927116036"}},"1.1.15":{"name":"express-request-language","version":"1.1.15","description":"Figure out a request's language tag by parsing Accept-Language header and stored cookies.","main":"index.js","scripts":{"pretest":"eslint .","test":"bin/test","watch":"watch 'clear && npm run -s test' ."},"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"keywords":["i18n","http","accept-language"],"author":{"name":"Tingan Ho"},"license":"MIT","bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"homepage":"https://github.com/tinganho/express-request-language","dependencies":{"accept-language":"^3.0.4","bcp47":"^1.1.2"},"devDependencies":{"@types/express":"^4.0.32","chai":"^2.0.0","cookie-parser":"^1.3.4","eslint":"1.10.3","express":"^4.11.2","lodash":"3.10.1","mocha":"^2.1.0","sinon":"^1.12.2","sinon-chai":"^2.7.0","watch":"0.17.1"},"gitHead":"c1882b2760cf32216f1be7e39411ccd67ecb63f8","_id":"express-request-language@1.1.15","_npmVersion":"5.2.0","_nodeVersion":"8.7.0","_npmUser":{"name":"tinganho","email":"tingan87@gmail.com"},"dist":{"integrity":"sha512-KiLUdEZCcgwh8qfIvkCrhz1MMAFx/Xj4UcspN4zUxVdp+bp+yFvqUMmlyMHK2nC5JlQV7VK5uFOoS5LrArTL1A==","shasum":"081d1f5c56994daaf9aa7034048101819ace7b4c","tarball":"https://registry.npmjs.org/express-request-language/-/express-request-language-1.1.15.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvAegGUdBXXCphN7FyRsgl+wod4RP3PO/ju60DDdLYXgIhAIjKX3Z9S42u0Su5UDSpp+LsE1Yxr4YXRjvA15q81deE"}]},"maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-request-language-1.1.15.tgz_1509447885842_0.3471935046836734"}}},"readme":"request-language [![Build Status](https://travis-ci.org/tinganho/express-request-language.png)](https://travis-ci.org/tinganho/express-request-language)\n========================\nA middleware to figure out your request's language either by parsing `Accept-Language` header or by looking at a language cookie's value. `request-language` plays nicely with [L10ns][] by abstracting all your language setting logic for you.\n\n### Installation:\n\n```\nnpm install express-request-language --save\n```\n\n### Usage\nUse it as a middleware to express. All options are described below. Your language will be accessed with `req.language`.\n\n```javascript\nvar requestLanguage = require('express-request-language');\nvar cookieParser = require('cookie-parser');\nvar express = require('express');\nvar app = express();\n\napp.use(cookieParser());\napp.use(requestLanguage({\n  languages: ['en-US', 'zh-CN'],\n  cookie: {\n    name: 'language',\n    options: { maxAge: 24*3600*1000 },\n    url: '/languages/{language}'\n  }\n}));\n\napp.get('/', function(req, res, next) {\n  console.log(req.language); // 'en-US'\n});\n...\n```\n\n### Usage with [L10ns](http://l10ns.org)\nAccess all your localizations in `req.localizations`.\n```javascript\nvar requestLanguage = require('express-request-language');\nvar cookieParser = require('cookie-parser');\nvar express = require('express');\nvar localizations = require('path/to/l10ns/output/all');\nvar app = express();\n\napp.use(cookieParser());\napp.use(requestLanguage({\n  languages: ['en-US', 'zh-CN'],\n  cookie: {\n    name: 'language',\n    options: { maxAge: 24*3600*1000 },\n    url: '/languages/{language}'\n  },\n  localizations: localizations\n}));\n\napp.get('/', function(req, res, next) {\n  // It will use localization from the right language.\n  var l = req.localizations;\n  console.log(l('HELLO_WORLD'));\n});\n...\n```\n\n### Options\n\n#### languages \\{Array\\}\nDefine your language tags ordered in highest priority comes first fashion. The language tags must comply with [BCP47][] standard. The [BCP47][] language tag consist of at least the following subtags:\n\n1. A language subtag (`en`, `zh`).\n3. A script subtag (`Hant`, `Latn`).\n2. A region subtag (`US`, `CN`).\n\nThen language tag has the following syntax:\n\n```\nlanguage[-script][-region]\n```\n\nWhich makes the following language tags `en`, `en-US` and `zh-Hant-TW` all [BCP47][] compliant. Please note that the script tag refers to language script. Some languages use two character sets instead of one. Chinese is a good example of having two character sets instead of one–it has both traditional characters and simplified characters. And for popular languages that uses two or more scripts please specify the script subtag, because it can make an i18n library fetch more specific locale data.\n\n#### cookie (optional) \\{Object\\}\nSetting the cookie property is optional and whenever it is set this middleware will look at the cookie value instead of the `Accept-Language` header. Setting this cookie property is ideal for application that support more than 1 language and allows users to change language. This option requires that you uses express' cookie middleware [cookie-parser](https://github.com/expressjs/cookie-parser).\n\n##### cookie.name\nName of the language cookie. It will store the current language tag of the user's session and remain until `maxAge` expires or changed by `cookie.url`.\n\n##### cookie.options (optional)\nThe options are the same options as express uses in `res.cookie(name, value. options)`. Please checkout their [documentation](http://expressjs.com/4x/api.html#res.cookie).\n\n##### cookie.url (optional)\nSet the change language URL. Lets say that you set the value to `/languages/{language}` in your configurations. If you visit with your browser the URL path `/languages/en-US`. It will change your language cookie value to `en-US`. It will redirect back to the origin URL if you send a referrer header and default to `/` if it don't send a referrer header.\n\n#### queryName (optional) \\{Object\\}\nYou can optionally set the language using a query string. This option allows you to set the name of the query parameter that triggers the language setting. The default value is `language`.\n\nThe selected language can be unset by setting the language parameter to `default`.\n\n```js\nvar middleware = requestLangauge({\n  languages: ['en-US', 'zh-CN'],\n  queryName: 'locale', // ?locale=zh-CN will set the language to 'zh-CN'\n  cookie: {\n    name: 'language'\n  }\n});\n```\n\n#### localizations (optional) {Function}\nSet the [L10ns][] `requireLocalizations(language)` function. The right language tag will be used and automatically figured out by `request-language`. [L10ns'][L10ns] `l()` function will be accessible through express' `req.localizations`. You also need to set a scoped `l` variable before usage, otherwise [L10ns][] can't update localization keys through code traversal:\n\n```javascript\napp.get('/', function(req, res, next) {\n  var l = req.localizations;\n});\n```\n### Maintainer\n\nTingan Ho [@tingan87][]\n\n### License\nMIT\n\n[L10ns]: http://l10ns.org\n[BCP47]: https://tools.ietf.org/html/bcp47\n[@tingan87]: https://twitter.com/tingan87\n","maintainers":[{"name":"tinganho","email":"tingan87@gmail.com"}],"time":{"modified":"2022-06-17T22:33:48.231Z","created":"2015-02-16T07:56:04.275Z","1.0.0":"2015-02-16T07:56:04.275Z","1.0.2":"2015-02-16T08:22:34.355Z","1.0.3":"2015-02-16T08:23:50.417Z","1.0.4":"2015-02-16T08:29:17.661Z","1.0.5":"2015-02-16T08:32:33.867Z","1.0.6":"2015-02-16T08:55:39.813Z","1.0.8":"2015-02-18T01:10:28.817Z","1.1.0":"2016-01-11T03:54:31.531Z","1.1.1":"2016-02-20T01:37:38.971Z","1.1.2":"2016-02-20T12:50:00.934Z","1.1.3":"2016-02-20T12:52:44.364Z","1.1.4":"2016-02-28T18:04:19.168Z","1.1.5":"2016-09-08T08:54:39.725Z","1.1.6":"2016-09-08T09:01:47.418Z","1.1.7":"2016-09-15T16:28:16.766Z","1.1.8":"2016-10-15T01:30:24.686Z","1.1.9":"2016-11-03T12:01:27.531Z","1.1.10":"2017-03-22T21:32:08.796Z","1.1.11":"2017-06-11T17:04:42.967Z","1.1.12":"2017-07-07T09:13:48.504Z","1.1.14":"2017-10-21T11:09:11.900Z","1.1.15":"2017-10-31T11:04:46.818Z"},"homepage":"https://github.com/tinganho/express-request-language","keywords":["i18n","http","accept-language"],"repository":{"type":"git","url":"git+https://github.com/tinganho/express-request-language.git"},"author":{"name":"Tingan Ho"},"bugs":{"url":"https://github.com/tinganho/express-request-language/issues"},"license":"MIT","readmeFilename":"README.md","users":{"powmedia":true,"antixrist":true,"yazanrawashdeh":true,"rocket0191":true,"wearevilla":true,"meeh":true}}