world-countries-capital
v2.2.0
Published
Get random World countries (and capital) info
Readme
world-countries-capital
World countries (and capital) library. Find very basic geographical, cultural, etc. information about all countries of the world.

Installation
This package is distributed via npm:
npm install world-countries-capitalUsage
var names = require('world-countries-capital');
var allNames = names.all;
var randomName = names.random();
var threeRandomNames = names.random(3);Project Setup
This project assumes you have NodeJS v6 or greater installed. You should also have npm v3 or greater installed as well (this comes packaged with Node 6). You'll also need a recent version of git installed as well.
Validate branch:
npm run validateBuild and run in production mode:
npm run buildCommit changes in staging area:
git add .
npm run commitOther
This library was developed by me as part of an egghead.io series called "How to Write a JavaScript Library."
If you get any failures at this point something is wrong and needs to be fixed. Remember, Google and StackOverflow are your friends.
You might find it helpful to see a list of the available branches. Run: git branch for that.
