{"_id":"@elijahjcobb/covid19","_rev":"2-1a7cb2e301cd72f1459f1ff264b39b11","name":"@elijahjcobb/covid19","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@elijahjcobb/covid19","version":"1.0.0","description":"A typescript networking library to access WHO data about the 2019 covid19 virus.","keywords":["typescript","corona","virus","covid","covid19","19","api","cdc","who"],"main":"js/index","types":"dts/index","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run compile","compile":"npm run clean && /usr/local/bin/tsc -p tsconfig.json","watch":"tsc -w -p .","clean":"rm -rf js && rm -rf dts","start":"node js/index.js"},"repository":{"type":"git","url":"git+https://github.com/elijahjcobb/covid19.git"},"publishConfig":{"access":"public"},"author":{"name":"Elijah Cobb","email":"elijah@elijahcobb.com","url":"https://elijahcobb.com/"},"license":"MIT","bugs":{"url":"https://github.com/elijahjcobb/covid19/issues"},"homepage":"https://github.com/elijahjcobb/covid19#readme","dependencies":{"@element-ts/palladium":"latest"},"devDependencies":{"@types/node":"latest","typescript":"latest","tslint":"latest","jest":"latest","@types/jest":"latest","@types/request":"latest"},"_id":"@elijahjcobb/covid19@1.0.0","_nodeVersion":"13.11.0","_npmVersion":"6.14.3","dist":{"integrity":"sha512-fY7cjnfDaJ8aU9SBmUUFFUPifwL+yzeZI4dR7nGEwXjRi166Xt5TU0Mi3YSm1pSN57jRmT/0CZ3EuiXcoFF0xQ==","shasum":"19703491d61f1238e91cba3b80b2cc2df0697e92","tarball":"https://registry.npmjs.org/@elijahjcobb/covid19/-/covid19-1.0.0.tgz","fileCount":9,"unpackedSize":14696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee5bTCRA9TVsSAnZWagAAyFwP/iSHbO/dCFn7Cr5bTzsi\nSj3L/kddoG0j6XFjlgAWSKGNwTBWBsFzpIbWWAkRU2B5uM2Sfqx1VFH4vfcS\nvEPmFG/uEoCIltMHEoQV1INbZuBStNJMWc7c3WRwRcBT6Km+GxGXDKNehRnu\nEZPOEiJxa7Es1mmlwyJl+qXSPDmAtSMXAh2hTPFbcCHnJhBoAsMpHexXk4KP\nAginax7C72IV67RvxDx34WdaJxUZhwbioowJldu3yPrBDINeHgHT4JwdZ5jB\nhgk2zH+RC7btEZ1m1S0ERW0i9ifpK/BdRybWw0tzj8mq3U68o4gguGWYIa3k\np2p2uZ00Mrag0yPKXEajejynZL9gHD30zPRvpskQx0Hjq9BmxZD3Gycxa90L\n+cEMftngI4QUogQEN07+Gn0YaZKXib9/VrY2dazIrJFOWP2pX7KhD64YMOjh\nnYRkXnxEizeBmaboyp44lTtkFprTFlfPP1GIGbBnmiqw6UsSGAMeK8Sanom4\njVFRDG6OhIwKvRTKX7Vr0sSu+k1BRlbRLDmsyzQOKWyVg2Qjq4g5Z93UyHhC\nBP9d1xkyLp3uljgM/mF02Rf2CPGu50ZS4THD4uq6h4yW2VHxd0D5kkJfASGD\nm0uodkeAk2DcEykgWKfjd+TOqaqf/RGq7CFGb9pyetPDCpsCcs5fOm61Sc79\nZduB\r\n=14o4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJkGHQRmhGV9NkIbL+Ogt1rZ4XDzmFukzWdjbEC8aXWAiEAmH/PZIF6RH6VLR2xBYXxjDF0/sT/OpDW/VCsvAloAdo="}]},"maintainers":[{"name":"ejc","email":"elijah@elijahcobb.com"}],"_npmUser":{"name":"ejc","email":"elijah@elijahcobb.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/covid19_1.0.0_1585157843474_0.3839601070243768"},"_hasShrinkwrap":false},"2.0.0":{"name":"@elijahjcobb/covid19","version":"2.0.0","description":"A typescript networking library to access WHO data about the 2019 covid19 virus.","keywords":["typescript","corona","virus","covid","covid19","19","api","cdc","who"],"main":"js/index","types":"dts/index","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run compile","compile":"npm run clean && /usr/local/bin/tsc -p tsconfig.json","watch":"tsc -w -p .","clean":"rm -rf js && rm -rf dts","start":"node js/index.js"},"repository":{"type":"git","url":"git+https://github.com/elijahjcobb/covid19.git"},"publishConfig":{"access":"public"},"author":{"name":"Elijah Cobb","email":"elijah@elijahcobb.com","url":"https://elijahcobb.com/"},"license":"MIT","bugs":{"url":"https://github.com/elijahjcobb/covid19/issues"},"homepage":"https://github.com/elijahjcobb/covid19#readme","dependencies":{"@element-ts/palladium":"latest"},"devDependencies":{"@types/node":"latest","typescript":"latest","tslint":"latest","jest":"latest","@types/jest":"latest","@types/request":"latest"},"gitHead":"96bf67842a00ac9823ce8b02177c85a5c58b3f5d","_id":"@elijahjcobb/covid19@2.0.0","_nodeVersion":"13.13.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-v7K+9QwZrMZ4L2DT3WwPy5p1KKk6o/Q1S3toAK0+1I+0YnPBSPPJ73RltJWU/w93w1THK7gqEuVEw1GvQ24RUg==","shasum":"b049f1decee03e67ff25a20d7229a276b448977b","tarball":"https://registry.npmjs.org/@elijahjcobb/covid19/-/covid19-2.0.0.tgz","fileCount":15,"unpackedSize":26075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqyklCRA9TVsSAnZWagAAUD4P/Agd7gQNN3NbOYWgkdRe\n+xZPDnxvrK9VOnDyBH62etC3wf4cJVOehrr0jKZJwp0QXZNelbkzr709Phft\n5suGhBmmuGl6chk1E7ZOMUB9WuSS9zIQLT8QgyvUAx0xr5LP8+9oqd8P76PB\nXC/nTv92pwgsrcI73BTXhEzPuHC10/4eoDmMcHqfrL37hrcmAMETw3njXxGr\nr8ASFBVX7al41GCK82A+NEJM4EwZ2IieSXF9z1mFSSOGtqXAnj0R0/0dGUjA\nVsT9YD42PENkKq6JVBh/cOlTrlhanba1GQvdE9iz8+F1hrLtPfZN8wDVT4PS\nFzpriB5l+70BkCR+c4lp7nRWhJQhw0dHXJ34LTMugxQX0P6145YGdkYW/93U\nbg9KKLPq9RpBTJX0KjDV6QHFc4qQtkCwI9EccRwqgTYKmQlc8dLoHpUMlw0d\nb7sJoH5vP+8fhr+2AXyj5oLT0IWsY06ulGqUzMcR7Y/pOiTO8Jm2V7uNNL7H\nKNC2q61kEmKIZ0g2w+XHOcW2RmkQQsoxGWtNXcFppI0ROL6GWU23wnTGVAE5\nBAYHiKbJNFW+oYbaxkbiPys5R2H+tjhpoPRHwrSVJsnDDzHQO/VZbnZOCbfV\nYSZiG8Rp0KLb0+BVZeQzMUsj4rl/3opD74tdbVt5etSQCm8lZy5jc4mF8Krc\nUbWS\r\n=JkxR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBurx8rLAJUf259dKwqCA+xGIm6WIb6jpCfFZS5YivzPAiEAhxCPsess4BHWwoKCZVrZUL94yH/aIi34B6+IlfPugXM="}]},"maintainers":[{"name":"ejc","email":"elijah@elijahcobb.com"}],"_npmUser":{"name":"ejc","email":"elijah@elijahcobb.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/covid19_2.0.0_1588275492844_0.409503495040098"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-25T17:37:23.282Z","1.0.0":"2020-03-25T17:37:23.646Z","modified":"2022-04-05T07:11:56.160Z","2.0.0":"2020-04-30T19:38:12.942Z"},"maintainers":[{"name":"ejc","email":"elijah@elijahcobb.com"}],"description":"A typescript networking library to access WHO data about the 2019 covid19 virus.","homepage":"https://github.com/elijahjcobb/covid19#readme","keywords":["typescript","corona","virus","covid","covid19","19","api","cdc","who"],"repository":{"type":"git","url":"git+https://github.com/elijahjcobb/covid19.git"},"author":{"name":"Elijah Cobb","email":"elijah@elijahcobb.com","url":"https://elijahcobb.com/"},"bugs":{"url":"https://github.com/elijahjcobb/covid19/issues"},"license":"MIT","readme":"# covid19\nA Typescript package to access up to date statistics on the 2019 Corona Virus. Data from this package is from the\n[John Hopkins CSSE](https://github.com/CSSEGISandData/COVID-19) and made accessible by\n[covid19api.com](https://covid19api.com/). I have simply written a Typescript package that handles the networking from\nthe API. Everything is typesafe and properties have been restructured to make it a little easier to access the data\nyou need.\n\n#### NOTE!\nCall these methods as infrequently as possible to not strain the server that is graciously hosting all of this data\n**FOR FREE**. Data is only updated daily so don't call more frequently than that. Cache your responses, don't recall\nevery time.\n\n\n### Example\n```typescript\nimport {Covid19} from \"@elijahjcobb/covid19\";\n\nawait Covid19.getAllCountries();\nawait Covid19.getSummary();\nawait Covid19.getDailyForCountry(\"united-states\");\nawait Covid19.getDailyForRegionsInCountry(\"united-states\");\nawait Covid19.getDailyForProvincesInCountry(\"united-states\");\n```\n\n### Types\nYou can view all the actual types that I created for this package in the\n[types.ts](https://github.com/elijahjcobb/covid19/tree/master/ts/types.ts) file.\n\n### Documentation\nEverything has been completely documented. You can view the\n[source code](https://github.com/elijahjcobb/covid19/tree/master/ts) on GitHub.\n\n### Bugs\nIf you find any bugs please [create an issue on GitHub](https://github.com/elijahjcobb/covid19/issues).\n\n### Support\n[Buy me a coffee! :)](https://www.buymeacoffee.com/elijahjcobb)","readmeFilename":"README.md"}