Repository
Current version released
3 years ago
Dependencies
deno.land/x
Versions
deno_audio
Audio playback library for Deno.
Example
import { play } from "https://deno.land/x/audio@0.2.0/mod.ts";
// supports mp3, wav, vorbis, flac
await play("music.mp3");
Building from source
Prerequisites
- deno
- rust
- deno_bindgen
- libasound2-dev -
apt-get install libasound2-dev
Building
$ deno_bindgen --release
Example
$ deno run --unstable -A example.ts
Contribution
Pull request, issues and feedback are very welcome. Code style is formatted with
deno fmt
and commit messages are done following
Conventional Commits spec.
Copyright
Logo by @carazmatic at picsart.com (cute, isn’t it?)
deno_audio is licensed under the MIT license. Please see the LICENSE file.