{"_id":"@drewburns/react-mp3-recorder","_rev":"3-d18bdbb9b9a25cea20eaf4d5debce360","name":"@drewburns/react-mp3-recorder","dist-tags":{"latest":"1.1.5"},"versions":{"1.1.2":{"name":"@drewburns/react-mp3-recorder","version":"1.1.2","description":"Simple microphone recorder for React that captures mp3 audio.","author":{"name":"transitive-bullshit"},"license":"MIT","reveal":true,"repository":{"type":"git","url":"git+https://github.com/transitive-bullshit/react-mp3-recorder.git"},"main":"dist/index.js","module":"dist/index.es.js","jsnext:main":"dist/index.es.js","scripts":{"build":"rollup -c","start":"rollup -c -w","prepare":"yarn run build","predeploy":"cd example && yarn install && yarn run build","deploy":"gh-pages -d example/build"},"dependencies":{"classnames":"^2.2.5"},"peerDependencies":{"prop-types":"^15.5.4","react":"^15.0.0 || ^16.0.0","react-dom":"^15.0.0 || ^16.0.0"},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","babel-preset-stage-0":"^6.24.1","gh-pages":"^1.1.0","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.2.1","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-peer-deps-external":"^2.0.0","rollup-plugin-postcss":"^1.1.0","rollup-plugin-url":"^1.3.0"},"gitHead":"134da5b565a3a0e57384de9016d106a22bc545d5","bugs":{"url":"https://github.com/transitive-bullshit/react-mp3-recorder/issues"},"homepage":"https://github.com/transitive-bullshit/react-mp3-recorder#readme","_id":"@drewburns/react-mp3-recorder@1.1.2","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-3mImv47+PS47SEInhz+onfDxBkZqm+Ot+ugxZEUPxnqI37SNORmhIpR0ZOy4SVUL1gH8SbE95hKEkrXOhAmROA==","shasum":"bd46cc99a106fe21c53db8c057c72bf092febbf8","tarball":"https://registry.npmjs.org/@drewburns/react-mp3-recorder/-/react-mp3-recorder-1.1.2.tgz","fileCount":4,"unpackedSize":482740,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEsVY4x7KgYQGK29ggAG1zX405QKTiqXc/7VuCKw5ADQIgHS5Igl0OL3eISmDmfjQVlDAiz1jjGo3/8pAcsYxIeEc="}]},"_npmUser":{"name":"drewburns","email":"drewburnsbab@gmail.com"},"directories":{},"maintainers":[{"name":"drewburns","email":"drewburnsbab@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-mp3-recorder_1.1.2_1699284240386_0.6287795837611598"},"_hasShrinkwrap":false},"1.1.3":{"name":"@drewburns/react-mp3-recorder","version":"1.1.3","description":"Simple microphone recorder for React that captures mp3 audio.","author":{"name":"transitive-bullshit"},"license":"MIT","reveal":true,"repository":{"type":"git","url":"git+https://github.com/transitive-bullshit/react-mp3-recorder.git"},"main":"dist/index.js","module":"dist/index.es.js","jsnext:main":"dist/index.es.js","scripts":{"build":"rollup -c","start":"rollup -c -w","prepare":"yarn run build","predeploy":"cd example && yarn install && yarn run build","deploy":"gh-pages -d example/build"},"dependencies":{"classnames":"^2.2.5"},"peerDependencies":{"prop-types":"^15.5.4","react":"^15.0.0 || ^16.0.0","react-dom":"^15.0.0 || ^16.0.0"},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","babel-preset-stage-0":"^6.24.1","gh-pages":"^1.1.0","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.2.1","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-peer-deps-external":"^2.0.0","rollup-plugin-postcss":"^1.1.0","rollup-plugin-url":"^1.3.0"},"gitHead":"ceb4dc155943163c4628b5bd640375b0b9df0edd","bugs":{"url":"https://github.com/transitive-bullshit/react-mp3-recorder/issues"},"homepage":"https://github.com/transitive-bullshit/react-mp3-recorder#readme","_id":"@drewburns/react-mp3-recorder@1.1.3","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-kKVii6pTyq6HvOGEvdBmGgdrZ6wvLk0iKhlNIz3zTVua/GWIoDUTHP37s+0lDDEh4IfRGMcjC5i8oSZC2v9t3A==","shasum":"3fd90ca692d8e8327b0e3848f7ee011479dacf0d","tarball":"https://registry.npmjs.org/@drewburns/react-mp3-recorder/-/react-mp3-recorder-1.1.3.tgz","fileCount":4,"unpackedSize":482788,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYhfgFFLgzbBak/V5sscozdTbVh2eaxVeQGaoTICz3bwIgEUzCRffIolHCNAXjbCijn//dvcHHF1C6cKSkjoiIBW4="}]},"_npmUser":{"name":"drewburns","email":"drewburnsbab@gmail.com"},"directories":{},"maintainers":[{"name":"drewburns","email":"drewburnsbab@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-mp3-recorder_1.1.3_1699284536718_0.07129188100050787"},"_hasShrinkwrap":false},"1.1.4":{"name":"@drewburns/react-mp3-recorder","version":"1.1.4","description":"Simple microphone recorder for React that captures mp3 audio.","author":{"name":"transitive-bullshit"},"license":"MIT","reveal":true,"repository":{"type":"git","url":"git+https://github.com/transitive-bullshit/react-mp3-recorder.git"},"main":"dist/index.js","module":"dist/index.es.js","jsnext:main":"dist/index.es.js","scripts":{"build":"rollup -c","start":"rollup -c -w","prepare":"yarn run build","predeploy":"cd example && yarn install && yarn run build","deploy":"gh-pages -d example/build"},"dependencies":{"classnames":"^2.2.5"},"peerDependencies":{"prop-types":"^15.5.4","react":"^15.0.0 || ^16.0.0","react-dom":"^15.0.0 || ^16.0.0"},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","babel-preset-stage-0":"^6.24.1","gh-pages":"^1.1.0","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.2.1","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-peer-deps-external":"^2.0.0","rollup-plugin-postcss":"^1.1.0","rollup-plugin-url":"^1.3.0"},"gitHead":"bbd705e87e6a427f6f9825de001ebc7f268c6cc7","bugs":{"url":"https://github.com/transitive-bullshit/react-mp3-recorder/issues"},"homepage":"https://github.com/transitive-bullshit/react-mp3-recorder#readme","_id":"@drewburns/react-mp3-recorder@1.1.4","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-ftjVFyMOcuw6m+4UojKI8T/vpTkJAunGcjtdbkaqqs1sFqHA9MO6fxP9hnFlmXpiVBJry2BUb7JdxlU49gMKew==","shasum":"9103f658f913010777204b95b8a65323c84b97e4","tarball":"https://registry.npmjs.org/@drewburns/react-mp3-recorder/-/react-mp3-recorder-1.1.4.tgz","fileCount":4,"unpackedSize":482788,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHYRuYgCAB4SfFv6V5qFl3BV2r6W6LqSru+GVyDhBvCwAiEAutXEGbmlp4kvanmwHqsY0DPWtBzPZXMcemI7gXoIkMo="}]},"_npmUser":{"name":"drewburns","email":"drewburnsbab@gmail.com"},"directories":{},"maintainers":[{"name":"drewburns","email":"drewburnsbab@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-mp3-recorder_1.1.4_1699285833203_0.5728966448695039"},"_hasShrinkwrap":false},"1.1.5":{"name":"@drewburns/react-mp3-recorder","version":"1.1.5","description":"Simple microphone recorder for React that captures mp3 audio.","author":{"name":"transitive-bullshit"},"license":"MIT","reveal":true,"repository":{"type":"git","url":"git+https://github.com/transitive-bullshit/react-mp3-recorder.git"},"main":"dist/index.js","module":"dist/index.es.js","jsnext:main":"dist/index.es.js","scripts":{"build":"rollup -c","start":"rollup -c -w","prepare":"yarn run build","predeploy":"cd example && yarn install && yarn run build","deploy":"gh-pages -d example/build"},"dependencies":{"classnames":"^2.2.5"},"peerDependencies":{"prop-types":"^15.5.4","react":"^15.0.0 || ^16.0.0","react-dom":"^15.0.0 || ^16.0.0"},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","babel-preset-stage-0":"^6.24.1","gh-pages":"^1.1.0","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.2.1","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-peer-deps-external":"^2.0.0","rollup-plugin-postcss":"^1.1.0","rollup-plugin-url":"^1.3.0"},"gitHead":"cc7296b0216c36849eb73ff300ea0693ed00b5d8","bugs":{"url":"https://github.com/transitive-bullshit/react-mp3-recorder/issues"},"homepage":"https://github.com/transitive-bullshit/react-mp3-recorder#readme","_id":"@drewburns/react-mp3-recorder@1.1.5","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-OYvey2TJ0GdjtIHUfZnj9uAg5Tf1UieDpvQezjN6MS0pvPOiwUYLapuGy7Tc35+U57d+rT3V0OcG4LgpyIHilw==","shasum":"5735d9106097da2104ab6f333e100317ee9dedde","tarball":"https://registry.npmjs.org/@drewburns/react-mp3-recorder/-/react-mp3-recorder-1.1.5.tgz","fileCount":4,"unpackedSize":482880,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDV27SrMlXjkdXvgY9XaHRFiJeKREvn5/Lzdl/ouXhvjAiEA5v1EEPHiE6J6BYI2zoh358J50iJjEFQoSN9YG/Xz4CI="}]},"_npmUser":{"name":"drewburns","email":"drewburnsbab@gmail.com"},"directories":{},"maintainers":[{"name":"drewburns","email":"drewburnsbab@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-mp3-recorder_1.1.5_1699285927190_0.9826614502374258"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-06T15:24:00.296Z","1.1.2":"2023-11-06T15:24:00.714Z","modified":"2023-11-06T15:52:07.614Z","1.1.3":"2023-11-06T15:28:56.989Z","1.1.4":"2023-11-06T15:50:33.531Z","1.1.5":"2023-11-06T15:52:07.437Z"},"maintainers":[{"name":"drewburns","email":"drewburnsbab@gmail.com"}],"description":"Simple microphone recorder for React that captures mp3 audio.","homepage":"https://github.com/transitive-bullshit/react-mp3-recorder#readme","repository":{"type":"git","url":"git+https://github.com/transitive-bullshit/react-mp3-recorder.git"},"author":{"name":"transitive-bullshit"},"bugs":{"url":"https://github.com/transitive-bullshit/react-mp3-recorder/issues"},"license":"MIT","readme":"# react-mp3-recorder ([demo](https://transitive-bullshit.github.io/react-mp3-recorder/))\n\n> Simple microphone recorder for React that captures mp3 audio.\n\n[![NPM](https://img.shields.io/npm/v/react-mp3-recorder.svg)](https://www.npmjs.com/package/react-mp3-recorder) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n[![Demo](https://raw.githubusercontent.com/transitive-bullshit/react-mp3-recorder/master/media/demo.gif)](https://transitive-bullshit.github.io/react-mp3-recorder/)\n\n## Intro\n\nThis module exports a simple recording button for React which uses the [wasm-optimized](https://hackernoon.com/creating-webassembly-powered-library-for-modern-web-846da334f8fc) [vmsg](https://github.com/Kagami/vmsg) library under the hood to record and encode an MP3 directly from the microphone.\n\nCapturing MP3 audio is much more efficient and practical than using the [MediaStream](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream_Recording_API) recording API directly.\n\n## Install\n\n```bash\nnpm install --save react-mp3-recorder\n# or\nyarn add react-mp3-recorder\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from 'react'\n\nimport Recorder from 'react-mp3-recorder'\n\nexport default class App extends Component {\n  render () {\n    return (\n      <Recorder\n        onRecordingComplete={this._onRecordingComplete}\n        onRecordingError={this._onRecordingError}\n      />\n    )\n  }\n\n  _onRecordingComplete = (blob) => {\n    console.log('recording', blob)\n  }\n\n  _onRecordingError = (err) => {\n    console.log('recording error', err)\n  }\n}\n```\n\n## License\n\n- [react-mp3-recorder](https://github.com/transitive-bullshit/react-mp3-recorder) is licensed under [MIT](https://opensource.org/licenses/MIT) © [transitive-bullshit](https://github.com/transitive-bullshit).\n- [vmsg](https://github.com/Kagami/vmsg) is licensed under [CC0](https://github.com/Kagami/vmsg/blob/master/COPYING).\n- LAME is licensed under [LGPL](https://github.com/Kagami/lame-svn/blob/master/lame/COPYING).\n- MP3 patents seem to have [expired since April 23, 2017](https://en.wikipedia.org/wiki/LAME#Patents_and_legal_issues).\n\nThis module was bootstrapped with [create-react-library](https://github.com/transitive-bullshit/create-react-library).\n\nSupport my OSS work by <a href=\"https://twitter.com/transitive_bs\">following me on twitter <img src=\"https://storage.googleapis.com/saasify-assets/twitter-logo.svg\" alt=\"twitter\" height=\"24px\" align=\"center\"></a>\n","readmeFilename":"readme.md"}