Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dylankjy/ichion

Cross-platform Node library for playing sound files
https://github.com/dylankjy/ichion

audio node npm player sound

Last synced: about 5 hours ago
JSON representation

Cross-platform Node library for playing sound files

Awesome Lists containing this project

README

        

# ichion
[![npm](https://img.shields.io/npm/v/ichion)](https://www.npmjs.com/package/ichion)
[![ESLint](https://github.com/Dylankjy/ichion/actions/workflows/eslint.yml/badge.svg)](https://github.com/Dylankjy/ichion/actions/workflows/eslint.yml)

Cross-platform Node library for playing sound files using [Puppeteer](https://pptr.dev).

## Install
```sh
npm i ichion
```

## Usage
```js
const ichion = require('ichion')

// Play audio file
ichion.play('file.mp3') // or
ichion.play('file.mp3').then(() => { ... }) // or
await ichion.play('file.mp3')
```