0.1.3 • Published 6 months ago
@types/ethjs-util v0.1.3
Installation
npm install --save @types/ethjs-util
Summary
This package contains type definitions for ethjs-util (https://github.com/ethjs/ethjs-util#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ethjs-util.
index.d.ts
// Type definitions for ethjs-util 0.1
// Project: https://github.com/ethjs/ethjs-util#readme
// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
export function isHexPrefixed(str: string): boolean;
export function stripHexPrefix(str: string): string;
export function padToEven(value: string): string;
export function intToHex(i: number): string;
export function intToBuffer(i: number): Buffer;
export function getBinarySize(str: string): number;
export function arrayContainsArray(superset: any[], subset: any[], some?: boolean): boolean;
export function toUtf8(hex: string): string;
export function toAscii(hex: string): string;
export function fromUtf8(stringValue: string): string;
export function fromAscii(stringValue: string): string;
export function getKeys(params: any[], key: string, allowEmpty?: boolean): any[];
export function isHexString(value: string, length?: number): boolean;
Additional Details
- Last updated: Thu, 23 Dec 2021 23:34:35 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by DefinitelyTyped.