1.3.4 • Published 27 days ago

pulseaudio.js v1.3.4

Weekly downloads
8
License
ISC
Repository
github
Last release
27 days ago

PulseAudio.js

NPM

PulseAudio.js is a fully-featured JavaScript (TypeScript) client library for PulseAudio, the sound system used by modern Linux distributions. The client can be used to configure and control the PulseAudio server, play or record audio, and much more. The library is implemented entirely in TypeScript and has no native dependencies. It communicates with the server using the PulseAudio native protocol over a UNIX domain socket.

The library requires PulseAudio 10.0 or higher (PulseAudio native protocol version 32 or higher).

PulseAudio.js is free software licensed under the ISC license.

Main Features

Installation & Basic Usage

npm install pulseaudio.js
import { PulseAudio } from 'pulseaudio.js';

const pa = new PulseAudio();

(async function() {
    await pa.connect();
    console.log(await pa.getServerInfo());
    await pa.disconnect();
})();

Documentation

Please refer to the wiki for documentation and usage examples. API documentation generated with TypeDoc is available here.

1.3.4

27 days ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago