{"_id":"@dptole/al-api","_rev":"8-d34eed2263f2727204c146fe57e33b4f","name":"@dptole/al-api","description":"Accept-Language extra info API","dist-tags":{"latest":"0.4.0"},"versions":{"0.1.0":{"name":"@dptole/al-api","version":"0.1.0","description":"Accept-Language extra info API","directories":{"example":"example"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["iana","http","api","accept","language","tag","region","country"],"author":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"license":"MIT","engines":{"node":">= 8.9.1"},"os":["darwin","linux"],"_id":"@dptole/al-api@0.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"dist":{"integrity":"sha512-1lU2mVhnSAAXpjAsdJBlsqxd6Z3TdgN/GjUvwFRvXBeoGfdKV3lynF+oxsHRLs7GZtkiyAyqYiJUB5/GuiYmTg==","shasum":"208491df9cbdff9d7e00225eb9440fce3937790b","tarball":"https://registry.npmjs.org/@dptole/al-api/-/al-api-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9cjqtDkjtHiA3TWzdlP2ft5x5XciqNFnl5wUFNyQW4gIhAIQt47WPLCIAM0s2aa7SBW6iCsn+z89vfaYiv2/cgPic"}]},"maintainers":[{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/al-api-0.1.0.tgz_1511499888221_0.10038550198078156"}},"0.1.1":{"name":"@dptole/al-api","version":"0.1.1","description":"Accept-Language extra info API","directories":{"example":"example"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["iana","http","api","accept","language","tag","region","country"],"author":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"license":"MIT","engines":{"node":">= 8.9.1"},"repository":{"type":"git","url":"git+https://github.com/dptole/al-api.git"},"os":["darwin","linux"],"gitHead":"486317dcc7c5785ae3d6c441635597ee3a9b83d5","bugs":{"url":"https://github.com/dptole/al-api/issues"},"homepage":"https://github.com/dptole/al-api#readme","_id":"@dptole/al-api@0.1.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"dist":{"integrity":"sha512-i8RYIwVBOUp/w2//uSKBV1mryEBUsDYCTYEcDk7NPBdmxEpU1SIBElo4BNmd0RMPMzo6jwN4a5jrjLCkUb+zJg==","shasum":"a54a5e1414f0905a4a0cca17eb46ef40f4a1e5f3","tarball":"https://registry.npmjs.org/@dptole/al-api/-/al-api-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEAKg2/bAAXdlzbefbG7xsvWbWAOhaooCTYSX7qMbPkAIgCedtiAxKdtFrUT/5/w3vSowDF7oGGMLTslqyG8hZhWA="}]},"maintainers":[{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/al-api-0.1.1.tgz_1511501196417_0.10863202647306025"}},"0.1.2":{"name":"@dptole/al-api","version":"0.1.2","description":"Accept-Language extra info API","directories":{"example":"example"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["iana","http","api","accept","language","tag","region","country"],"author":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"license":"MIT","engines":{"node":">= 8.9.1"},"repository":{"type":"git","url":"git+https://github.com/dptole/al-api.git"},"os":["darwin","linux"],"gitHead":"3c1b8e8742889e37ddf73c27e5acdcc9d5281601","bugs":{"url":"https://github.com/dptole/al-api/issues"},"homepage":"https://github.com/dptole/al-api#readme","_id":"@dptole/al-api@0.1.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"dist":{"integrity":"sha512-V9gsOv+c6Hgx5WRNx+NYR1ruCEdIgo93+UZzy0d6m9i3GOexjHdo4RY2DLqOeSyg6rMIbWb9yJSGn1rOsj7rzw==","shasum":"09f7b10c8cdc5e59e7b4167ddff2a0e7eb907812","tarball":"https://registry.npmjs.org/@dptole/al-api/-/al-api-0.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBMzeQFMGy8od8j4rdbLjtyHcacES1NouJ7Q0VoIIfICAiEAlBueMI7G81jQWK1FfaOaQ9NUHuYWeUZQ+J/im0KQTz8="}]},"maintainers":[{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/al-api-0.1.2.tgz_1511501550192_0.31234955601394176"}},"0.2.0":{"name":"@dptole/al-api","version":"0.2.0","description":"Accept-Language extra info API","directories":{"example":"example"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["iana","http","api","accept","language","tag","region","country"],"author":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"license":"MIT","engines":{"node":">= 8.9.1"},"repository":{"type":"git","url":"git+https://github.com/dptole/al-api.git"},"os":["darwin","linux"],"gitHead":"f9705412998e44002e3bcef3a4968a1147121d1d","bugs":{"url":"https://github.com/dptole/al-api/issues"},"homepage":"https://github.com/dptole/al-api#readme","_id":"@dptole/al-api@0.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"dist":{"integrity":"sha512-uzRSPhi72zPJeFgg4x7WDhsWO3oRlH63yA1g6UnoJHz67GypjZl+vIdF5W5AELKUxL0BUsMEq3DALzQOCKWmcA==","shasum":"b0f9c270e5bb961fb3091e8573162d24bb2af871","tarball":"https://registry.npmjs.org/@dptole/al-api/-/al-api-0.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFKItBFmKt5L5IZyTYguNzJG4cbh5TQtEICHdDWW5Gf+AiEApmytKQTzeGJhQPl4v8xBctghKfm9yX4PYm7moESjKFE="}]},"maintainers":[{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/al-api-0.2.0.tgz_1514093529405_0.2947885284665972"}},"0.2.1":{"name":"@dptole/al-api","version":"0.2.1","description":"Accept-Language extra info API","directories":{"example":"example","test":"test"},"main":"index.js","scripts":{"test":"mocha -t 30000"},"keywords":["iana","http","api","accept","language","tag","region","country"],"author":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"license":"MIT","engines":{"node":">= 8.9.1"},"repository":{"type":"git","url":"git+https://github.com/dptole/al-api.git"},"os":["darwin","linux"],"devDependencies":{"mocha":"^4.0.1","should":"^13.1.3"},"gitHead":"a8015498b7723bc2e97e099326743418ebfcd5fa","bugs":{"url":"https://github.com/dptole/al-api/issues"},"homepage":"https://github.com/dptole/al-api#readme","_id":"@dptole/al-api@0.2.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"dist":{"integrity":"sha512-3nBro6sulrO0lM0HVGXg9BGQekMmEWM3TXuGycEi4xQeQuJCifNCudGH++dvzy+MDEe97eZCwJzAJQ30JhJxKQ==","shasum":"d2ec8c22d92551e85a2c9adacb9fc75ecb141973","tarball":"https://registry.npmjs.org/@dptole/al-api/-/al-api-0.2.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF2kri/8U1VeQNfoUKkQftjXWXoLiKnAmu9RhWQzRglBAiARHmFufDl6aBVYfTtlS2Do36B4Jh/cPIx09AiwarRPYw=="}]},"maintainers":[{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/al-api-0.2.1.tgz_1514096001540_0.9199938573874533"}},"0.3.0":{"name":"@dptole/al-api","version":"0.3.0","description":"Accept-Language extra info API","directories":{"example":"example","test":"test"},"main":"index.js","scripts":{"test":"mocha -t 30000"},"keywords":["iana","http","api","accept","language","tag","region","country"],"author":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"license":"MIT","engines":{"node":">= 8.9.1"},"repository":{"type":"git","url":"git+https://github.com/dptole/al-api.git"},"os":["darwin","linux"],"devDependencies":{"mocha":"^4.0.1","should":"^13.1.3"},"bugs":{"url":"https://github.com/dptole/al-api/issues"},"homepage":"https://github.com/dptole/al-api#readme","_id":"@dptole/al-api@0.3.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"dist":{"integrity":"sha512-XbSUOqCv8LpZ3FxTdbbPVOxnGaKbyl5XkgcyqefUtEmIuqtiKlYXnZiry/cSrlZHObtMXVnETv+jdG1uWOyHLw==","shasum":"796e93ce24eb11bf0aabb80a28ef285fb0bcd6b8","tarball":"https://registry.npmjs.org/@dptole/al-api/-/al-api-0.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDm85E2DgsK4edcJ0x8+q04mXXBC+5MYjiq42MykHpK2AIgKyODe13+6gZciIWxpNS99FqVh0JuWgO6Of+mJH6AV3w="}]},"maintainers":[{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/al-api-0.3.0.tgz_1514098420896_0.606421826640144"}},"0.3.1":{"name":"@dptole/al-api","version":"0.3.1","description":"Accept-Language extra info API","directories":{"example":"example","test":"test"},"main":"index.js","scripts":{"test":"mocha -b -t 30000"},"keywords":["iana","http","api","accept","language","tag","region","country"],"author":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"license":"MIT","engines":{"node":">= 8.9.1"},"repository":{"type":"git","url":"git+https://github.com/dptole/al-api.git"},"os":["darwin","linux"],"devDependencies":{"mocha":"^4.0.1","should":"^13.1.3"},"bugs":{"url":"https://github.com/dptole/al-api/issues"},"homepage":"https://github.com/dptole/al-api#readme","_id":"@dptole/al-api@0.3.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"dist":{"integrity":"sha512-DIUZ7KnXP2rILtib109q/fzdYUCEDh8ELCFAWNmdxYap7+LOgukPJglcZuz0+eCS7qZ9D0e/Ch/RC2sYDd9M5Q==","shasum":"f75d41198b15ef777e81469c43bfd36b1feaf40d","tarball":"https://registry.npmjs.org/@dptole/al-api/-/al-api-0.3.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1yPRHuHnY6JUAQ4bib5vYJ2p4pjPQizvhQ0UnbKe5swIhAOm7L7MN28RpUZ3PWOg1zmokot+kQyImN9qOHpiKL69n"}]},"maintainers":[{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/al-api-0.3.1.tgz_1514177386799_0.7338317858520895"}},"0.4.0":{"name":"@dptole/al-api","version":"0.4.0","description":"Accept-Language extra info API","directories":{"example":"example","test":"test"},"main":"index.js","scripts":{"test":"mocha -b -t 30000"},"keywords":["iana","http","api","accept","language","tag","region","country"],"author":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"license":"MIT","engines":{"node":">= 8.9.1"},"repository":{"type":"git","url":"git+https://github.com/dptole/al-api.git"},"os":["darwin","linux"],"files":["data/","LICENSE","README.md","index.js"],"devDependencies":{"mocha":"^4.0.1","should":"^13.1.3"},"bugs":{"url":"https://github.com/dptole/al-api/issues"},"homepage":"https://github.com/dptole/al-api#readme","_id":"@dptole/al-api@0.4.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"dist":{"integrity":"sha512-GDYPDY67n1O7BWm+1aCLqX6NXfczQssCml1IgLwgkhFeOVa4dd/OGrQDIKUxHtoflT+5H/GirAjjv1Ja/EW/hA==","shasum":"652b98f4b85eed8e9a30644f518394aa0e0a3619","tarball":"https://registry.npmjs.org/@dptole/al-api/-/al-api-0.4.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDf6zIFfPxH3QAJc9iaVoSoBC4+8gdbcuWXx3kXOgyy1wIgGjjV/fGhcewBB7fw5RnQBW30g9N8N10ZkQ3XDgiKwco="}]},"maintainers":[{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/al-api-0.4.0.tgz_1514178909679_0.7193075623363256"}}},"readme":"Accept-Language extra info API\n==============================\n\n  [![Build status][circle-ci-badge]][circle-ci]\n  [![Issue status][gh-issues-badge]][gh-issues]\n  [![NPM Version][npm-module-version-badge]][npm-module]\n  [![Downloads][npm-downloads-total-badge]][npm-module]\n  [![Say thanks][saythanks-badge]][saythanks-to]\n\nAPI for reading extra information from the HTTP header [Accept-Language][url-moz-accept-language] based on the [Language subtag registry][url-language-subtag-registry] file.\n\nDetails for the [Accept-Language][url-moz-accept-language] HTTP header can be found at the [Tags for Identifying Languages][url-rfc5646-3.1], which refers to the [Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content][url-rfc7231-3.1.3.1].\n\nExamples\n========\n\n```javascript\nconst al_api = require('@dptole/al-api')\n\nal_api.getLanguageDescriptionBySubtag('en') // ['English']\nal_api.getRegionDescriptionBySubtag('US') // ['United States']\n\nal_api.getAcceptLanguageInfo('pt,pt-BR;q=0.9,es-VE;q=0.8')\n/*\n  [{\n    'language': {\n      'subtag': 'pt',\n      'info': ['Portuguese']\n    }\n  }, {\n    'language': {\n      'subtag': 'pt',\n      'info': ['Portuguese']\n    },\n    'region': {\n      'subtag': 'BR',\n      'info': ['Brazil']\n    }\n  }, {\n    'language': {\n      'subtag': 'es',\n      'info': ['Castilian']\n    },\n    'region': {\n      'subtag': 'VE',\n      'info': ['Venezuela']\n    }\n  }]\n*/\n```\n\nLicense\n=======\n\n[MIT][LICENSE]\n\n[circle-ci]: https://circleci.com/gh/dptole/al-api\n[circle-ci-badge]: https://img.shields.io/circleci/project/dptole/al-api.svg\n[gh-issues-badge]: https://img.shields.io/github/issues-raw/dptole/al-api.svg\n[gh-issues]: https://github.com/dptole/al-api/issues\n[npm-module-version-badge]: https://img.shields.io/npm/v/@dptole/al-api.svg\n[npm-module]: https://www.npmjs.org/package/@dptole/al-api\n[npm-downloads-total-badge]: https://img.shields.io/npm/dt/@dptole/al-api.svg\n[saythanks-badge]: https://img.shields.io/badge/say%20thanks-%E3%83%84-44cc11.svg\n[saythanks-to]: https://saythanks.io/to/dptole\n[url-moz-accept-language]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language\n[url-rfc7231-5.3.5]: https://tools.ietf.org/html/rfc7231#section-5.3.5\n[url-rfc7231-3.1.3.1]: https://tools.ietf.org/html/rfc7231#section-3.1.3.1\n[url-rfc5646-3.1]: https://tools.ietf.org/html/rfc5646#section-3.1\n[url-language-subtag-registry]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry\n[LICENSE]: LICENSE\n","maintainers":[{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"}],"time":{"modified":"2022-04-05T05:33:56.412Z","created":"2017-11-24T05:04:48.317Z","0.1.0":"2017-11-24T05:04:48.317Z","0.1.1":"2017-11-24T05:26:36.615Z","0.1.2":"2017-11-24T05:32:30.322Z","0.2.0":"2017-12-24T05:32:09.591Z","0.2.1":"2017-12-24T06:13:21.656Z","0.3.0":"2017-12-24T06:53:41.053Z","0.3.1":"2017-12-25T04:49:48.139Z","0.4.0":"2017-12-25T05:15:10.934Z"},"keywords":["iana","http","api","accept","language","tag","region","country"],"author":{"name":"dptole","email":"danillo.paiva.toledo@gmail.com"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/dptole/al-api#readme","repository":{"type":"git","url":"git+https://github.com/dptole/al-api.git"},"bugs":{"url":"https://github.com/dptole/al-api/issues"}}