Skip to content

Packages

Here are the main packages of ixfx, along with the sub-modules

  • arrays
  • bundle (which contains all other packages)
  • collections, core,
  • debug, dom
  • events
  • flow
  • geometry, guards
  • iterables, io
  • modulation
  • numbers
  • random, rx
  • trackers
  • ui
  • visual

Please see the API for more details on each.

These are importable from the bundle, eg:

// Local snapshot of ixfx (eg when using demos)
import { Collections, Modulation } from '@ixfx/bundle.js'
// URL import - from unpkg.com or esm.sh
import { Collections, Modulation } from 'https://unpkg.com/@ixfx/bundle'
import { Collections, Modulation } from 'https://esm.sh/@ixfx/bundle'
// NPM
import { Collections, Modulation } from '@ixfx/bundle.js'

Or as an individual file:

// Local snapshot of ixfx (eg when using demos)
import * as Modulation from '@ixfx/modulation.js'
import { drift } from '@ixfx/modulation.js'
// URL import
// Use the 'bundle' import as shown above
// NPM
import * as Modulation from '@ixfx/modulation.js'
import { drift } as Modulation from '@ixfx/modulation.js'