{"_id":"country-regex","_rev":"48-e2f41e79e8d61ae3e84979b124a2ab46","name":"country-regex","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"country-regex","version":"1.0.0","keywords":["country","regex","iso3"],"author":{"name":"Étienne Tétreault-Pinard"},"license":"MIT","_id":"country-regex@1.0.0","maintainers":[{"name":"etpinard","email":"etienne.t.pinard@gmail.com"}],"homepage":"https://github.com/etpinard/country-regex#readme","bugs":{"url":"https://github.com/etpinard/country-regex/issues"},"dist":{"shasum":"1144018333828926b97262b351fe60da7214dde6","tarball":"https://registry.npmjs.org/country-regex/-/country-regex-1.0.0.tgz","integrity":"sha512-dj5R7qauRUVrho/crKtYrgSFSjGQm4uHKdAwpBTrb+x+bWaUDIgPtk2VN7HUn8Qblrc5HhqarigDW2rBfxY4pg==","signatures":[{"sig":"MEQCIGlWstHeviH+eERLePcx2G36+ozj7h9gr6EPODMOoTb6AiBGy2spv3SMUZeTEKlj6dY/MlLqTGKtPlyq8ufW/csKHA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"1144018333828926b97262b351fe60da7214dde6","gitHead":"42aba37f207cab2c576d816c30edb9072dabfb12","scripts":{"make":"node make.js","test":"tap test.js","version":"npm run make && git add index.js","postversion":"git push"},"_npmUser":{"name":"etpinard","email":"etienne.t.pinard@gmail.com"},"repository":{"url":"git+https://github.com/etpinard/country-regex.git","type":"git"},"_npmVersion":"2.14.12","description":"Hash map of country ISO-3 codes to regular expression identifiers ","directories":{},"_nodeVersion":"4.2.4","devDependencies":{"tap":"^5.7.1","csv-parse":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/country-regex-1.0.0.tgz_1461205096283_0.4244883817154914","host":"packages-16-east.internal.npmjs.com"}},"1.0.3":{"name":"country-regex","version":"1.0.3","keywords":["country","regex","iso3"],"author":{"name":"Étienne Tétreault-Pinard"},"license":"MIT","_id":"country-regex@1.0.3","maintainers":[{"name":"etpinard","email":"etienne.t.pinard@gmail.com"}],"homepage":"https://github.com/etpinard/country-regex#readme","bugs":{"url":"https://github.com/etpinard/country-regex/issues"},"dist":{"shasum":"f3b85b08b03b6a4c5c5c055a2dc4fe6838d7771b","tarball":"https://registry.npmjs.org/country-regex/-/country-regex-1.0.3.tgz","integrity":"sha512-HK8FpfwUH3qfJlpvW0z82xgYDM3WIe4YQP8U0cK+V3AWYgV+p0gDYi5NgK3Ad2e7ej21SwhKM1a4fkgAGdfBIg==","signatures":[{"sig":"MEQCIEDqRgr0jOBUkvjafFqBNqdge/O1HerEVLw/Eb9cmNg5AiAqXhF4PnREJ90Fpc3yILYgyB7ydBY7XIQdqcAjRSdH0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"f3b85b08b03b6a4c5c5c055a2dc4fe6838d7771b","gitHead":"49246174fa623751282076a3164665570a94e633","scripts":{"make":"node make.js","test":"tap test.js","version":"npm run make && git add index.js","postversion":"git push"},"_npmUser":{"name":"etpinard","email":"etienne.t.pinard@gmail.com"},"repository":{"url":"git+https://github.com/etpinard/country-regex.git","type":"git"},"_npmVersion":"2.14.12","description":"Hash map of country ISO-3 codes to regular expression identifiers ","directories":{},"_nodeVersion":"4.2.4","devDependencies":{"tap":"^7.0.0","csv-parse":"^1.1.7"},"_npmOperationalInternal":{"tmp":"tmp/country-regex-1.0.3.tgz_1472849932562_0.8312389163766056","host":"packages-16-east.internal.npmjs.com"}},"1.1.0":{"name":"country-regex","version":"1.1.0","keywords":["country","regex","iso3"],"author":{"name":"Étienne Tétreault-Pinard"},"license":"MIT","_id":"country-regex@1.1.0","maintainers":[{"name":"etpinard","email":"etienne.t.pinard@gmail.com"}],"homepage":"https://github.com/etpinard/country-regex#readme","bugs":{"url":"https://github.com/etpinard/country-regex/issues"},"dist":{"shasum":"51c333dcdf12927b7e5eeb9c10ac8112a6120896","tarball":"https://registry.npmjs.org/country-regex/-/country-regex-1.1.0.tgz","integrity":"sha512-iSPlClZP8vX7MC3/u6s3lrDuoQyhQukh5LyABJ3hvfzbQ3Yyayd4fp04zjLnfi267B/B2FkumcWWgrbban7sSA==","signatures":[{"sig":"MEUCIQDmWq7dzqOFo1S86HQV1jR41Qv+YcHEB3Tk+2QLfMWlkQIgT/6ucjj03BrADasYcfnCLCvyNzL7UcaxR7oFbpQ0Vz4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"51c333dcdf12927b7e5eeb9c10ac8112a6120896","gitHead":"a2cc561a29ba8dee8e9dae546e4853178461fb98","scripts":{"lint":"standard --fix","make":"node make.js","test":"snazzy && tap test.js","version":"git add index.js","preversion":"npm run make && npm test","postversion":"node -e \"console.log('Version bumped and committed. If ok, `git push`')\""},"_npmUser":{"name":"etpinard","email":"etienne.t.pinard@gmail.com"},"repository":{"url":"git+https://github.com/etpinard/country-regex.git","type":"git"},"_npmVersion":"3.10.8","description":"Hash map of country ISO-3 codes to regular expression identifiers ","directories":{},"_nodeVersion":"6.9.0","devDependencies":{"tap":"^10.1.1","snazzy":"^6.0.0","standard":"^8.6.0","csv-parse":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/country-regex-1.1.0.tgz_1487357755220_0.958022287581116","host":"packages-12-west.internal.npmjs.com"}}},"time":{"created":"2016-04-21T02:18:17.525Z","modified":"2026-09-14T15:40:54.895Z","1.0.0":"2016-04-21T02:18:17.525Z","1.0.3":"2016-09-02T20:58:55.133Z","1.1.0":"2017-02-17T18:55:57.130Z"},"bugs":{"url":"https://github.com/etpinard/country-regex/issues"},"author":{"name":"Étienne Tétreault-Pinard"},"license":"MIT","homepage":"https://github.com/etpinard/country-regex#readme","keywords":["country","regex","iso3"],"repository":{"url":"git+https://github.com/etpinard/country-regex.git","type":"git"},"description":"Hash map of country ISO-3 codes to regular expression identifiers ","maintainers":[{"email":"chris@plot.ly","name":"chriddyp"},{"email":"post.ben.here@gmail.com","name":"bpostlethwaite"},{"email":"antoine@plot.ly","name":"antrg"},{"email":"chuck@plot.ly","name":"bronsolo"},{"email":"t4rk@outlook.com","name":"t4rk"},{"email":"roman@plot.ly","name":"roman-nb"},{"email":"cameron.decoster@gmail.com","name":"camdecoster"},{"email":"alex@plot.ly","name":"alexcjohnson"},{"email":"adrian.borrmann@plot.ly","name":"aborrmann"},{"email":"emily@plot.ly","name":"emilykl-plotly"},{"email":"packages@plot.ly","name":"packages-team-plotly"},{"email":"code@etpinard.xyz","name":"etpinard"}],"readme":"# country-regex\n\n[![npm version][1]][1a]\n[![gzip size][8]][1a]\n\n[![Build Status][2]][2a]\n[![Dependency Status][3]][3a]\n[![devDependency Status][4]][4a]\n\nHash map of country [ISO-3][5] code to regular expression identifier. Regular\nexpression data is taken from [Vincent Arel-Bundock][6]'s [`countrycode`][7] R\npackage (GPL-3 License). Big ups! :beers:\n\n\n## Install\n\n```bash\nnpm install country-regex\n```\n\n## Usage\n\n```js\nvar countryRegex = require('country-regex')\n\n// and then for example:\ncountryRegex['USA']\n\n// => 'united.?states\\\\b(?!.*islands)|\\\\bu\\\\.?s\\\\.?a\\\\.?\\\\b|^\\\\s*u\\\\.?s\\\\.?\\\\b(?!.*islands)'\n```\n\n## Credits\n\n2017 Étienne Tétreault-Pinard. MIT License\n\n[![Standard - JavaScript Style\nGuide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\n[1]: https://badge.fury.io/js/country-regex.svg\n[1a]: https://badge.fury.io/js/country-regex\n[2]: https://travis-ci.org/etpinard/country-regex.svg?branch=master\n[2a]: https://travis-ci.org/etpinard/country-regex\n[3]: https://david-dm.org/etpinard/country-regex.svg?style=flat-square\n[3a]: https://david-dm.org/etpinard/country-regex\n[4]: https://david-dm.org/etpinard/country-regex/dev-status.svg?style=flat-square\n[4a]: https://david-dm.org/etpinard/country-regex#info=devDependencies\n[5]: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3\n[6]: https://github.com/vincentarelbundock\n[7]: https://github.com/vincentarelbundock/countrycode\n[8]: https://badges.herokuapp.com/size/npm/country-regex/index.js?gzip=true\n","readmeFilename":"README.md"}