{"_id":"@ac-dev/countries-service","_rev":"4-b27c66835fe0238b77d67f452cc51c81","name":"@ac-dev/countries-service","dist-tags":{"latest":"1.2.0"},"versions":{"1.1.1":{"name":"@ac-dev/countries-service","author":{"name":"Alessandro Casazza"},"version":"1.1.1","description":"Get the World's countries","repository":{"type":"git","url":"git+https://github.com/Randagio13/countries-service.git"},"license":"MIT","main":"lib/index.js","typings":"lib/index.d.ts","keywords":["world","countries","states","regions","cities"],"engines":{"node":">=10"},"scripts":{"alias":"npx tsc-alias","start":"tsc --watch","build":"tsc -b tsconfig.json --verbose --force && cp -R data lib","postbuild":"minimize-js lib && npm run minify-json","minify-json":"minify-json ./lib/data -w -s","test":"jest","coverage":"jest --coverage","prepare":"npm run build","size":"size-limit","analyze":"size-limit --why","semantic-release":"semantic-release","publish:beta":""},"publishConfig":{"access":"public"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main","next","next-major",{"name":"beta","prerelease":true},{"name":"alpha","prerelease":true}],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/changelog","@semantic-release/npm","@semantic-release/git",["@semantic-release/github",{"addReleases":"top"}]]},"husky":{"hooks":{"pre-commit":"npm run build"}},"prettier":{"printWidth":80,"semi":false,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"lib","limit":"5 MB","webpack":false}],"devDependencies":{"@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","@semantic-release/changelog":"^6.0.1","@semantic-release/commit-analyzer":"^9.0.2","@semantic-release/git":"^10.0.1","@semantic-release/github":"^8.0.2","@semantic-release/npm":"^9.0.0","@semantic-release/release-notes-generator":"^10.0.3","@types/jest":"^27.4.0","husky":"^7.0.4","jest":"^27.4.7","minify-json":"^1.0.0","minimize-js":"^1.2.0","semantic-release":"^19.0.2","tslib":"^2.3.1","typescript":"^4.5.5"},"gitHead":"0653bdc0e47b262ba5fb00393d293b4166aed585","bugs":{"url":"https://github.com/Randagio13/countries-service/issues"},"homepage":"https://github.com/Randagio13/countries-service#readme","_id":"@ac-dev/countries-service@1.1.1","_nodeVersion":"14.18.3","_npmVersion":"8.3.2","dist":{"integrity":"sha512-HWr2c9JONVoycVJqJSSXf5HYW0hXAcCO+SFC4An56aFBy1RtnYFE7aIjl217JSvfgC2xsd9U5q/ynetN3PbMhQ==","shasum":"b103f1d074058d06b0f4022dd394a8068cad24aa","tarball":"https://registry.npmjs.org/@ac-dev/countries-service/-/countries-service-1.1.1.tgz","fileCount":16,"unpackedSize":221167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7ajdCRA9TVsSAnZWagAA+MMP/RI2cF2dpTnOdLWnuCec\nfFvmF0vNa3h2rSPVE/NixEUGcy3Q4mWfEerEC84V2fwHqSNsNO0h6Wv8nvuP\nquf0Rgx+jjCyUtQRYZDdKrB+QwyT/kSkcjsKlmJ+uVrwxWjGT2b6LJsmwHOW\nxGand0EosUm4Pn7Uo4H7xmkcoNNbZzuWJIZhrhbZFP2vwggkPwc2d8zhPSUa\nxRheTId8mUJghmYI9adcnnmGRYRbvMHSRwih4R5llVyvQo5KSK3Z+PJ2fS9B\nl+UTHBhIxQDEQbhta2bwgXNweJTxv5WXcILf8oTF4OWii/dklIq4lVodhJpS\nYuVDsTiTo4WTcfBNaB1a/pIzHKP955GGfMVimqM/9s9iKhXFwxHuhG0QcuIN\nUBOsN7M9JAspHQsR0QVbh6Z3fJTH/2EAovGIJO3c9/frTdn+0cEMHJmHSpdj\ndsZ6fxDGId0P666J8+ejglt+1RiwLiggGk/jh0b6Cd5C/HaawGmmjUdocFx9\nG8qAyaafXsD6hLv4xwCz6mNI+9j8VqIyt09YrH1HZjBsEIvw3qXpVIygrg15\nyDkRFGE/I+aFlQD8+nQL7WUsxZQYxdeH+169EAIg+MwEmI/uRQwxzAMlF7oR\nGLZXyiNdpX72wm++s9H2o2xTkM/D3qSAAFFLStXn8m5YsKrGWn1Kb/CnX8TS\nmxfQ\r\n=vPQj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICDBc0OYOf8A6bhpQIofn9vef7t0PV6bqmtjvkkyGm2LAiBVawwNMeVc3d7byJ4H/nVFkL7FfyA/Jhshio1OVs4P5Q=="}]},"_npmUser":{"name":"randagio13","email":"alessandro.casazza@icloud.com"},"directories":{},"maintainers":[{"name":"randagio13","email":"alessandro.casazza@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/countries-service_1.1.1_1642965213249_0.6302818541495583"},"_hasShrinkwrap":false},"1.1.2":{"name":"@ac-dev/countries-service","author":{"name":"Alessandro Casazza"},"version":"1.1.2","description":"Get the World's countries","repository":{"type":"git","url":"git+https://github.com/Randagio13/countries-service.git"},"license":"MIT","main":"lib/index.js","typings":"lib/index.d.ts","keywords":["world","countries","states","regions","cities"],"engines":{"node":">=10"},"scripts":{"alias":"npx tsc-alias","start":"tsc --watch","build":"tsc -b tsconfig.json --verbose --force && cp -R data lib","postbuild":"minimize-js lib && npm run minify-json","minify-json":"minify-json ./lib/data -w -s","test":"jest","coverage":"jest --coverage","prepare":"npm run build","size":"size-limit","analyze":"size-limit --why","semantic-release":"semantic-release","publish:beta":""},"publishConfig":{"access":"public"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main","next","next-major",{"name":"beta","prerelease":true},{"name":"alpha","prerelease":true}],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/changelog","@semantic-release/npm","@semantic-release/git",["@semantic-release/github",{"addReleases":"top"}]]},"husky":{"hooks":{"pre-commit":"npm run build"}},"prettier":{"printWidth":80,"semi":false,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"lib","limit":"5 MB","webpack":false}],"devDependencies":{"@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","@semantic-release/changelog":"^6.0.1","@semantic-release/commit-analyzer":"^9.0.2","@semantic-release/git":"^10.0.1","@semantic-release/github":"^8.0.2","@semantic-release/npm":"^9.0.0","@semantic-release/release-notes-generator":"^10.0.3","@types/jest":"^27.4.0","husky":"^7.0.4","jest":"^27.4.7","minify-json":"^1.0.0","minimize-js":"^1.2.0","semantic-release":"^19.0.2","tslib":"^2.3.1","typescript":"^4.5.5"},"gitHead":"1f35c3538e61193445242b305d382680be470d1d","bugs":{"url":"https://github.com/Randagio13/countries-service/issues"},"homepage":"https://github.com/Randagio13/countries-service#readme","_id":"@ac-dev/countries-service@1.1.2","_nodeVersion":"14.18.3","_npmVersion":"8.3.2","dist":{"integrity":"sha512-mBdqULMUgRemT6JxEVz2DJ3P4zGPxDdIvg9WkP3Yxn4lYptX9Y4A5QVFxDodZ/w0fsBM7NhJEi9gPVeYdR+Ahg==","shasum":"190905259e8f5430f788d97cee140a6c530f36ab","tarball":"https://registry.npmjs.org/@ac-dev/countries-service/-/countries-service-1.1.2.tgz","fileCount":16,"unpackedSize":221222,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7sb6CRA9TVsSAnZWagAA0QsP/0dy1YrrqrQoz0WIWF8j\nWLAbRNyqcY8vUNft0Taj2eaibQvvBAlsla2a0RRa920gWmucyoQfLxd0ltcD\ni3efHGVg2PuaDATR4i0GbVuG94MDO2rSHkqMCvPnewwjbIdpXmGsoUsHkQlw\noi8Eonfhvwl719xltTouHpLYxpGFn6zZmNVVa+E/Gc+k3dGlULgQvvCl5thx\n8CFfYwe2Olc6FBMyNklDIQ5ROcBLB6547V61aAzzlBdMQZ7pWSyhXXYbIJ2D\nwnFA2F0tyWkw+2oE6t9M1SvIYtXy6rCUKHccVE7xC1y4Lp7sDw19XLbFIu8J\neT4p26FHeb4lXO34E7fYPPpAvn98yntcZhzq3840dorvAOtyTnccO3ONlE8A\nwcPYMBQJMVu/liPXlyy9N884mhzj0beSW3UUupe4vwtTwOmI+pqk6wYMM7s5\nEGmjsztts+CKXGdAL75TRPCn6YEYV7PpS4r2+K+VJw8eyakrV9hK5sMWVTe2\nWm89BwW8sjiF5Gx/44bL+BOikr3wr88KkDH2d/buU/FewCpxENUnyhUU+XfJ\nLnDrct/BkHL6m2BQilrSnJneb3DiRgMCmQIdaBJrDM6bNNwaplT+3/oW7Z/1\nI5ukTP8Ah+dSfyJOD2MzsLPdENMTHTlw7p4xSNFW6hYVunvKwwM2szwcVvob\nRRz4\r\n=M0a0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlhkXzrtTyFIxLiJGLV2J6cvsHLdGzS3s5NE5c6zROrAIgUUjgLNn0uUjBRJ4174LuWgHnXPyqcml6EWjD0Ib5Fj8="}]},"_npmUser":{"name":"randagio13","email":"alessandro.casazza@icloud.com"},"directories":{},"maintainers":[{"name":"randagio13","email":"alessandro.casazza@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/countries-service_1.1.2_1643038458462_0.7963073644937797"},"_hasShrinkwrap":false},"1.1.3":{"name":"@ac-dev/countries-service","author":{"name":"Alessandro Casazza"},"version":"1.1.3","description":"Get the World's countries","repository":{"type":"git","url":"git+https://github.com/Randagio13/countries-service.git"},"license":"MIT","module":"lib/index.js","typings":"lib/index.d.ts","keywords":["world","countries","states","regions","cities"],"engines":{"node":">=10"},"scripts":{"alias":"npx tsc-alias","start":"tsc --watch","build":"tsc -b tsconfig.json --verbose --force && cp -R data lib","postbuild":"minimize-js lib && npm run minify-json","minify-json":"minify-json ./lib/data -w -s","test":"jest","coverage":"jest --coverage","prepare":"npm run build","size":"size-limit","analyze":"size-limit --why","semantic-release":"semantic-release","publish:beta":""},"publishConfig":{"access":"public"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main","next","next-major",{"name":"beta","prerelease":true},{"name":"alpha","prerelease":true}],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/changelog","@semantic-release/npm","@semantic-release/git",["@semantic-release/github",{"addReleases":"top"}]]},"husky":{"hooks":{"pre-commit":"npm run build"}},"prettier":{"printWidth":80,"semi":false,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"lib","limit":"5 MB","webpack":false}],"devDependencies":{"@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","@semantic-release/changelog":"^6.0.1","@semantic-release/commit-analyzer":"^9.0.2","@semantic-release/git":"^10.0.1","@semantic-release/github":"^8.0.2","@semantic-release/npm":"^9.0.0","@semantic-release/release-notes-generator":"^10.0.3","@types/jest":"^27.4.0","husky":"^7.0.4","jest":"^27.4.7","minify-json":"^1.0.0","minimize-js":"^1.2.0","semantic-release":"^19.0.2","tslib":"^2.3.1","typescript":"^4.5.5"},"gitHead":"694239daf912d7668d24a22eba7c74c7319ac716","bugs":{"url":"https://github.com/Randagio13/countries-service/issues"},"homepage":"https://github.com/Randagio13/countries-service#readme","_id":"@ac-dev/countries-service@1.1.3","_nodeVersion":"14.18.3","_npmVersion":"8.3.2","dist":{"integrity":"sha512-vY0vtchj+bxttVsuVpM8VE2CX5i2nz/G1s7uYLIfqIct8F6/SJcI4GNwzVo3DC08WKEy/sG+I8kyV6dXjuJgPg==","shasum":"819bf00f6dbcdb5069f795c868809b35070ebc2b","tarball":"https://registry.npmjs.org/@ac-dev/countries-service/-/countries-service-1.1.3.tgz","fileCount":16,"unpackedSize":221224,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7sqKCRA9TVsSAnZWagAAASwP/jHy4DBfRHWbnBhJMedo\nYMLXxNwi0uEI2aI5ILd5h8tIKqf9zgQlG6HIVZLzr5xy4wG5QWfotqn7LrCq\nueza52ocWw8Kx+u8cziwc11KThTvmYdCi/OkS1SRaCzPWvMDdo10ZLV5wypn\nQitTeuvOyiJV1wcbE15mayOQNpPvXdFDqER9rYuIwyMdKmjBV4RTut0frO6E\n5foZQ5CEWdFvxLwa4NhA/VhHy/QGmeb43phRbfJv7D9Bo0I47PMxk0osh76o\n5ujwcIjZIQyM3LmYbFdKtOmL2BTRiWRlhz7T1UvolRNtcmUXdTIkSm+SWSkQ\nM+eCXa+6h6bMJKOC8gbqE1nZBIDe8S78s3MvlEKS1AvyqhsXnfrqVsJwg1wE\n7V0IbuIJRUsJozFVC5XcXX+5iBzWtl9pVlQs8RkQUEwIc/IF6tbLmdM5qOfh\nA2/+1ca7byLjIVzStpLmobBfKka1Ygv0DKH0uNcVeSXHiB6n/U9Unb9Kmpwh\nDZDU2FmjovCrhjnAVfeWTIfm0RONFWtsn5tJ2IMfqFaZwqNOAi+RiMUL/BHv\nP7sVbkIAmn4biAyfqRCPH7O2nJSuq6mSrYYHT/8+qm6ojl7mwbGtGLEQC4Uc\nxRDoB1et//d1ZYc2yDwzfLb9kFqhcpx85PW/XHgEa3Yt4LyqtfVpDItIc0vM\nHh9V\r\n=kH7f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCx53f8dnj0o0P7c767o3IavUqFBqvmHnNCrforrLR32QIhANogDgvNSHvKcQyIdgGEy7TB5G0lCgcs5OLck8y2YYEv"}]},"_npmUser":{"name":"randagio13","email":"alessandro.casazza@icloud.com"},"directories":{},"maintainers":[{"name":"randagio13","email":"alessandro.casazza@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/countries-service_1.1.3_1643039370174_0.5568076208970558"},"_hasShrinkwrap":false},"1.2.0":{"name":"@ac-dev/countries-service","author":{"name":"Alessandro Casazza"},"version":"1.2.0","description":"Get the World's countries","repository":{"type":"git","url":"git+https://github.com/Randagio13/countries-service.git"},"license":"MIT","main":"lib/cjs/index.js","module":"lib/esm/index.js","typings":"lib/esm/index.d.ts","keywords":["world","countries","states","regions","cities"],"engines":{"node":">=10"},"scripts":{"alias":"npx tsc-alias","start":"tsc --watch","build":"npm run lint && tsc -b tsconfig.json tsconfig.cjs.json --verbose --force && cp -R data lib","postbuild":"minimize-js lib -w -s -d && npm run minify-json","minify-json":"minify-json ./lib/data","test":"jest","lint":"eslint src","coverage":"jest --coverage","prepare":"npm run build","size":"size-limit","analyze":"size-limit --why","semantic-release":"semantic-release","publish:beta":""},"publishConfig":{"access":"public"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main","next","next-major",{"name":"beta","prerelease":true},{"name":"alpha","prerelease":true}],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/changelog","@semantic-release/npm","@semantic-release/git",["@semantic-release/github",{"addReleases":"top"}]]},"husky":{"hooks":{"pre-commit":"npm run build"}},"prettier":{"printWidth":80,"semi":false,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"lib","limit":"5 MB","webpack":false}],"devDependencies":{"@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","@semantic-release/changelog":"^6.0.1","@semantic-release/commit-analyzer":"^9.0.2","@semantic-release/git":"^10.0.1","@semantic-release/github":"^8.0.2","@semantic-release/npm":"^9.0.0","@semantic-release/release-notes-generator":"^10.0.3","@types/jest":"^27.4.0","@typescript-eslint/eslint-plugin":"^5.13.0","@typescript-eslint/parser":"^5.13.0","eslint":"^8.10.0","husky":"^7.0.4","jest":"^27.4.7","minify-json":"^1.0.0","minimize-js":"^1.3.0","semantic-release":"^19.0.2","tslib":"^2.3.1","typescript":"^4.5.5"},"gitHead":"10073fd7e71aaeaab8b1dabe96c6ef0adca3c403","bugs":{"url":"https://github.com/Randagio13/countries-service/issues"},"homepage":"https://github.com/Randagio13/countries-service#readme","_id":"@ac-dev/countries-service@1.2.0","_nodeVersion":"17.6.0","_npmVersion":"8.3.2","dist":{"integrity":"sha512-9+LUUTALFa17EKL7l93ExcjYgHdkcHWlOyvAqMdrVWie6/105eGryQqaba0yIwM4rBYfvs/b/KJHkbcAdSFD2Q==","shasum":"206538c41b32c193a0a17277902ae78f8d65e2fd","tarball":"https://registry.npmjs.org/@ac-dev/countries-service/-/countries-service-1.2.0.tgz","fileCount":28,"unpackedSize":228472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJP7hACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoRNw/8CrtECjyDEcFfbxosj4inY1zJPGfiBJaipSoW8r0qlEY5kofn\r\npBMUiAsrpF96GVTxZ8zlnxO52Ehh85o7KMfzsTaMTU2pXO84oJXAUp4X1jXn\r\nVE2lgIqr3hCrX/eJ8qopWvehFB7vf/7h3ZmPXmjr0LKgeafRAP9voPswe9NC\r\ntdo+sVY8bK087Qi6/8yKjFBqbYaPDjFHEC/8bOe2o7yJ68GK9c5n3uiyQMKD\r\nbZ3O0FEpOeeXPvrYNYkTf0p1zVse91z9FhesnvsQc1moP9XmGrSqsu1tb9+g\r\nKxgaxGEXG2ns+gcu3XxqnWB8Fr+betdL8h7ZiZjnIGpUdK4moJ41DxCF9p55\r\nw1TZWbbL4mQ52pzgVtCq07cEIcP1YXWs7jZ/mPwgeX0qEJCxlQYqv1Z2UIhJ\r\ng3moKPDEFxLZySnSbRovovryMtL8MK449vkv5TtXBNNm20TK6pfPXMxDDLBh\r\nS/4SCr3B4ksTepmX3v/QtyFIsxGUjL9P/hCU8QMtcMg4CCilT3FV/RJ4GZK3\r\nVJHiDGujbecRt/0XLB54vuXBZ0MV4Jw9kI5iErilKPbhndQB8gAUJQ/8JVwg\r\nk02vSWxNVgvEwYJ6FqZsURVjNntjnIopbmvmaGlJo+XP9JXnC1+unABVHEf5\r\nKVDngUyYKq/CbaCWQOeZth43y60mskRWjU4=\r\n=AZYa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/Vpr++Zpkkyu6EhhHSNkay9VRN5biz4c7YazG8H2qlAiEA4/SLvLWFEjYSKd0MGq57m32Oe+78QLjSLe12d3jJVUM="}]},"_npmUser":{"name":"randagio13","email":"alessandro.casazza@icloud.com"},"directories":{},"maintainers":[{"name":"randagio13","email":"alessandro.casazza@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/countries-service_1.2.0_1646591713343_0.9021064067464408"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-23T19:13:33.196Z","1.1.1":"2022-01-23T19:13:33.398Z","modified":"2022-04-04T11:04:37.777Z","1.1.2":"2022-01-24T15:34:18.689Z","1.1.3":"2022-01-24T15:49:30.319Z","1.2.0":"2022-03-06T18:35:13.516Z"},"maintainers":[{"name":"randagio13","email":"alessandro.casazza@icloud.com"}],"description":"Get the World's countries","homepage":"https://github.com/Randagio13/countries-service#readme","keywords":["world","countries","states","regions","cities"],"repository":{"type":"git","url":"git+https://github.com/Randagio13/countries-service.git"},"author":{"name":"Alessandro Casazza"},"bugs":{"url":"https://github.com/Randagio13/countries-service/issues"},"license":"MIT","readme":"<div align=\"center\">\n  \n# Countries Service\n\n[![NPM](https://nodei.co/npm/@ac-dev/countries-service.png?compact=true)](https://nodei.co/npm/@ac-dev/countries-service/)\n<br />\n[![](https://img.shields.io/npm/dt/@ac-dev/countries-service.svg?style=flat-square)](https://www.npmjs.com/package/@ac-dev/countries-service)\n\n</div>\n\n## Table of contents\n\n1. [Mission](#mission)\n2. [Getting started](#getting-started)\n   - [Installation](#installation)\n   - [Import](#import)\n3. [Usage](#usage)\n4. [Contributors](#contributors)\n5. [Need help](#need-help)\n6. [Licence](#license)\n7. [Sponsor](#sponsor)\n\n## Mission\n\n- I've never found any complete library to get all world countries, states, and cities. I want to develop the best one. Of course, contributors are welcome!!\n- I took this [data](https://github.com/dr5hn/countries-states-cities-database) as a starting point.\n- This package is a part of [countries-states-cities-service](https://github.com/Randagio13/countries-states-cities-service)\n\n## Getting started\n\nTo get started with this library, you need to install it and add it to your project.\n\n### Installation\n\nCountries States Cities Service is available as an npm package.\n\n```bash\n# npm\nnpm install @ac-dev/countries-service\n\n# yarn\nyarn add @ac-dev/countries-service\n```\n\n### Import\n\nImport single named import as follow:\n\n```typescript\nimport { Countries } from '@ac-dev/countries-service'\n```\n\n## Usage\n\nThe code snippet below shows how to put into action `countries-service` in some common use cases.\n\n- Get all countries.\n\n```typescript\nconst countries = Countries.getCountries()\n```\n\n- Get all countries by `asc` sort.\n\n```typescript\nconst countries = Countries.getCountries({\n  sort: {\n    mode: 'asc',\n  },\n})\n```\n\n- Get all countries by `desc` sort.\n\n```typescript\nconst countries = Countries.getCountries({\n  sort: {\n    mode: 'desc',\n  },\n})\n```\n\n- Get all countries by alphabetical sort.\n\n```typescript\nconst countries = Countries.getCountries({\n  sort: {\n    mode: 'alphabetical',\n    key: 'iso2',\n  },\n})\n```\n\n- Get all countries with localization.\n\n```typescript\nconst countries = Countries.getCountries({ locale: 'it' })\n```\n\n- Get a country by iso2 code.\n\n```typescript\nconst countries = Countries.getCountries({ filters: { iso2: 'US' } })\n```\n\n- Get a country by iso2 code and localization.\n\n```typescript\nconst countries = Countries.getCountries({\n  filters: { iso2: 'IT' },\n  locale: 'it',\n})\n```\n\n- Get a country by iso3 code.\n\n```typescript\nconst countries = Countries.getCountries({ filters: { iso3: 'ITA' } })\n```\n\n## Contributors\n\nAny contribution is appreciated. You can get started with the steps below:\n\n1. Fork [this repository](https://github.com/Randagio13/countries-states-cities-service) (learn how to do this [here](https://help.github.com/articles/fork-a-repo)).\n\n2. Clone the forked repository.\n\n3. Make your changes and create a pull request ([learn how to do this](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request)).\n\n4. I will attend to your pull request and provide some feedback.\n\n## Need help?\n\nPing me [on Twitter](https://twitter.com/randagio19)\n\n## License\n\nThis repository is licensed under the [MIT](LICENSE) License.\n\n## Sponsor\n\nDon't be shy! 😜\n\n[:heart: Sponsor](https://github.com/sponsors/Randagio13)\n","readmeFilename":"README.md"}