https://github.com/patrickroberts/complex-js
JavaScript Complex Math
https://github.com/patrickroberts/complex-js
complex-js complex-numbers human-readable-expressions javascript math node-module runtime-compilation
Last synced: 7 months ago
JSON representation
JavaScript Complex Math
- Host: GitHub
- URL: https://github.com/patrickroberts/complex-js
- Owner: patrickroberts
- License: mit
- Created: 2012-01-22T07:17:43.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T08:32:44.000Z (about 3 years ago)
- Last Synced: 2024-04-14T12:33:00.879Z (almost 2 years ago)
- Topics: complex-js, complex-numbers, human-readable-expressions, javascript, math, node-module, runtime-compilation
- Language: TypeScript
- Homepage: https://patrickroberts.github.io/complex-js/
- Size: 932 KB
- Stars: 39
- Watchers: 5
- Forks: 8
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

## Overview
* [Getting Started](#getting-started)
* [Documentation](#documentation)
* [Code Coverage](#code-coverage)
* [License](#license)
## Getting Started
To install via [`npm`](https://www.npmjs.com/package/complex-js):
```sh
npm i complex-js moo nearley # peer dependencies for expression parser
```
[Node.js](https://nodejs.org):
```js
const Complex = require('complex-js');
```
ES2015 Module:
```js
import Complex from 'complex-js';
```
Browser:
```html
const { Complex } = window;
```
[RequireJS](https://requirejs.org/docs/whyamd.html):
```js
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