assemblyai

v4.7.1
The AssemblyAI JavaScript SDK provides an easy-to-use interface for interacting with the AssemblyAI API, which supports async and real-time transcription, as well as the latest LeMUR models.
AssemblyAI Speech-to-text Transcription Audio LLM

build

pnpm clean && pnpm rollup -c

clean

rimraf dist/* && rimraf temp/* && rimraf temp-docs/*

lint

pnpm lint:eslint && pnpm lint:tsc && pnpm lint:format && pnpm lint:publint

lint:eslint

eslint -c .eslintrc.json '{src,tests}/**/*.{js,ts}'

lint:tsc

tsc --noEmit -p tsconfig.json

lint:format

prettier --check --no-error-on-unmatched-pattern {*,**/*}

lint:publint

publint

test

pnpm test:unit && pnpm test:integration

test:unit

jest --config jest.unit.config.js --testTimeout 1000

test:integration

jest --config jest.integration.config.js --testTimeout 360000

format

prettier --write --no-error-on-unmatched-pattern {*,**/*}

generate:types

tsx ./scripts/generate-types.ts && prettier 'src/types/*.generated.ts' --write

generate:reference

typedoc

copybara:dry-run

./copybara.sh dry_run --init-history

copybara:pr

./copybara.sh sync_out --init-history
npm i assemblyai

Metadata

  • MIT
  • >=18
  • AssemblyAI
  • released 10/8/2024

Downloads

Maintainers