Home Manual Reference Source

Overview

Installation

Can be managed using yarn, npm, or jspm.

yarn

yarn add @aureooms/js-fft-integer

npm

npm install @aureooms/js-fft-integer --save

jspm

jspm install npm:@aureooms/js-fft-integer

Usage

:warning: The code needs a ES2015+ polyfill to run (regeneratorRuntime), for instance @babel/polyfill.

First, require the polyfill at the entry point of your application

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

Then, import the library where needed

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

Examples

More examples in the test files.