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

Tiny program that parses text to class instances (Customer) and does some filtering on top of it

Notifications You must be signed in to change notification settings

ivarprudnikov/text_to_class_parser

Repository files navigation

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

About

Tiny program that parses text to class instances (Customer) and does some filtering on top of it

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published