JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 336
  • Score
    100M100P100Q71967F
  • License MIT

Fast Fourier Transform (FFT) implementation in TypeScript using the Cooley–Tukey algorithm for power-of-2 input lengths

Package Exports

  • frost-fft
  • frost-fft/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (frost-fft) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

frost-fft

The world didn't need yet another Fast Fourier Transform (FFT) implementation, but here we are...

import {fft} from 'frost-fft';

const signal = new Float64Array(256).map(Math.random);

const [realCoefs, imagCoefs] = fft(
  signal,
  signal.map(() => 0)
);

Documentation

Documentation is hosted at the project Github pages.

To generate documentation locally run:

npm run doc