countrily-data
v1.0.1
Published
Compiled data for the countrily node lib
Downloads
45
Readme
countrily-data
Inspired by the work of the authors of countryjs. This is a single file compilation of all the countries data.
Table of Contents
Install
npm install countrily-data
cd node_modules/countrily-data
npm run build
The Build command builds/rebuilds the index.js file for easy compilation for non nodejs environments.
Usage
To access countries data just var data = require('countrily-data')
API
Test
- Make the changes you desire
- Ensure all changes have a new test in the
test/
folder, and run:
npm test
Disclaimer
This is being maintained in the contributor's free time, and as such, may contain minor errors in regards to some countries. Most of the information included in this library is what is listed on Wikipedia. If there is an error, please let me know and I will do my best to correct it.
License (ISC)
Copyright (c) 2017, Timi Aiyemo [email protected]
Please see licence file.