# Install snarkjs with npm

zkSNARKs implementation in JavaScript. Version 0.7.6 via npm; verified 2026-01-12.

## Install

```sh
sudo av install npm:snarkjs
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g snarkjs
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:snarkjs
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/snarkjs>
- **Version:** 0.7.6
- **Source summary:** zkSNARKs implementation in JavaScript
- **Homepage:** <https://github.com/iden3/snarkjs#readme>
- **Repository:** <https://github.com/iden3/snarkjs>
- **Upstream docs:** <https://github.com/iden3/snarkjs#readme>
- **License:** GPL-3.0
- **Source archive:** <https://registry.npmjs.org/snarkjs/-/snarkjs-0.7.6.tgz>
- **Issue tracker:** <https://github.com/iden3/snarkjs/issues>
- **Published:** 2026-01-12T11:04:55.613Z
- **Last updated:** 2026-01-12T11:04:55.613Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- snarkjs (cli)
- snarkjs (alias)

## Dependencies

- @iden3/binfileutils
- @noble/hashes
- bfj
- circom_runtime
- ejs
- fastfile
- ffjavascript
- logplease
- r1csfile

## Build dependencies

- @rollup/plugin-commonjs
- @rollup/plugin-json
- @rollup/plugin-node-resolve
- @rollup/plugin-replace
- @rollup/plugin-virtual
- eslint
- mocha
- rollup
- rollup-plugin-terser
- rollup-plugin-visualizer

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.7.6
- Package-manager updated: 2026-01-12
- Local data: ok
- Upstream repository: https://github.com/iden3/snarkjs
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for snarkjs. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.7.6
- **Version Count:** 137
- **Maintainers:** jbaylina
- **Author:** Jordi Baylina
- **Publisher:** jbaylina
- **Integrity:** sha512-4uH1xA5JzVU5jaaWS2fXej3+RC6L5Erhr6INTJtUA27du4Elbh4VXCeeRjB4QiwL6N6y7SNKePw5prTxyEf4Zg==
- **Shasum:** 632f38d5090ac2042dd24566bd973c79c7fa075b
- **Unpacked Size:** 9,671,132
- **File Count:** 0
- **Created At:** 2018-10-21T16:27:31.079Z
- **Latest Published At:** 2026-01-12T11:04:55.613Z
- **Modified At:** 2026-01-12T11:04:55.809Z


## Related links

- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched curated package taxonomy and local package facts.
- [circom_runtime](https://www.automicvault.com/pkg/npm/circom-runtime/) - Security-sensitive metadata or terminology overlaps. Shared terms: circom, circom-runtime, cli, cryptography, ffjavascript.
- [sha.js](https://www.automicvault.com/pkg/npm/sha-js/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cryptography, hashes, javascript, security.
- [sifter](https://www.automicvault.com/pkg/npm/sifter/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cryptography, hashes, javascript, security.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
