1.0.1 • Published 4 years ago

projectb2c v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

##Parse the JSON File where criteria is mentioned as an input object along with File Path and Reference Location.

First, install the build from npm:

npm install --save projectb2c

##Quick Start Usage.

const project = require('projectb2c')

var input = { 
    fileName: 'Customers.txt', 
    maxKmDistance: 100, 
    refLat1: 53.339428, 
    refLng1: -6.257664 
};
project.parse_customer_file(input, (error, result) => {
    if (error) {
        console.log(error);
    }
    else {
        result.forEach(element => {
            console.log(element);
        });
    }
})
1.0.1

4 years ago

1.0.0

4 years ago