echode
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Echode is a small library to play local audio files using NodeJS. It relies on FFplay, so make certain that FFmpeg is installed!

Installation

$ npm i install echode

or

$ yarn add echode

Important

Make certain FFmpeg, specifically FFplay is available on your system. Otherwise this library will not work.

Usage

import { playAudio } from "echode";

await playAudio("sound.mp3");

That's it!

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

Package Sidebar

Install

npm i echode

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

5.62 kB

Total Files

5

Last publish

Collaborators

  • jeremywashington