https://github.com/hugodf/price-basket
Price Basket
https://github.com/hugodf/price-basket
Last synced: 22 days ago
JSON representation
Price Basket
- Host: GitHub
- URL: https://github.com/hugodf/price-basket
- Owner: HugoDF
- Created: 2017-03-01T19:52:23.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-04T11:45:49.000Z (about 8 years ago)
- Last Synced: 2025-02-14T01:39:11.884Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Price Basket in JavaScript
Price Basket implement in JavaScript. You can run it as long as `Node` v6+ is installed.
It references the Node binary at path `/usr/local/bin/node`:
```sh
$ ./PriceBasket [ basket items ]
```If Node is installed at another location:
```sh
$ node PriceBasket
```## Testing
We use AVA for tests, along with sinons and proxyquire.
To run the tests, first make sure these depencies are installed:
```sh
$ npm install
```Then `npm test` or `npm t`, you can get verbose output from AVA using `npm t -- --verbose`.