bliss-js/README.md
2024-06-07 19:10:34 +03:00

665 B

bliss-js

This repo provides Node.js bindings for Bliss.

Installation

A package with prebuilt binaries for Linux (x86_64 and ARM64) is provided in the Gitea registry: @bliss-rs/bliss-rs.

npm i @bliss-rs/bliss-rs --registry=https://gitea.antonlyap.pp.ua/api/packages/antonlyap/npm/

(the registry will be saved to your package-lock.json automatically)

Usage

import { analyze, analyzeSync } from '@bliss-rs/bliss-rs';

await analyze("/path/to/track.mp3") // → { version: number; analysis: Float32Array }