
Security News
Agent Baseline Publishes Security Reference Architecture for Software Factories
Agent Baseline’s new reference architecture shows how to secure software factories with four boundaries enforced outside the AI agent.
@webba_tech/capslane
Advanced tools
JavaScript and TypeScript client for retrieving YouTube transcripts through the Capslane API.
The Capslane JavaScript SDK retrieves YouTube transcripts from Node.js and TypeScript applications. It returns existing captions when available and can generate a transcript when a video has no usable caption track.
npm install @webba_tech/capslane
import { CapslaneClient } from '@webba_tech/capslane'
const capslane = new CapslaneClient({
apiKey: process.env.CAPSLANE_API_KEY,
})
const result = await capslane.transcript({
url: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
mode: 'auto',
})
const transcript = 'jobId' in result
? await capslane.waitForTranscript(result)
: result
console.log(transcript.content)
const job = await capslane.transcriptJob('job_00000000-0000-0000-0000-000000000000')
waitForTranscript polls an accepted job until it completes, fails or reaches the timeout.
const transcript = await capslane.waitForTranscript(job, {
intervalMs: 2_000,
timeoutMs: 20 * 60_000,
})
| Option | Type | Description |
|---|---|---|
url | string | Public YouTube URL or 11-character video ID. |
lang | string | Optional preferred language code. |
mode | native, auto or generate | Selects how Capslane obtains the transcript. |
text | boolean | Returns one text string instead of timestamped segments. |
chunkSize | number | Groups transcript segments into larger chunks. |
signal | AbortSignal | Cancels the request from your application. |
native returns existing captions and never starts speech transcription.auto uses existing captions first and generates a transcript only when needed.generate creates a transcript from the video audio.Failed requests throw CapslaneError. The error includes the HTTP status, Capslane error code and request ID when available.
import { CapslaneError } from '@webba_tech/capslane'
try {
await capslane.transcript({ url: 'invalid' })
} catch (error) {
if (error instanceof CapslaneError) {
console.error(error.status, error.code, error.requestId)
}
}
Use Capslane from a trusted server. Do not expose API keys in browser code, public repositories or client-side environment variables.
MIT
FAQs
JavaScript and TypeScript client for retrieving YouTube transcripts through the Capslane API.
The npm package @webba_tech/capslane receives a total of 18 weekly downloads. As such, @webba_tech/capslane popularity was classified as not popular.
We found that @webba_tech/capslane demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Agent Baseline’s new reference architecture shows how to secure software factories with four boundaries enforced outside the AI agent.

Security News
arXiv now limits authors to two submissions a month as AI slop overwhelms moderators, delays good papers, and sparks debate over applying the limit to everyone.

Research
/Security News
A new GhostAction wave hits hundreds of GitHub repos, expanding CI/CD secret theft to cloud and AI credentials in source code and git history.