countrily-data

1.0.1 • Public • Published

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

  1. Make the changes you desire
  2. 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 cozzbie@gmail.com

Please see licence file.

Readme

Keywords

none

Package Sidebar

Install

npm i countrily-data

Weekly Downloads

24

Version

1.0.1

License

ISC

Last publish

Collaborators

  • cozzbie