1.0.1 • Published 1 year ago

validate-ethereum-address v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Validate Ethereum Address

npm version License: MIT

Description

A lightweight utility library for Ethereum address validation and checksum checking with minimal dependencies. This library is written in TypeScript and can be used in both Node.js and browser environments.

Installation

You can install the package via npm:

npm install validate-ethereum-address

Usage

Importing the Library You can import the library using ES6 imports or CommonJS require.

ES6 Import

import { isAddress, checkAddressChecksum } from "validate-ethereum-address";

CommonJS Require

const {
  isAddress,
  checkAddressChecksum,
} = require("validate-ethereum-address");
1.0.1

1 year ago

1.0.0

1 year ago