Normally you'd add bytebeat.js to your project
npm install bytebeat.jsand then setup your builder (webpack, rollup, parcel, etc..) so you should be able to import the library with
import ByteBeatNode from 'bytebeat.js';Steps
git clone https://github.com/greggman/html5bytebeat.git
cd html5bytebeat/examples/npm
npm i
npm run buildThis should build index-build.js via rollup.
Then do
npx servezThen to go to http://localhost:8080 in your browser.