Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

node-sound

jijojosephk18.1kMIT0.0.8

A library to play audio files from nodejs applications

play, audio, nodejs

readme

node-sound

This is a library to play audio files from nodejs applications. This is a work in progress and may not be stable. But you can use and share your feedbacks.

Installation

npm install node-sound or yarn add node-sound

Usage

const { NodeSound } = require('node-sound');
const player = NodeSound.getDefaultPlayer();
player.play('sample.wav').then(() => {
    // TO DO
})