@zk-kit/utils
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.2 • Public • Published

Utils

Essential zero-knowledge utility library for JavaScript developers.

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

[!WARNING]
This library has not been audited.

🛠 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @zk-kit/utils

Weekly Downloads

4,525

Version

1.0.0-beta.2

License

MIT

Unpacked Size

376 kB

Total Files

44

Last publish

Collaborators

  • sripwoud
  • njofce
  • akinovak
  • cedoor