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-capital
Usage
var names = ;var allNames = namesall;var randomName = names;var threeRandomNames = names;
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 validate
Build and run in production mode:
npm run build
Commit changes in staging area:
git add .
npm run commit
Other
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.