{"_id":"express-locale","_rev":"24-0acefc0c7e64043e847f2e49a077c30d","name":"express-locale","description":"Express middleware to determine locale","dist-tags":{"latest":"2.0.2"},"versions":{"0.1.0":{"name":"express-locale","version":"0.1.0","description":"Express middleware to determine locale","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/smhg/express-locale.git"},"keywords":["locale","express","i18n","l10n","culture"],"author":{"name":"Sam Hauglustaine"},"license":"MIT","gitHead":"18909159b2111cc1b5661d375325952c9605ec3a","devDependencies":{"express":"~3.1.0","mocha":"~1.8.2"},"_id":"express-locale@0.1.0","dist":{"shasum":"1c9fde4c28cfabf24ba37d1d18501b5e63e19a9e","tarball":"https://registry.npmjs.org/express-locale/-/express-locale-0.1.0.tgz","integrity":"sha512-v/br6ldCZbN5Aogh1oxegbm3VDRgWMXqtbmCdPGaOBKOcvPXdSYgHXu7zt7wZkfqjo4ASsY4/zDa3rrcN+JuqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeLfYgfqL6uFPZbNaC9vzoBifZPCBEsxAN8OI6Qmx2FwIhAJxdNkkCUHoSiTf7yATLu/sdv8vMVRvkVk6fGZ6EtfDp"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"smhg","email":"sam@strictlyphp.com"},"maintainers":[{"name":"smhg","email":"sam@strictlyphp.com"}],"directories":{}},"0.1.1":{"name":"express-locale","version":"0.1.1","description":"Express middleware to determine locale","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/smhg/express-locale.git"},"keywords":["locale","express","i18n","l10n","culture"],"author":{"name":"Sam Hauglustaine"},"license":"MIT","gitHead":"18909159b2111cc1b5661d375325952c9605ec3a","devDependencies":{"express":"3.x","mocha":"1.x"},"bugs":{"url":"https://github.com/smhg/express-locale/issues"},"homepage":"https://github.com/smhg/express-locale","_id":"express-locale@0.1.1","_shasum":"0aa9284f43298c88edafb6dbf6c20d083be6b052","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"smhg","email":"sam@strictlyphp.com"},"maintainers":[{"name":"smhg","email":"sam@strictlyphp.com"}],"dist":{"shasum":"0aa9284f43298c88edafb6dbf6c20d083be6b052","tarball":"https://registry.npmjs.org/express-locale/-/express-locale-0.1.1.tgz","integrity":"sha512-Vrr7HywhvPfNmMKR+hDpYOcAaC7TJwKyXK720lX6mkZhljvn8GiafR1hi7Fweqf7xNwXD2lxeQo8lxYgrdy7rQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlH0XOARwenrglaS/5bMGR7DxeOtZnGirkMx4h/sipBwIgXBawbdXqMSLeNpAsXMblHXO+RavP6+usuBMSWXsoIZE="}]},"directories":{}},"0.1.2":{"name":"express-locale","version":"0.1.2","description":"Express middleware to determine locale","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/smhg/express-locale.git"},"keywords":["locale","express","i18n","l10n","culture"],"author":{"name":"Sam Hauglustaine"},"license":"MIT","gitHead":"18909159b2111cc1b5661d375325952c9605ec3a","devDependencies":{"express":"3.x","mocha":"1.x"},"bugs":{"url":"https://github.com/smhg/express-locale/issues"},"homepage":"https://github.com/smhg/express-locale","_id":"express-locale@0.1.2","_shasum":"a16a7632dca1796839fdf54ce53ea141c6e08373","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"smhg","email":"sam@strictlyphp.com"},"maintainers":[{"name":"smhg","email":"sam@strictlyphp.com"}],"dist":{"shasum":"a16a7632dca1796839fdf54ce53ea141c6e08373","tarball":"https://registry.npmjs.org/express-locale/-/express-locale-0.1.2.tgz","integrity":"sha512-TIi355AR8eTpBtL4XkUkhpZWElD+YkW63F1okQzX/HsOwd0b1l0f45Gr9T9uRCeJmuVRBzEVYZv40gEqYEduQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDduhnAyUov288Yff/aBJ95IOu9C9VWU21tlOmg4OPK1wIgS1COBA+ZiAE7G5FNYhQMSefT/Wti0WYM5hWFXFQWChM="}]},"directories":{}},"1.0.0":{"name":"express-locale","version":"1.0.0","description":"Express middleware to determine locale","main":"lib/index.js","scripts":{"lint":"eslint index.js src test","build":"babel src -d lib","test":"mocha --compilers js:babel-register","clean":"rm -rf lib","preversion":"npm run lint && npm test","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test && npm run build","postpublish":"npm run clean"},"repository":{"type":"git","url":"git+https://github.com/smhg/express-locale.git"},"keywords":["locale","express","i18n","l10n","culture"],"author":{"name":"Sam Hauglustaine"},"license":"MIT","devDependencies":{"babel-cli":"6.16.0","babel-plugin-transform-object-rest-spread":"6.16.0","babel-polyfill":"6.16.0","babel-preset-es2015":"6.16.0","babel-register":"6.16.3","cookie-parser":"1.4.3","eslint":"3.8.0","eslint-config-standard":"6.2.0","eslint-plugin-promise":"3.0.0","eslint-plugin-standard":"2.0.1","express":"4.14.0","express3":"0.0.0","mocha":"3.1.2","supertest":"2.0.0"},"gitHead":"9afeed5f63737d9b01de9f32b5ad0146a2656912","bugs":{"url":"https://github.com/smhg/express-locale/issues"},"homepage":"https://github.com/smhg/express-locale#readme","_id":"express-locale@1.0.0","_shasum":"66b93d828c6e38d0d5ecbb97c57ac0176209a8cd","_from":".","_npmVersion":"3.10.8","_nodeVersion":"4.6.0","_npmUser":{"name":"smhg","email":"sam@strictlyphp.com"},"dist":{"shasum":"66b93d828c6e38d0d5ecbb97c57ac0176209a8cd","tarball":"https://registry.npmjs.org/express-locale/-/express-locale-1.0.0.tgz","integrity":"sha512-80yzfeF9TcqSgp+quPPKTbKysXzhzRjWZwiKuNLrAlrURRo419zMsYdtalqP+fhMIllpcyfRZUdf2U+NmDfuFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDm1E2NM1/Vd6GrUsWjQqGHyaj7ZtstYY3shgpmmFZdkAIhAOSUeEZdUtb8a5qK631JHhuSHc9Kfp4FGDTf8I0zRJvI"}]},"maintainers":[{"name":"smhg","email":"sam@strictlyphp.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/express-locale-1.0.0.tgz_1478376905544_0.31892932252958417"},"directories":{}},"1.0.1":{"name":"express-locale","version":"1.0.1","description":"Express middleware to determine locale","main":"lib/index.js","scripts":{"lint":"eslint index.js src test","build":"babel src -d lib","test":"mocha --compilers js:babel-register","clean":"rm -rf lib","preversion":"npm run lint && npm test","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test && npm run build","postpublish":"npm run clean"},"repository":{"type":"git","url":"git+https://github.com/smhg/express-locale.git"},"keywords":["locale","express","i18n","l10n","culture"],"author":{"name":"Sam Hauglustaine"},"license":"MIT","devDependencies":{"babel-cli":"6.18.0","babel-plugin-transform-object-rest-spread":"6.16.0","babel-polyfill":"6.16.0","babel-preset-es2015":"6.18.0","babel-register":"6.18.0","cookie-parser":"1.4.3","eslint":"3.9.1","eslint-config-standard":"6.2.1","eslint-plugin-promise":"3.3.1","eslint-plugin-standard":"2.0.1","express":"4.14.0","express3":"0.0.0","mocha":"3.1.2","supertest":"2.0.1"},"gitHead":"f459de2d221328b2d2bfc8ec399a14b3d3523e94","bugs":{"url":"https://github.com/smhg/express-locale/issues"},"homepage":"https://github.com/smhg/express-locale#readme","_id":"express-locale@1.0.1","_shasum":"673b61ac0ae4ab45ec6eae9190ebb4c081813f90","_from":".","_npmVersion":"4.0.3","_nodeVersion":"4.6.2","_npmUser":{"name":"smhg","email":"sam@strictlyphp.com"},"dist":{"shasum":"673b61ac0ae4ab45ec6eae9190ebb4c081813f90","tarball":"https://registry.npmjs.org/express-locale/-/express-locale-1.0.1.tgz","integrity":"sha512-To5MFMNJ/qek11r09FQdyFBmTkgyaDq8fDH1HvtFCQ+sh+AXh1wiV/YN5WQkvsU2fuYML5duvcnHLBkEaiQUNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4ROLXX9v4iWcmJzXMnz0Yz5CMrqSga0/oxsVvdxf/1AIgeqC1o2fLNbwYwK+0jDigEcnjYfNlN6RZUfjrc+Rvu9U="}]},"maintainers":[{"name":"smhg","email":"sam@strictlyphp.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/express-locale-1.0.1.tgz_1481018085551_0.839360801037401"},"directories":{}},"1.0.2":{"name":"express-locale","version":"1.0.2","description":"Express middleware to determine locale","main":"lib/index.js","scripts":{"lint":"eslint index.js src test","build":"babel src -d lib","test":"mocha --compilers js:babel-register","clean":"rm -rf lib","preversion":"npm run lint && npm test","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test && npm run build","postpublish":"npm run clean"},"repository":{"type":"git","url":"git+https://github.com/smhg/express-locale.git"},"keywords":["locale","express","i18n","l10n","culture"],"author":{"name":"Sam Hauglustaine"},"license":"MIT","devDependencies":{"babel-cli":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015":"^6.24.1","babel-register":"^6.24.1","cookie-parser":"^1.4.3","eslint":"^4.1.1","eslint-config-standard":"^10.2.1","eslint-plugin-import":"^2.6.1","eslint-plugin-node":"^5.1.0","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^3.0.1","express":"^4.15.3","express3":"^0.0.0","mocha":"^3.4.2","supertest":"^3.0.0"},"dependencies":{"babel-runtime":"^6.23.0"},"gitHead":"5c67f07a73773d9d9f8f79def016f93844b74add","bugs":{"url":"https://github.com/smhg/express-locale/issues"},"homepage":"https://github.com/smhg/express-locale#readme","_id":"express-locale@1.0.2","_npmVersion":"5.0.4","_nodeVersion":"6.11.0","_npmUser":{"name":"smhg","email":"sam@strictlyphp.com"},"dist":{"integrity":"sha512-XYtSv7LqoJwCNlO2DfNutkqGwgKPoNRy+SNAAxgf63G5DSQxlfppCqQ5TVBCYvKpV9+aBTd8/4VTIRbCR8ESxg==","shasum":"5249ffc01077c2a18ba3fa44db9e3e12adf4fd24","tarball":"https://registry.npmjs.org/express-locale/-/express-locale-1.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHk+ux4Kd42W573jQSwDHsCqddgm6AUyLK0brX/s08g1AiEAljgQI5sL4ZAJSmGGLpnGz8TWj4vAS/Gn2/7MuvycEdY="}]},"maintainers":[{"name":"smhg","email":"sam@strictlyphp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-locale-1.0.2.tgz_1498989379866_0.4040302475914359"},"directories":{}},"1.0.4":{"name":"express-locale","version":"1.0.4","description":"Express middleware to determine locale","main":"lib/index.js","scripts":{"lint":"eslint index.js src test","build":"babel src -d lib","test":"mocha --compilers js:babel-register","clean":"rm -rf lib","preversion":"npm run lint && npm test","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test && npm run build","postpublish":"npm run clean"},"repository":{"type":"git","url":"git+https://github.com/smhg/express-locale.git"},"keywords":["locale","express","i18n","l10n","culture"],"author":{"name":"Sam Hauglustaine"},"license":"MIT","devDependencies":{"babel-cli":"^6.26.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015":"^6.24.1","babel-register":"^6.26.0","cookie-parser":"^1.4.3","eslint":"^4.7.2","eslint-config-standard":"^10.2.1","eslint-plugin-import":"^2.6.1","eslint-plugin-node":"^5.1.0","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^3.0.1","express":"^4.15.5","express3":"^0.0.0","mocha":"^3.5.3","supertest":"^3.0.0"},"dependencies":{"babel-runtime":"^6.26.0"},"gitHead":"0fef348935d2086b8bbfcc53cbf702c23cf2f9e7","bugs":{"url":"https://github.com/smhg/express-locale/issues"},"homepage":"https://github.com/smhg/express-locale#readme","_id":"express-locale@1.0.4","_npmVersion":"5.4.2","_nodeVersion":"6.11.4","_npmUser":{"name":"smhg","email":"sam@strictlyphp.com"},"maintainers":[{"name":"smhg","email":"sam@strictlyphp.com"}],"dist":{"integrity":"sha512-yI+CJKpB3sydC0UwKuOrMBYHtWXBcIui8ugWhqOJf/i4JZVlPTedS/ilWaNWlFoIeBmR1jcL6fRNbGl95xYhqw==","shasum":"35c435f48ac53f2d174f99ef5913e74f6d6e2a6d","tarball":"https://registry.npmjs.org/express-locale/-/express-locale-1.0.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSBBixr3gfNwq+SEb4kozcwmG0B0yaYfRY3oCOjIrYZAIgCVNY18EFqYKIayaKO6GN6UAM2Pnd+LefPrPhO3MSTIk="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-locale-1.0.4.tgz_1507627942002_0.049384922021999955"},"directories":{}},"1.0.5":{"name":"express-locale","version":"1.0.5","description":"Express middleware to determine locale","main":"lib/index.js","scripts":{"lint":"eslint index.js src test","build":"babel src -d lib","test":"mocha --compilers js:babel-register","clean":"rm -rf lib","preversion":"npm run lint && npm test","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test && npm run build","postpublish":"npm run clean"},"repository":{"type":"git","url":"git+https://github.com/smhg/express-locale.git"},"keywords":["locale","express","i18n","l10n","culture"],"author":{"name":"Sam Hauglustaine"},"license":"MIT","devDependencies":{"babel-cli":"^6.26.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.6.1","babel-register":"^6.26.0","cookie-parser":"^1.4.3","eslint":"^4.7.2","eslint-config-standard":"^10.2.1","eslint-plugin-import":"^2.6.1","eslint-plugin-node":"^5.1.0","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^3.0.1","express":"^4.15.5","express3":"^0.0.0","mocha":"^3.5.3","supertest":"^2.0.0"},"dependencies":{"babel-runtime":"^6.26.0"},"gitHead":"3cc075490c8257b7f93be93907e7085b3aa39deb","bugs":{"url":"https://github.com/smhg/express-locale/issues"},"homepage":"https://github.com/smhg/express-locale#readme","_id":"express-locale@1.0.5","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"smhg","email":"sam@strictlyphp.com"},"dist":{"integrity":"sha512-T4nOikzDKRklusQEJxGiOdAz4pAJ46z/O6j1j3kqgOhV2X2/w1Lr2SWbtDk9BmQLHQZJecUU6rOfDyN+0XYTUg==","shasum":"465254ed4bdeeec00e77cbd5e75a3e56a93de2ed","tarball":"https://registry.npmjs.org/express-locale/-/express-locale-1.0.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAu/QRnERM9lcCbyBldWx/Iix+OQ8fdlXikI3obBDiqFAiBmBxxRs+uujMnUBSg7j0iCYq+A6yCglofvZCqdozZbtg=="}]},"maintainers":[{"name":"smhg","email":"sam@strictlyphp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-locale-1.0.5.tgz_1510785266707_0.7271620035171509"},"directories":{}},"1.1.0":{"name":"express-locale","version":"1.1.0","description":"Express middleware to determine locale","main":"lib/index.js","scripts":{"lint":"eslint src test","build":"babel src -d lib","test":"mocha --compilers js:babel-register","clean":"rm -rf lib","preversion":"npm run lint && npm test","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test && npm run build","postpublish":"npm run clean"},"repository":{"type":"git","url":"git+https://github.com/smhg/express-locale.git"},"keywords":["locale","express","i18n","l10n","culture"],"author":{"name":"Sam Hauglustaine"},"license":"MIT","devDependencies":{"babel-cli":"^6.26.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","babel-register":"^6.26.0","cookie-parser":"^1.4.3","eslint":"^5.9.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","express":"^4.16.4","express3":"^0.0.0","mocha":"^3.5.3","supertest":"^2.0.0"},"dependencies":{"babel-runtime":"^6.26.0"},"gitHead":"3f4decdbad2216641c9bbe1f9e2879ce951bcde6","bugs":{"url":"https://github.com/smhg/express-locale/issues"},"homepage":"https://github.com/smhg/express-locale#readme","_id":"express-locale@1.1.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-dmFPaAQfq2fLFDTVLgu+lokoL1YVIvzqTfWI5MeinDFD9w1hMTmVbJgWf9IY4agGSuwGh9U5bkl/59L75m2baw==","shasum":"41bcf01cd5d13ebbd97d802cc14607ef0e7f2917","tarball":"https://registry.npmjs.org/express-locale/-/express-locale-1.1.0.tgz","fileCount":14,"unpackedSize":22745,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJck/q3CRA9TVsSAnZWagAAvKUP/1vxGeVAPZS9L585/8r9\nPb0DxagurmqgyD8X0OmQNnxdEWBhIBvc+DvpWOgF98pAyMBg3IvnJ5yFwNmK\noSGBSC8KUwFx0b0bScPqlXMSZ/51H7KMk7rLFm7JO9xAwLbhpdDvpDCU2kNM\nMfM1cVTIRURx7JEMSX5lQDF3ZhTPi+RBtFWwsYJgVFDJX73tMZqbdooxxMFm\nlAMScCraSb1bU/dYerTRpjxeuEl9tTlFDwzd8sIrSL0B+d4JZ4pQSAocFOmp\nZFSrzMq+Xq/YlpvC3Ezr1D8Wfw2MIjYFeKMLmcn1H1WvRjNEAbktzLCLYORC\n/UMJsIM7KHtKgagxtYG3wKHXAnjzJnXiDWp/fex/oaCJ8NrpGiJtCZzQnTTz\nPPJRdQ6gYUcgNrX1AKdoforOktuqPzb/ot5xIKwlaV7Ag3nMDj4qxmuC47LF\n82SsaDbFE1RZ6IJqK7xTEIGwe/JC25vxgRJPedet4c62l28jwyHEuKsUFMdz\nBr0MVBrjmMPwItB+J6bBX1jrFiI2tTtig3HF3SJ7as6H489vfPcG26e6JtwP\nZkDvRwFD4QZNzCfB0Tr100GLy6YnVVUzovTrgYnlNtc7OMiXTbieMq1zODuC\nVG58kaQOruVm3f+1MGWb3BCTN6DrsOiwvXs20lTcCBrjEaorfcC1NOzMFWVa\nsGpU\r\n=Xkvv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCe3FYHwdZEbD6WM7BzGj14wd/bQJqsV9v7Npm7DwxPmgIhAIog6hDpa7DSYebIqM2jFFhBbYvoraW2J2CXFYbnr7Io"}]},"maintainers":[{"name":"smhg","email":"sam@strictlyphp.com"}],"_npmUser":{"name":"smhg","email":"sam@strictlyphp.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-locale_1.1.0_1553201846863_0.09583854615841325"},"_hasShrinkwrap":false},"1.2.0":{"name":"express-locale","version":"1.2.0","description":"Express middleware to determine locale","main":"lib/index.js","module":"src/index.js","scripts":{"lint":"eslint src test","build":"babel src -d lib","test":"mocha --compilers js:babel-register","clean":"rm -rf lib","preversion":"npm run lint && npm test","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test && npm run build","postpublish":"npm run clean"},"repository":{"type":"git","url":"git+https://github.com/smhg/express-locale.git"},"keywords":["locale","express","i18n","l10n","culture"],"author":{"name":"Sam Hauglustaine"},"license":"MIT","devDependencies":{"babel-cli":"^6.26.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","babel-register":"^6.26.0","cookie-parser":"^1.4.3","eslint":"^5.15.3","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.16.0","eslint-plugin-node":"^8.0.1","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","express":"^4.16.4","express3":"^0.0.0","mocha":"^3.5.3","supertest":"^2.0.0"},"dependencies":{"babel-runtime":"^6.26.0"},"gitHead":"613e54c644d1177480cb42f22bedf6646020ef86","bugs":{"url":"https://github.com/smhg/express-locale/issues"},"homepage":"https://github.com/smhg/express-locale#readme","_id":"express-locale@1.2.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-2BB1UEm7GOm0bjlihPZyrtFri2tXTUGI/UJ+KP4LWGkfqKURzPGUxOoJhVbyro58DRCK6ukDTmV+diF2r+sxzQ==","shasum":"7a8135cf01591fd8b9b76c29e34423ab31eb3d75","tarball":"https://registry.npmjs.org/express-locale/-/express-locale-1.2.0.tgz","fileCount":21,"unpackedSize":29009,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclATHCRA9TVsSAnZWagAA7E8P/2ZNqW1HXIpGVulCLQcs\nYebFBjfWwhH9NES7Gkl4gDcqhm1mXV0/ohweA2rgY4zc39C0UlezGEMN8ifJ\nIZaPO5nbx1RAHVHhxbSNGstAmFY+DJR4wt7T23w3JrNgMzoJjD0JPz27bTXD\nfawDkrDohrbiNIjHzdRqMPgKnrFHpqPwP7jEqHeI4DqeDSoDmVQEFlH0MFI+\nQ++RuhI/hoijP87J0bVhbyet2CNwIh4nOjvGdBbc0vg1yMUY6GlbD6B9W7tD\ntMMh6TpgkW8vhmYq7jmTtirZNs61Kr1CR60YrJhNyoqZ4TkzmPp5RDWuUYUS\nWBTmXNPoy1ZLIuQzkEtPBG4peGqtpzJamr0UEu18EAsytMY7zXSYp/7Bri/n\nwbJ3d1Vi5SEQS2zuaeqKX237KX43ZnGMr6Bkeb+68vpQ/Mm1QulgguqEukZT\nmXJO1iCvhPaXBYBOGJBBTR6PCdjFuAdvn9KhzOp58qqpEh1fUQaDMDh2mXpZ\n/deAY+4XZbdV1IwmYNR/BA1J4KkY9/hguPwbh86HQdZCw6M3hYhjTdEc4WVi\nOmESqDMR1xMuYOFkzWQnr5sKckC327waaDutJM8xitkx0Pe+vpJi96Is7qDp\ncmuiXIY4DRmEGw/h7GKjU/EEMY1CNlw8nKc2QRbAW00Ur9opOpZXYOvkgPHa\nnN78\r\n=KbyQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbt2aKVJ21YbPNGcp8CL8uxEhVrM3p/i0wSawrs2qZzwIgDMgvarag/H7XbpuFLDcigFfj+qt89xeF8pY9q98ACDI="}]},"maintainers":[{"name":"smhg","email":"sam@strictlyphp.com"}],"_npmUser":{"name":"smhg","email":"sam@strictlyphp.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-locale_1.2.0_1553204422325_0.03706519419743093"},"_hasShrinkwrap":false},"2.0.0":{"name":"express-locale","version":"2.0.0","description":"Express middleware to determine locale","main":"src/index.js","module":"src/index.js","scripts":{"lint":"eslint src test","test":"mocha","preversion":"npm run lint && npm test","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/smhg/express-locale.git"},"keywords":["locale","express","i18n","l10n","culture"],"author":{"name":"Sam Hauglustaine"},"license":"MIT","devDependencies":{"cookie-parser":"^1.4.4","eslint":"^6.2.2","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^9.2.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","express":"^4.17.1","mocha":"^6.2.0","supertest":"^4.0.2"},"gitHead":"1f852490921cb4975bfdda6b6709d040247a2a3f","bugs":{"url":"https://github.com/smhg/express-locale/issues"},"homepage":"https://github.com/smhg/express-locale#readme","_id":"express-locale@2.0.0","_nodeVersion":"10.16.3","_npmVersion":"6.11.2","dist":{"integrity":"sha512-SUwsgOTV8lplAkgyfKSwKH3ZVSKUrAa+b48acPGXpwWX211WZ/BYWX2WcZO57+xLOqPYb6rSNpWCFnhGrt0moA==","shasum":"a0fc0815cd436a028da39a8a26468e127f4128a4","tarball":"https://registry.npmjs.org/express-locale/-/express-locale-2.0.0.tgz","fileCount":12,"unpackedSize":14712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaOdBCRA9TVsSAnZWagAAITUP/ArW8CfHVoKDM7Dkw9ER\nIL29IoX+OcSVy8nhT86AJq8SEZm4Bj4rp+QgAYc4snnUiKi3vh1IsBjYMsdt\nocW0/42LVw79SPiMV8f8Ie73OvMGKwNlal6Xpr2EmkYrEBfhHn744Wrmt8hr\nFnBzhg0RrzJdIn5GSbb8md6ICN2BimFrzRTDUgFdIH96GTx5ZbXahPCfssMw\n8EUKUkEKICC4PPPikDwPIU2iiNYNmB33aTsj/ohq9vrSEvJiVi50x+IOQRrf\nO/PJ1d4qW21SUyreHDs1dRblLfl1x61spErQ0CPmrSfo5sp+WaiK9oJmrRld\nzOz3BEeoDrSeG+FQxH05JFw0FVGncdYGJ4XlCgovL9CeFqI7UZ2qs5ifKyFp\nkoAKDBFB+myvtVVdOJ/a/EqLG0p8jzO6FBfsWUHWHHYr7hFFpr66OcfwekiY\nLg8dmxCUzn23c7XQR8O9WVoz3U8PT0wHUJ9ix2HQkFPlVea1/yufFhzfKh2C\nZ5Yq1M9OK7APRPvyV931J661PlSEYsgTyjGPi7EmG4qTBQv/YrrG+n9RY7YY\nJIDufGW/20CWdGjgJIyRIMF11jhGGDLWLTYGRCPCHs1MQfbyXYa6s0Yu5w3R\nLq9BIXviaxjBS0Nz55YgKU9frPKdTLPMBZcpcT95lGgYLzJQMrQFX4kEfOJx\nceOi\r\n=qSN8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeFMdxDrnVsK4UdR74Njm8BC6yB45j1E/3mOIpnZQgFgIgQK1dGV0JxRnJH/sGp/ZkkSuaSxVaiY6x/CK4cBsprHo="}]},"maintainers":[{"name":"smhg","email":"sam@strictlyphp.com"}],"_npmUser":{"name":"smhg","email":"sam.hauglustaine@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-locale_2.0.0_1567156032725_0.14111313672405212"},"_hasShrinkwrap":false},"2.0.1":{"name":"express-locale","version":"2.0.1","description":"Express middleware to determine locale","main":"src/index.js","module":"src/index.js","scripts":{"lint":"eslint src test","test":"mocha","preversion":"npm run lint && npm test","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/smhg/express-locale.git"},"keywords":["locale","express","i18n","l10n","culture"],"author":{"name":"Sam Hauglustaine"},"license":"MIT","devDependencies":{"cookie-parser":"^1.4.5","eslint":"^7.32.0","eslint-config-standard":"^16.0.3","eslint-plugin-import":"^2.20.1","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.3.1","express":"^4.17.1","mocha":"^9.2.2","supertest":"^6.0.1"},"gitHead":"e8de91a811d8b179c3521de6cc040fe5609ad690","bugs":{"url":"https://github.com/smhg/express-locale/issues"},"homepage":"https://github.com/smhg/express-locale#readme","_id":"express-locale@2.0.1","_nodeVersion":"16.14.2","_npmVersion":"8.7.0","dist":{"integrity":"sha512-48BCds7FFjec5lDl5I/2gFufpUQLQRRzINx54bJfH9FrunL6WgqA1lCDSfCr59SEoUPpKY3OHtOZG42TReh+FQ==","shasum":"9049671fd0e1444e006ce5e098e8b66c7e75d4e1","tarball":"https://registry.npmjs.org/express-locale/-/express-locale-2.0.1.tgz","fileCount":13,"unpackedSize":15324,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoQIVlgU+id7HclLndR0R7mqjJ8oF2gtLDf5bN+Uz2dwIgDjsZqb/MYJ9bJcHbbctr1SNpPHGF93wM7MhhhzMIX5Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiYQlDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpgDQ//btPpzIIk0PluH5XJV1dSgaptleSGIKk4XsCFxC9QIe07bYLF\r\nIyV7peFQxQdiBkDmobh0f4qyaBT80Bxf6UiXULe5b6z2UAPq6XWtei1La1qe\r\nHjJb3n9/SnUONDQAgKZo0cSPMEcdnSi7DH29HQFyVWOpLK01cpm/IJU21OWE\r\n5KHYhwOnXrNKFepB+w+ynTTHp7eVmRnlBjY0ck0VSEirzNVX5WLnd86dqSI6\r\nif7glnyHKcrLcHWbr9rehhUZ97ZZcU6Grkix11olR89rvVqqF9yHeOGUT6cG\r\n8KlOaceYwPCNIcxUPJVIaKWXZYC1LwYJ3dFlGOi0Ihd6pwqVKjIzESz4ueyO\r\ne15JMpS/DGjXaPQhJdCPntdvV8XCP/8BrSwzjWj8xOb9jHcjW0zwRLZzp3x4\r\nhKwBi+ju5q5Wv72JwEYJMd3hd5XF+mzOtajgYElNAIki69abgioM5GInjpEm\r\ngQydyBAd24M0N4kLzgi/Uz+Tn6IDjeHjlMJewEK4Vnq32jiw+R3IcMAzTAWY\r\nK7BPN0Lm8RnDPlX1hhseJp6aABkKQZCsY8rnlX20kwF4GZVghgFHPDMP/q74\r\nFYJZ6/5d87do6HnaYvqbs8qLL5/nFQl0SmWAAR8W8eSJw8BDSKvvT56TiJ8r\r\nJcLERplTKwdJ270npjHlzvoVmP9aEggFj2g=\r\n=dKkT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"smhg","email":"sam.hauglustaine@gmail.com"},"directories":{},"maintainers":[{"name":"smhg","email":"sam.hauglustaine@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-locale_2.0.1_1650526531135_0.2268396355941793"},"_hasShrinkwrap":false},"2.0.2":{"name":"express-locale","version":"2.0.2","description":"Express middleware to determine locale","main":"src/index.js","scripts":{"lint":"eslint src test","test":"mocha","preversion":"npm run lint && npm test","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/smhg/express-locale.git"},"keywords":["locale","express","i18n","l10n","culture"],"author":{"name":"Sam Hauglustaine"},"license":"MIT","devDependencies":{"cookie-parser":"^1.4.6","eslint":"^8.16.0","eslint-config-standard":"^17.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^6.0.0","express":"^4.18.2","mocha":"^10.0.0","supertest":"^6.3.3"},"gitHead":"373d55ecfd37c15b770a8724ff5d5d43066b1724","bugs":{"url":"https://github.com/smhg/express-locale/issues"},"homepage":"https://github.com/smhg/express-locale#readme","_id":"express-locale@2.0.2","_nodeVersion":"18.13.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-z1hRa5iOwlgcM2iGpho3Mwq6DKv0534h1Ts2g2/Gct72g/YSrYSsSCHejLGjAT+hGoZOFcDUovmCkM+6YcQ4iQ==","shasum":"5f77b76a64736a125baf4547ddf895a4eec4cd89","tarball":"https://registry.npmjs.org/express-locale/-/express-locale-2.0.2.tgz","fileCount":13,"unpackedSize":15297,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWpevaVgbBLWgKHFw0MqtdQkx9IW2zXXBydTE0ZQnvqwIhAPSMY63C5/57lPRvULC/iRQcl05/9LI7opyfU8jQALnW"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjz+x7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUiw/+LEqvl9fRmzq6efareklvpbHxFAYUC2d7kT7gCFyEVmT5RCJz\r\no91RKio2pSoz9gDDfyvAGOCc7ConTl018NzWrfPNF9UCXosI+pFsE0o1whfp\r\nBJoWSgKzwS3JPelSa86KXq691tuZcaRpV9EeYbAS7z1gZ2/IFy+iSoRSinZJ\r\nstsLJVkvKBJshTGlKcR1UBdWm5tjrFMg1bJyunJX00uiWNxNXJI4JsitJN6J\r\nbXyIO7Zj788KH9WwwHH89mgXrNLPwNKsUkuML9AOnp2mXaBK1U/zCsNQcSH3\r\nxHgYTHp4UhSeXPQj+w0SOXcKgDmsC9sinNy2Pw9Ax2qrhiriW0YoJ+LKSAFl\r\ntUKtjv8wgL7Sul1v4gxfU5nKrYfa9bMLMVwyGjRCXgFt8kW9GutvKgrGvpiP\r\nhDEzyz+RxKqYeAME1K4a5CS67Pp7p7lQkUata/HSZM+uoYFjwbfebjh3yicJ\r\nMjaZPfzc1JBvqqXav2uyXbr7z2YhQDCm8tjuHkVN8kOqVa9+CP6v6z45ogas\r\nslfdqeRb6qzZsgOh44qCRDJr95EMlv0HO3jqvgbcOQr+KJzls8dlDvy0lqck\r\n2wfEOyM9+t0SS+VrOYtSLci0ihFRSTCfm6qD9CTgLBeoHjdhdpPT8MZ5uUKY\r\nvyvRvmBRqGJ+ARhZzEEUKgZCc4+ThPhvGao=\r\n=uF6f\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"smhg","email":"sam.hauglustaine@gmail.com"},"directories":{},"maintainers":[{"name":"smhg","email":"sam.hauglustaine@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-locale_2.0.2_1674570875085_0.20105289900631118"},"_hasShrinkwrap":false}},"readme":"express-locale [![CI](https://github.com/smhg/express-locale/actions/workflows/ci.yml/badge.svg)](https://github.com/smhg/express-locale/actions/workflows/ci.yml)\n==============\n\nExpress middleware to determine the [locale identifier](https://en.wikipedia.org/wiki/Locale_(computer_software)) of the incomming request.\n\nIt returns (only) full locale identifiers based on the middleware's configuration. Configuration defines possible sources, their order and, optionally, a whitelist. For performance reasons, on each request, remaining lookups are ignored as soon as a match is found.\n\n> Use version 1.x for Express 3 support and/or older Node versions.\n\n## Installation\n`npm install --save express-locale`\n\n## Usage\n```javascript\nimport express from 'express';\nimport createLocaleMiddleware from 'express-locale';\n\nexpress()\n  .use(createLocaleMiddleware())\n  .use((req, res) => {\n    res.end(`Request locale: ${req.locale}`);\n  })\n  .listen(3000);\n```\n\nThe `locale` property on the request object will contain an object with these properties:\n```json\n{\n\t\"source\": \"default\",\n\t\"language\": \"en\",\n\t\"region\": \"GB\"\n}\n```\nWhen using this object in a string context, its `toString` method returns the locale identifier (`en-GB` in the example above).\n\n**Note:** only full locales (language-REGION) are returned, but a [mapping](#map) of languages to a default locale can be provided as a lookup.\n\n\n## Configuration\nYou can pass a configuration object to `createLocaleMiddleware()` with the default being:\n```json\n{\n  \"priority\": [\"accept-language\", \"default\"],\n  \"default\": \"en-GB\"\n}\n```\nThis tells the middleware to use 2 sources in order: `accept-language`, which has no configuration, and `default` which is set to `en-GB`.\n\nThe name of the lookup used in the priority list always matches the configuration key.\n\n#### priority\nType: `Array` Default value `['accept-language', 'default']`\n\nDefines the order of lookups. The first lookup to return a full locale will be the final result.\n\nBuilt-in lookups:\n* `cookie`\n* `query`\n* `hostname`\n* `accept-language`\n* `map`\n* `default`\n\nRead below on how to add [custom lookups](#custom-lookups).\n\n#### cookie\nType: `Object` Default value `'{name: 'locale'}'`\n\nThe `name` of the cookie that contains the locale for the cookie lookup.\n\nUse with [cookie-parser](https://github.com/expressjs/cookie-parser) middleware.\n\n**Note:** you are responsible for writing the locale to the cookie.\n\n#### query\nType: `Object` Default value `'{name: 'locale'}'`\n\nThe `name` of the query string parameter that contains the locale for the query lookup.\n\n#### hostname\nType: `Object` Default value `{}`\n\nA mapping of hostnames to locales for the hostname lookup.\n\n#### map\nType: `Object` Default value `{}`\n\nMaps lookup results that return only a language to a full locale.\n\n#### default\nType: `String` Default value `'en-GB'`\n\nThe default locale for the default lookup.\n\n#### allowed\nType: `Array` Default value `undefined`\n\nLookup results are validated against this list of allowed locales if provided.\n\n#### requestProperty\nType: `String` Default value `'locale'`\n\nBy default, the locale is attached to `req.locale` but can be configured with the `requestProperty` option.\n\n## Custom lookups\nAdd custom lookups or overwrite the default ones by using the `lookups` property:\n```javascript\ncreateLocaleMiddleware({\n  priority: ['custom'],\n  lookups: {\n    custom: (req) => req.ip === '127.0.0.1' ? 'en-US' : undefined\n  }\n});\n```\n","maintainers":[{"name":"smhg","email":"sam.hauglustaine@gmail.com"}],"time":{"modified":"2023-01-24T14:34:35.337Z","created":"2013-03-12T13:35:00.524Z","0.1.0":"2013-03-12T13:35:05.519Z","0.1.1":"2014-07-24T16:29:54.769Z","0.1.2":"2014-07-28T09:09:48.811Z","1.0.0":"2016-11-05T20:15:07.524Z","1.0.1":"2016-12-06T09:54:46.237Z","1.0.2":"2017-07-02T09:56:20.835Z","1.0.4":"2017-10-10T09:32:23.112Z","1.0.5":"2017-11-15T22:34:27.617Z","1.1.0":"2019-03-21T20:57:27.130Z","1.2.0":"2019-03-21T21:40:22.539Z","2.0.0":"2019-08-30T09:07:12.827Z","2.0.1":"2022-04-21T07:35:31.302Z","2.0.2":"2023-01-24T14:34:35.252Z"},"author":{"name":"Sam Hauglustaine"},"repository":{"type":"git","url":"git+https://github.com/smhg/express-locale.git"},"homepage":"https://github.com/smhg/express-locale#readme","keywords":["locale","express","i18n","l10n","culture"],"bugs":{"url":"https://github.com/smhg/express-locale/issues"},"license":"MIT","readmeFilename":"README.md","users":{"rocket0191":true,"nraibaud":true}}