An open API service indexing awesome lists of open source software.

https://github.com/martinwoodward/calculator

Demo project
https://github.com/martinwoodward/calculator

Last synced: about 1 month ago
JSON representation

Demo project

Awesome Lists containing this project

README

        

# Calculator.js: a node.js calculator

An example node.js project, including tests with mocha, that behaves like
a pocket calculator.

The project contains a simple node.js application that exposes REST APIs
to perform arithmetic on integers, and provides a test suite with mocha
and chai. The `mocha-junit-reporters` package is included to provide XML
output that can be presented in a test coverage tool.

To build:

1. `npm install` to install dependencies.
2. `npm test` to run Mocha and execute the unit tests.