1.0.12 • Published 7 years ago

@brickblock/crypto-address-checker v1.0.12

Weekly downloads
-
License
ISC
Repository
-
Last release
7 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

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago