
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@noir-lang/noir_wasm
Advanced tools
This JavaScript package enables users to compile a Noir program, i.e. generating its artifacts, both in Node.JS environments and the browser.
The package also handles dependency management like how Nargo (Noir's CLI tool) operates, but the package is used just for compilation, not proving, verifying and simulating functions.
// Node.js
import { compile, createFileManager } from '@noir-lang/noir_wasm';
const fm = createFileManager(myProjectPath);
const myCompiledCode = await compile(fm);
// Browser
import { compile, createFileManager } from '@noir-lang/noir_wasm';
const fm = createFileManager('/');
for (const path of files) {
await fm.writeFile(path, await getFileAsStream(path));
}
const myCompiledCode = await compile(fm);
FAQs
Unknown package
The npm package @noir-lang/noir_wasm receives a total of 1,002 weekly downloads. As such, @noir-lang/noir_wasm popularity was classified as popular.
We found that @noir-lang/noir_wasm demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.