open-index/open-npm huggingface dataset:
npm package: @scaleway/countries
Description: A package containing ISO 3166 and ISO 3166-2 codes
Latest version: 1.3.2
Deprecated: No longer maintained

# `@scaleway/countries`

ISO 3166/3166-2 coutries JSON database

This package only holds and publish json files

---

## Install

```bash
$ pnpm add @scaleway/countries
```

## Usage

```js
import countries from '@scaleway/countries'
import frenchSubdivisions from '@scaleway/countries/subdivisions/FR'

console.log(countries) // => [{ "name": "Afghanistan", "dial_code": "+93", "code": "AF", "flag": "🇦🇫" }, ...]

console.log(frenchSubdivisions) // => [{ "code": "FR-01", "country_code": "FR", "name": "Ain", "parent_code": "FR-ARA", "type": "Metropolitan department" }, ... ]
```

## Generation

This package is generated manually from a pypi library [pycountry](https://pypi.org/project/pycountry/)

To update the database, first make sure that you have:

- [python](https://www.python.org) >= 3.0
- [poetry](https://python-poetry.org) >= 1.0

And then:

```bash
$ pnpm run generate
```
npm package: @scaleway/eslint-config-react
Description: Scaleway React eslint shared config
Latest version: 5.2.14

# `@scaleway/eslint-config-react`

A shared eslint react opiniated configuration

Available in Javascript and Typescript

---

## Install

```bash
$ pnpm add --dev @scaleway/eslint-config-react
```

## Usage

Add to your `.eslintrc`

```json
{
  "extends": ["@scaleway/react]"
}
```

Or for Typescript

```json
{
  "extends": ["@scaleway/react/typescript"],
  "parserOptions": {
    "project": "./path/to/tsconfig.json"
  }
}
```

We also have a standalong emotion configuration

```json
{
  "extends": ["@scaleway/react", "@scaleway/react/emotion"]
}
```