
Research
/Security News
11 Malicious NuGet Tools Pose as Game Cheats to Drop a Windows Host-Surveillance Payload
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.
@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.
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.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.

Research
/Security News
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.