validate-ethereum-address
v1.0.3
Published
[![npm version](https://badge.fury.io/js/validate-ethereum-address.svg)](https://badge.fury.io/js/validate-ethereum-address) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Downloads
175
Readme
Validate Ethereum Address
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");