open-index/open-npm huggingface dataset:
npm package: @reuters-graphics/covid-metadata-client
Description: ### Methods
Author: Jon McClure
Latest version: 0.0.1

![](badge.svg)

# covid-metadata-client


### Methods

```javascript
import CovidMetadataClient from '@reuters-graphics/covid-metadata-client';

const client = new CovidMetadataClient();

client.regions;

client.getRegionSlug(regionName);
client.getRegionName(regionSlug);
client.getRegionByCountry(countryNameSlugOrCode);


client.subregions;

client.getSubregionSlug(subregionName);
client.getSubregionName(subregionSlug);
client.getSubregionByCountry(countryNameSlugOrCode);

client.countries;

client.getCountriesByRegion(regionNameOrSlug);
client.getCountriesBySubregion(subregionNameOrSlug);

client.getCountrySlug(countryNameOrCode);
client.getCountryCode(countrySlugOrName);
client.getCountryName(countrySlugOrCode);




```