customer-records
Requirements
- node v10.10.0
- npm v6.4.1
Getting started
Install:
npm install
Run with a customers file path:
$ npm start customers.txt
{"user_id":4,"name":"Ian Kehoe"}
{"user_id":5,"name":"Nora Dempsey"}
...
Test:
npm test
filter customers that are within 100 km of Dublin
Install:
npm install
Run with a customers file path:
$ npm start customers.txt
{"user_id":4,"name":"Ian Kehoe"}
{"user_id":5,"name":"Nora Dempsey"}
...
Test:
npm test
filter customers that are within 100 km of Dublin