Package Exports
- @rocket.chat/mp3-encoder
- @rocket.chat/mp3-encoder/dist/index.js
- @rocket.chat/mp3-encoder/dist/index.mjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rocket.chat/mp3-encoder) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@rocket.chat/mp3-encoder
A LAME encoder to be used in web workers
Install
Add @rocket.chat/mp3-encoder
as a dependency:
npm i @rocket.chat/mp3-encoder
# or, if you are using yarn:
yarn add @rocket.chat/mp3-encoder
Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the issues.
Building
As this package dependends on others in this monorepo, before anything run the following at the root directory:
yarn build
Linting
To ensure the source is matching our coding style, we perform linting. Before commiting, check if your code fits our style by running:
yarn lint
Some linter warnings and errors can be automatically fixed:
yarn lint-and-fix
Running tests
Whenever possible, add tests to describe exactly what your code do. You can run them by yourself:
yarn test