Open HTML file in browser.
In console:
Initialize basket with 'var basket = new Basket(pricingRules);'
Add to basket with 'basket.add("SR1")' <- accepts item code
Find total with 'basket.total()'
Alternately you can run the test suite by running npm install in the solution and then npm test to run the tests.
Tests use mocha, with istanbul for coverage.