1.0.4 • Published 6 years ago

nhimai-exe v1.0.4

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

nhimai-exe

NPM package for reading the file and print country data in order on every 1 second

Usage

To get the this package. Run the following command:

after installing package you need to add this to your node main file (e.g. index.js or server.js) by adding following command:

var myPackage = require('nhimai-exe');

myPackage.readData(require('path/to/file.json')); myPackage.on('countrydata', function(data){ console.log('Country: ', data.country); console.log('Capital City: ', data.city); console.log('Country index: ', data.index); //0, 1, 2 etc.. });

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago