Socket
Book a DemoInstallSign in
Socket

@polkadot/util

Package Overview
Dependencies
Maintainers
2
Versions
1426
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/util

A collection of useful utilities for @polkadot

latest
Source
npmnpm
Version
14.0.1
Version published
Weekly downloads
191K
91.43%
Maintainers
2
Weekly downloads
 
Created
Source

@polkadot/util

Various useful utility functions that are used across all projects in the @polkadot namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.

Usage

Installation -

yarn add @polkadot/util

Functions can be imported directly from the package, e.g.

import { isHex } from '@polkadot/util';

FAQs

Package last updated on 09 Dec 2025

Did you know?

Socket

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