- Fork and clone this repo
- Install dependencies:
npm i
- Add an accent to english-accents.json
- Run the tests to check everything is fine:
npm t
- Create a Pull Request
Alternatively, create an Issue adding details about the accent.
An accent entry looks like this:
"arizona": {
"coords": {
"lat": 34.304337,
"lng": -111.614609
},
"country": "us",
"name": "Arizona",
"videos": ["jusOFxVfjjI", "r2vM04zuO90"]
}
cords
: Coordinates in latitude / longitudecountry
: Country id. Options, for now, are these ones (create an issue if you want to add accents for a different country):gb
: United Kingdomus
: United Statesie
: Irelandau
: Australianz
: New Zealand
name
: Name of the city / town / placevideos
: An array of YouTube video ids
A Schema JSON spec is also available here.