This NodeJS application divides an array into an given number of equal sub arrays when possible.
Installation is managed via a javascript package manager. You can use either Yarn or npm. From the root folder run the following commands depending on your package manager of choice
npm install
or
yarn install
Once the NPM modules are installed, you can run the application using:
npm start
or
yarn start
app.js
in the root folder contains a small snippet of code that runs the given example
To run this example you can enter either of the following commands:
npm start
or
yarn start
Tests are written using Mocha, Chai with nyc for checking code coverage. To run the tests enter either of the following commands:
npm test
or
yarn test