
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
quietjs-bundle-cli
Advanced tools
quietjs-bundle is a ready-to-use bundled version of quiet-js that you can require in CommonJS/TypeScript-based web projects
const quiet = require('quietjs-bundle'); quiet.addReadyCallback(() => { quiet.receiver({ profile: 'ultrasonic-experimental', onReceive: console.log }); });
I needed to use quiet-js in a project, and was annoyed by the fact that I needed to serve many dependencies for the library to work and couldn't bundle everything in one file with a tool like ParcelJS. I made this bundler, which automatically downloads all the required files from the latest version of quiet-js from its GitHub repository and combines the files together.
quiet-emscripten.js.mem
(a binary file) using base64npm i quietjs-bundle
Installing the module will build the bundle a first time. If you want to rebuild it, navigate to node_modules/quietjs-bundle
in your shell and run npm run-script bundle
.
quiet-emscripten.js.mem
bundling (currently stored as a string literal using base64)quiet-js
commit instead of latest for stabilityThis project itself is licensed under the MIT license. However, this tool bundles code from different sources that each have their own license. You are entirely responsible for every bit of licensed code that can end up in the final script.
Since the whole downloading & building/bundling process involving externally licensed code happens on your computer, I don't think that I have to specify the license of each piece of code. After all, this project is just a tool that does all the magic™. However, I'm not a lawyer, and if the previous statement is wrong, get in touch with me so I fix this !
FAQs
A utility to bundle quiet-js in one file
The npm package quietjs-bundle-cli receives a total of 5 weekly downloads. As such, quietjs-bundle-cli popularity was classified as not popular.
We found that quietjs-bundle-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.