improve Readme + add dependabot

This commit is contained in:
Wille Marcel 2020-07-24 06:55:37 -03:00
parent fc44a82257
commit cdfaae335a
2 changed files with 12 additions and 2 deletions

View file

@ -1,5 +1,7 @@
# iso-countries-languages # iso-countries-languages
[![npm version](https://badge.fury.io/js/%40hotosm%2Fiso-countries-languages.svg)](https://badge.fury.io/js/%40hotosm%2Fiso-countries-languages)
This library provides the full list of [ISO 639-1 languages](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) and the full list of [ISO 3166-1 countries](https://en.wikipedia.org/wiki/ISO_3166-1). The library supports 89 languages (the full list is available by querying the library API itself) and it is designed to be easy to import and use. This library provides the full list of [ISO 639-1 languages](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) and the full list of [ISO 3166-1 countries](https://en.wikipedia.org/wiki/ISO_3166-1). The library supports 89 languages (the full list is available by querying the library API itself) and it is designed to be easy to import and use.
## Installation ## Installation
@ -17,7 +19,7 @@ This library includes data for more than 150 languages. To make the build smalle
- Modify [supportedLangs.json](/src/supportedLangs.json) - Modify [supportedLangs.json](/src/supportedLangs.json)
- Run `yarn all` - Run `yarn all`
To update the countries data from OpenStreetMap, execute `yarn update-countries` To update the countries data from OpenStreetMap, execute `yarn update-countries`.
## API list ## API list
@ -163,4 +165,4 @@ Spagnolo
MIT License MIT License
The country names included in this project came from [OpenStreetMap](https://osm.org/copyright). The data is made available under ODbL. The country names included in this project came from [OpenStreetMap](https://osm.org/copyright). The data is made available under [ODbL](https://opendatacommons.org/licenses/odbl/).

8
dependabot.yml Normal file
View file

@ -0,0 +1,8 @@
version: 2
updates:
# Enable version updates for npm
- package-ecosystem: "npm"
# Look for `package.json` and `lock` files in the `root` directory
directory: "/"
schedule:
interval: "weekly"