1.0.12 • Published 5 years ago

@brickblock/crypto-address-checker v1.0.12

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Crypto Address Checker

This package offers helpers to check whether a string is a valid ETH, BTC or LTC address.

How to use this package?

  1. Install Package

    yarn add @brickblock/crypto-address-checker
  2. Use Package

    import { isEthereumAddress } from '@brickblock/crypto-address-checker'
    
    // (ethereumAddress: string) => boolean
    function ethereumAddressValidation(ethereumAddress) {
      return (
          typeof ethereumAddress === 'string' &&
          !!ethereumAddress.length &&
          isEthereumAddress(ethereumAddress)
      )
    }

We're using the fantastic crypto-js underneath.

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago