Skip to content
This repository has been archived by the owner on Jan 13, 2019. It is now read-only.

Latest commit

 

History

History
26 lines (15 loc) · 686 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 686 Bytes

Build Status

About

Small node.js program meant to be run on your command line, it will read the contents of customers.txt, then will parse it into class CustomerList and will find customers that are closest to a given point (hardcoded in index.js).

Prerequisites

  • Node.js installed v10

To run locally

This will a list of sorted entries in a file within specified radius.

  • npm i
  • node index

Testing

Tests are written with mocha and being run in travis environment.

To run them locally:

  • npm test