0.0.1 • Published 1 year ago
@openpassport/zk-kit-utils v0.0.1
!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/utilsor yarn:
yarn add @zk-kit/utilsCDN
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.
0.0.1
1 year ago