npm.io
1.0.1 • Published 5 years ago

echode

Licence
MIT
Version
1.0.1
Deps
0
Size
5 kB
Vulns
0
Weekly
0

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!

Keywords