Skip to content

Commit

Permalink
feat: add captions as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeocodes committed Oct 31, 2023
1 parent 6848d86 commit cff1727
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"docs:json": "typedoc --entryPoints src/index.ts --includes src/**/*.ts --json docs/v2/spec.json --excludeExternals"
},
"dependencies": {
"@deepgram/captions": "^1.0.0",
"cross-fetch": "^3.1.5",
"events": "^3.3.0",
"modern-isomorphic-ws": "^1.0.5"
Expand Down
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ export * from "./lib/types";
export * from "./lib/enums";
export * from "./lib/constants";
export * from "./lib/errors";

/**
* Captions.
*/
export { webvtt, srt } from "@deepgram/captions";

0 comments on commit cff1727

Please sign in to comment.