Socket
Socket
Sign inDemoInstall

franc-audio-to-text

Package Overview
Dependencies
6
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    franc-audio-to-text

<!-- demo --> [DEMO WITH NEXTJS](https://next-transcriber.vercel.app) ## Installation ```bash npm install franc-audio-to-text ``` ## Usage with Typescript ```typescript import TranscribeAudioToText from "franc-audio-to-text"; ```


Version published
Weekly downloads
6
decreased by-45.45%
Maintainers
1
Install size
708 kB
Created
Weekly downloads
 

Readme

Source

Assembly Ai wrapper

DEMO WITH NEXTJS

Installation

npm install franc-audio-to-text

Usage with Typescript

import TranscribeAudioToText from "franc-audio-to-text";

What you need to use this wrapper

  • An Assembly AI account - Sign up for free!
  • An API key
  • An audio file to upload

Demo - Test using the following code

import TranscribeAudioToText from "franc-audio-to-text";
import * as dotenv from 'dotenv';
dotenv.config();
const apiKey = process.env.ASSEMBLY_API_KEY!; // User provides their API key
const audioUrl = 'https://storage.googleapis.com/aai-web-samples/5_common_sports_injuries.mp3';

const customAI = new TranscribeAudioToText(apiKey);

(async () => {
  try {
    const transcript = await customAI.createTranscript(audioUrl);
    console.log(transcript);
  } catch (error: any) {
    console.error(error.message);
  }
})();

Changelog for franc-audio-to-text

[2.0.4] - 2024-01-04 (Current version)

Removed

  • Removed 'natural' package: Due to persistent bugs causing issues with language detection, the 'natural' package dependency has been removed from the project.

Hint and note

this wrapper supports only typescript

That's it! You're ready to go!

support or contact

Having trouble with this wrapper? please contact me at E-mail me

Keywords

FAQs

Last updated on 05 Jan 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc