Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
aws-transcription-to-vtt
Advanced tools
Takes the JSON from Amazon AWS Transcribe and outputs a VTT file.
I couldn't find a module satisfying all of these criteria:
so here we are.
inspired by https://github.com/s2texperiments/aws-transcription-to-subtitle
const vtt = vttConvert(json)
json
is an object returned from Amazon's transcribe service
returns a string consisting of the json converted to vtt
format.
import vttConvert from 'aws-transcription-to-vtt'
const json = {
results: {
transcripts: [
{
transcript: "Wait."
}
],
items: [
{
start_time: "7.84",
end_time: "12.87",
alternatives: [
{
confidence: "0.4523",
content: "Wait"
}
],
type: "pronunciation"
},
{
alternatives: [
{
confidence: null,
content: "."
}
],
type: "punctuation"
}
]
}
}
const vtt = vttConvert(json)
json
is an object returned from Amazon's transcribe service
returns a string consisting of the json converted to vtt
format.
npm test
FAQs
convert an AWS transcribe JSON body into a .vtt file
We found that aws-transcription-to-vtt demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.