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

4.0.0-beta.9 • Public • Published

Semaphore utils

A library to provide utility functions to the other Semaphore packages.

NPM license NPM version Downloads Documentation typedoc Linter eslint Code style prettier

🛠 Install

npm or yarn

Install the @semaphore-protocol/utils package with npm:

npm i @semaphore-protocol/utils

or yarn:

yarn add @semaphore-protocol/utils

📜 Usage

For more information on the functions and modules provided by @semaphore-protocol/utils, please refer to the TypeDoc documentation.

// You can import functions/parameters from the main bundle.
import { supportedNetworks, decodeMessage } from "@semaphore-protocol/utils"

// Or by using conditional exports.
import supportedNetworks from "@semaphore-protocol/utils/supported-networks"
import decodeMessage from "@semaphore-protocol/utils/decode-message"

Readme

Keywords

none

Package Sidebar

Install

npm i @semaphore-protocol/utils

Weekly Downloads

137

Version

4.0.0-beta.9

License

MIT

Unpacked Size

42.8 kB

Total Files

28

Last publish

Collaborators

  • vplasencia
  • cedoor