libspot has also been ported to the browser (and more generally to the js ecosystem) through webassembly thanks to clang & wasm-ld (see this example).

Install

You can get the library through npm (or other package manager).

npm install libspot
yarn add libspot
bun add libspot

You then get a typescript library that wraps the webassembly code.

Get started


import spot from "https://esm.sh/libspot@2.0.0-beta.5"

console.log(spot);