assemblyai
Version:
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.
178 lines (177 loc) • 5.67 kB
JSON
{
"name": "assemblyai",
"version": "4.11.0",
"description": "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.",
"engines": {
"node": ">=18"
},
"exports": {
".": {
"types": "./dist/exports/index.d.ts",
"bun": {
"types": "./dist/exports/index.d.ts",
"default": "./dist/bun.mjs"
},
"deno": {
"types": "./dist/exports/index.d.ts",
"default": "./dist/deno.mjs"
},
"workerd": "./dist/workerd.mjs",
"browser": "./dist/browser.mjs",
"react-native": "./dist/browser.mjs",
"node": {
"types": "./dist/exports/index.d.ts",
"import": "./dist/node.mjs",
"require": "./dist/node.cjs"
},
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.cjs"
},
"./streaming": {
"types": "./dist/exports/streaming.d.ts",
"browser": "./dist/streaming.browser.mjs",
"import": "./dist/streaming.mjs",
"require": "./dist/streaming.cjs",
"default": "./dist/streaming.cjs"
},
"./package.json": "./package.json"
},
"imports": {
"#fetch": {
"workerd": "./src/polyfills/fetch/workerd.ts",
"default": "./src/polyfills/fetch/default.ts"
},
"#fs": {
"node": "./src/polyfills/fs/node.ts",
"bun": "./src/polyfills/fs/bun.ts",
"deno": "./src/polyfills/fs/deno.ts",
"default": "./src/polyfills/fs/index.ts"
},
"#streams": {
"node": "./src/polyfills/streams/node.ts",
"default": "./src/polyfills/streams/index.ts"
},
"#websocket": {
"browser": "./src/polyfills/websocket/browser.ts",
"node": "./src/polyfills/websocket/default.ts",
"default": "./src/polyfills/websocket/default.ts"
},
"#conditions": {
"bun": "./src/utils/conditions/bun.ts",
"deno": "./src/utils/conditions/deno.ts",
"workerd": "./src/utils/conditions/workerd.ts",
"react-native": "./src/utils/conditions/react-native.ts",
"browser": "./src/utils/conditions/browser.ts",
"node": "./src/utils/conditions/node.ts",
"default": "./src/utils/conditions/default.ts"
}
},
"type": "commonjs",
"react-native": "./dist/browser.mjs",
"browser": "./dist/browser.mjs",
"main": "./dist/index.cjs",
"require": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"typings": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/AssemblyAI/assemblyai-node-sdk.git"
},
"publishConfig": {
"tag": "latest",
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"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:reference": "typedoc",
"copybara:dry-run": "./copybara.sh dry_run --init-history",
"copybara:pr": "./copybara.sh sync_out --init-history",
"copybara:dry-run-in": "./copybara.sh dry_run_in --init-history",
"copybara:pr-in": "./copybara.sh sync_in --init-history"
},
"keywords": [
"AssemblyAI",
"Speech-to-text",
"Transcription",
"Audio",
"LLM"
],
"author": "AssemblyAI (https://www.assemblyai.com)",
"license": "MIT",
"homepage": "https://www.assemblyai.com/docs",
"bugs": {
"url": "https://github.com/AssemblyAI/assemblyai-node-sdk/issues",
"email": "support@assemblyai.com"
},
"files": [
"dist",
"src",
"package.json",
"README.md",
"CHANGELOG.md",
"docs"
],
"devDependencies": {
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.0",
"@types/jest": "^29.5.13",
"@types/node": "^18.19.53",
"@types/websocket": "^1.0.10",
"@types/ws": "^8.5.12",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.1",
"eslint-plugin-tsdoc": "^0.3.0",
"jest": "^29.7.0",
"jest-cli": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"jest-junit": "^16.0.0",
"jest-websocket-mock": "^2.5.0",
"mock-socket": "^9.3.1",
"openapi-typescript": "^6.7.6",
"prettier": "^3.3.3",
"publint": "^0.2.11",
"rimraf": "^6.0.1",
"rollup": "^4.22.4",
"ts-jest": "^29.2.5",
"tslib": "^2.7.0",
"typedoc": "^0.26.7",
"typedoc-plugin-extras": "^3.1.0",
"typescript": "^5.4.5"
},
"dependencies": {
"ws": "^8.18.0"
},
"pnpm": {
"packageExtensions": {
"ws": {
"peerDependencies": {
"@types/ws": "^8.5.12"
}
}
},
"overrides": {
"undici@<5.28.4": ">=5.28.4",
"braces@<3.0.3": ">=3.0.3",
"micromatch@<4.0.8": ">=4.0.8",
"rollup@<2.79.2": ">=2.79.2"
}
}
}