Home Manual Reference Source Test Repository
Manual » Usage

Usage

The code needs a ES2015+ polyfill to work, for example babel-polyfill.

require( 'babel-polyfill' ) ;
// or
import 'babel-polyfill' ;

Then

const complex = require( '@aureooms/js-complex' ) ;
// or
import * as complex from '@aureooms/js-complex' ;