# Light Weight Countries List

The package is nice and simple, need a list of countries, you can find them here. Lightweight, deliberately simple in-order to reduce package size.

## Install

`npm i light-weight-countries-list`

## Import

`import countries from "light-weight-countries-list";`

## Use

```js
import countries from "light-weight-countries-list";
// Get all countries
console.log(countries);

// Filter countries
const europeCountries = countries.filter((country) =>
  ["FR", "DE", "IT", "ES"].includes(country.code)
);

// Find a specific country
const findCountry = (code) =>
  countries.find((country) => country.code === code);
```
