{"id":20548461,"url":"https://github.com/jeslie0/purescript-fft-js","last_synced_at":"2026-04-19T17:03:27.047Z","repository":{"id":216746730,"uuid":"742219700","full_name":"jeslie0/purescript-fft-js","owner":"jeslie0","description":"The fastest JS Radix-4/Radix-2 FFT implementation, in PureScript","archived":false,"fork":false,"pushed_at":"2024-01-12T02:54:27.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T16:26:23.763Z","etag":null,"topics":["fft","fft-js","javascript","nix","purescript"],"latest_commit_sha":null,"homepage":"https://pursuit.purescript.org/packages/purescript-fft-js","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeslie0.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-12T02:00:37.000Z","updated_at":"2024-01-12T02:28:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"e51c3977-d69f-4b63-a6b4-85847238d784","html_url":"https://github.com/jeslie0/purescript-fft-js","commit_stats":null,"previous_names":["jeslie0/purescript-fftjs"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeslie0%2Fpurescript-fft-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeslie0%2Fpurescript-fft-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeslie0%2Fpurescript-fft-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeslie0%2Fpurescript-fft-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeslie0","download_url":"https://codeload.github.com/jeslie0/purescript-fft-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242152609,"owners_count":20080320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fft","fft-js","javascript","nix","purescript"],"created_at":"2024-11-16T02:13:35.626Z","updated_at":"2026-04-19T17:03:26.949Z","avatar_url":"https://github.com/jeslie0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# purescript-fft-js\n-----\n![](https://img.shields.io/badge/PureScript-1d222d.svg)\n[![Latest release](https://img.shields.io/github/v/release/jeslie0/purescript-fft-js)](https://github.com/jeslie0/purescript-fft-js/releases)\n[![Build status](https://img.shields.io/github/actions/workflow/status/jeslie0/purescript-fft-js/CI.yml\n)](https://github.com/jeslie0/purescript-fft-js/actions/workflows/CI.yml)\n[![Pursuit](https://pursuit.purescript.org/packages/purescript-fft-js/badge)](https://pursuit.purescript.org/packages/purescript-fft-js)\n\nA PureScript wrapper around [fft.js](https://github.com/indutny/fft.js/), providing functions to take the Fast Fourier Transform of real and complex arrays. There is also a module extending the functionality to the [cartesian](https://github.com/Ebmtranceboy/purescript-cartesian) library.\n\n## Notes\nThis library exposes the public fft.js functionality in the [FFT](./src/FFT.purs) module. The module uses two `newtype` wrappers `RealArray` and `ComplexArray` to add a bit of type safety to the function types. A complex array is an interweaved array of real and imaginary parts: `[re_0, im_0, re_1, im_1,...]`.\n\nWhenever we refer to the size of an array, we mean the number of *numbers* in it, not elements in the array. An array interpreted as a `ComplexArray` will have size half of that if it is interpreted as a `RealArray`. This is helpfully made clear by the `FFTArray` typeclass, whose instances have a `size` function.\n\n## Installation\n\n```\nspago install fft-js\n```\n\n## Documentation\n\nModule documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-fft-js).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeslie0%2Fpurescript-fft-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeslie0%2Fpurescript-fft-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeslie0%2Fpurescript-fft-js/lists"}