Skip to content

patrickroberts/complex-js

Repository files navigation

complex-js logo

Overview

Getting Started

To install via npm:

npm i complex-js moo nearley # peer dependencies for expression parser

Node.js:

const Complex = require('complex-js');

ES2015 Module:

import Complex from 'complex-js';

Browser:

<script src="https://cdn.jsdelivr.net/combine/npm/moo@0.5.1,npm/nearley@2.19.1,npm/complex-js"></script>
<script>
const { Complex } = window;
</script>

RequireJS:

requirejs(['complex-js'], function (Complex) {

});

Documentation

API reference available at https://patrickroberts.github.io/complex-js/.

Code Coverage

Report available at https://patrickroberts.github.io/complex-js/lcov-report/.

License

Copyright (c) 2020 Patrick Roberts

MIT