Skip to content

compute-io/compute.io

Repository files navigation

Compute.io

NPM version Build Status Coverage Dependencies

Computation library.

Sponsor

Table of Contents

  1. Installation
  2. Usage
  3. Fluent Interface
  4. Tests
  5. Contributing
  6. License

Installation

$ npm install compute.io

Usage

To use compute,

var compute = require( 'compute.io' );

The compute module is comprised of several smaller modules. If you want to roll your own compute, follow the links and import the individual modules.

The compute module has the following methods...

Tests

Unit

Unit tests use the Mocha test framework with Chai assertions. To run the tests, execute the following command in the top-level application directory:

$ make test

All new feature development should have corresponding unit tests to validate correct functionality.

Test Coverage

This repository uses Istanbul as its code coverage tool. To generate a test coverage report, execute the following command in the top-level application directory:

$ make test-cov

Istanbul creates a ./reports/coverage directory. To access an HTML version of the report,

$ make view-cov

License

MIT license.

Copyright

Copyright © 2014-2015. The Compute.io Authors.