Socket
Socket
Sign inDemoInstall

@zk-kit/utils

Package Overview
Dependencies
1
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @zk-kit/utils

Essential zero-knowledge utility library for JavaScript developers.


Version published
Maintainers
4
Install size
468 kB
Created

Readme

Source

Utils

Essential zero-knowledge utility library for JavaScript developers.

NPM license NPM version Downloads npm bundle size (scoped) Linter eslint Code style prettier

🗣️ Chat & Support   |   📘 Docs

[!NOTE]
This library has been audited as part of the Semaphore V4 PSE audit: https://semaphore.pse.dev/Semaphore_4.0.0_Audit.pdf.

🛠 Install

npm or yarn

Install the @zk-kit/utils package and its peer dependencies with npm:

npm i @zk-kit/utils

or yarn:

yarn add @zk-kit/utils

CDN

You can also load it using a script tag using unpkg:

<script src="https://unpkg.com/@zk-kit/utils"></script>

or JSDelivr:

<script src="https://cdn.jsdelivr.net/npm/@zk-kit/utils"></script>

📜 Usage

// You can import modules from the main bundle.
import { errorHandlers, typeChecks } from "@zk-kit/utils"

// Or by using conditional exports.
import { requireNumber } from "@zk-kit/utils/error-handlers"
import { isNumber } from "@zk-kit/utils/type-checks"

For more information on the functions provided by @zk-kit/utils, please refer to the documentation.

FAQs

Last updated on 20 May 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc