Small exercise made for an interview: calculate partners within 100Km of central London from a list of partners
- Start node:
node
- In the console, require the module (make sure you're in the root directory):
const distanceFilter = require('./')
- Use it:
clone() // should return a list of partners within 100km
The list is insrc/source/partners.json
- Install dependencies:
npm install
- Run tests:
npm test