Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 455 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 455 Bytes

Shipment discount calculator

Prerequisites

  • Node.js (v20.5.0 is recommended)
  • Npm

Setup

Simply run npm i && npm run build command to install dev dependencies and build the project.

Usage

Run npm run execute command to execute. By default, input.txt will be used.

Optionally, file path for data input can be provided as an argument npm run execute <fileDir>.

Tests

Tests can be run by executing the npm run test command.