Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@jitsi/rnnoise-wasm
Advanced tools
Rnnoise sub-module compiled with emscripten as web assembly module
rnnoise noise suppression library as a WASM module.
This repository contains the necessary utilities to build the library using a Docker build environment with Emscripten.
Building is straightforward, run:
npm run build
The repository already has a pre-compiled version under the dist folder, running the above command will replace it with the newly compiled binaries and glue wasm .js file respectively.
In order to facilitate the build with docker the following prebuilt image is used trzeci/emscripten/ however, it is slightly altered by installing autotools components necessary for building rnnoise.
In summary the build process consists of two steps:
build:dockerfile
- pulls in trzeci/emscripten/ which is then altered and saved. Any suqsequent build is going to check if the images was already installed and use that, so if one wants to make changes to the Dockerfile be sure to first delete the build image from your local docker repo.build:emscripten
- mounts the repo to the docker image from step one and runs build.sh on it. The bash script contains all the steps necessary for building rnnoise as a wasm module.Following a build two files are generated under dist, the actual webassembly binary rnnoise.wasm
and the generated emscriten .js file named index.js
which contains glue code and the necessary libc runtime javascript bindings.
The repo is structured so it can be used as a npm dependency, with the entry point in dist/index.js, be mindful as using index.js automatically implies that rnnoise.wasm needs to be present as well, thus for a normal npm build system one must explicitly copy rnnoise.wasm to the project structure.
FAQs
Rnnoise sub-module compiled with emscripten as web assembly module
The npm package @jitsi/rnnoise-wasm receives a total of 914 weekly downloads. As such, @jitsi/rnnoise-wasm popularity was classified as not popular.
We found that @jitsi/rnnoise-wasm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.