{"library":"lamejs","type":"library","category":null,"description":"lamejs is a pure JavaScript MP3 encoder library, initially a rewrite of jump3r-code which itself was based on libmp3lame. It enables client-side and server-side (Node.js) encoding of raw PCM audio data (specifically Int16Array samples) into MP3 format. The project highlights its performance, claiming to be significantly faster than real-time on various machines and environments (browser and Node.js). The current stable version is 1.2.1, released after a considerable hiatus, primarily to address a TypeScript compatibility issue. Its release cadence is slow, suggesting a maintenance rather than actively developed status. Key differentiators include its pure JavaScript implementation, making it suitable for browser-based audio processing without WASM, and its reported high encoding speed. It's particularly useful for scenarios requiring on-the-fly MP3 generation from Web Audio API outputs or other PCM sources.","language":"javascript","status":"maintenance","version":"1.2.1","tags":["javascript","mp3","encoder","audio","webaudio"],"last_verified":"Wed May 27","install":[{"cmd":"npm install lamejs","imports":["import * as lamejs from 'lamejs';","import { Mp3Encoder } from 'lamejs';","const lamejs = require('lamejs');","<script src='lame.all.js'></script>\n<script>\n  const encoder = new lamejs.Mp3Encoder(...);\n</script>"]},{"cmd":"yarn add lamejs","imports":[]},{"cmd":"pnpm add lamejs","imports":[]}],"homepage":null,"github":"https://github.com/zhuker/lamejs","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/lamejs","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/lamejs/compatibility"}}