
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@xylabs/eth-address
Advanced tools
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
@xylabs/eth-address
readonly static type: "EthAddress" = 'EthAddress';
type: string = EthAddress.type;
static fromString(value?, base?): undefined | EthAddress;
string
number = 16
undefined | EthAddress
static parse(value, base?): undefined | EthAddress;
unknown
number
undefined | EthAddress
static validate(address): boolean;
string
boolean
equals(address?): boolean;
null | string | EthAddress
boolean
toBigNumber(): bigint;
bigint
toHex(): string;
string
toJSON(): string;
string
toLowerCaseString(): string;
string
toShortString(length): string;
number = 2
string
toString(checksum?, chainId?): string;
boolean
string
string
validate(): boolean;
boolean
function ellipsize(value, length): string;
string
number = 2
string
function isEthAddress(obj): boolean;
string
boolean
function padHex(hex, byteCount): string;
string
number = 0
string
Part of sdk-js
See the LICENSE file for license details
FAQs
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
The npm package @xylabs/eth-address receives a total of 94 weekly downloads. As such, @xylabs/eth-address popularity was classified as not popular.
We found that @xylabs/eth-address demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.