
Product
Microsoft Teams Notifications Are Now Available in Socket
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.
@ariestools/eth-address
Advanced tools
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Using npm:
npm install {{name}}
Using yarn:
yarn add {{name}}
Using pnpm:
pnpm add {{name}}
Using bun:
bun add {{name}}
See the LICENSE file for license rights and limitations (LGPL-3.0-only).
### .temp-typedoc
### classes
### <a id="EthAddressWrapper"></a>EthAddressWrapper
Wrapper around an Ethereum address providing parsing, formatting, validation, and checksum support.
protected new EthAddressWrapper(address): EthAddressWrapper;
bigint
EthAddressWrapper
static fromString(value?, base?): EthAddressWrapper | undefined;
string
number = 16
EthAddressWrapper | undefined
static parse(value, base?): EthAddressWrapper | undefined;
unknown
number
EthAddressWrapper | undefined
static validate(address): boolean;
string
boolean
equals(address?): boolean;
string | EthAddressWrapper | null
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
### functions
### <a id="ellipsize"></a>ellipsize
function ellipsize(value, length?): string;
Truncates a string to show the first and last length characters separated by an ellipsis.
string
The string to ellipsize
number = 2
Number of characters to keep at each end (default 2)
string
The ellipsized string
### <a id="isEthAddressWrapper"></a>isEthAddressWrapper
function isEthAddressWrapper(obj): obj is { type: string } & EthAddressWrapper;
Type guard that checks if the given object is an instance of EthAddressWrapper.
string
obj is { type: string } & EthAddressWrapper
### <a id="padHex"></a>padHex
function padHex(hex, byteCount?): string;
string
number = 0
string
FAQs
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
We found that @ariestools/eth-address demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.