# @types/multicoin-address-validator

> TypeScript definitions for multicoin-address-validator

Latest version **0.5.3** (published 2024-05-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/multicoin-address-validator
pnpm add @types/multicoin-address-validator
yarn add @types/multicoin-address-validator
bun add @types/multicoin-address-validator
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.5.3 |
| Published | 2024-05-14 |
| First published | 2021-06-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/multicoin-address-validator
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/multicoin-address-validator
- npm.io page: https://npm.io/package/@types/multicoin-address-validator

## Recent versions

- 0.5.3 (latest) — 2024-05-14
- 0.5.2 (ts4.5) — 2023-11-07
- 0.5.0 (ts3.6) — 2021-06-30
- 0.5.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/multicoin-address-validator`

# Summary
This package contains type definitions for multicoin-address-validator (https://github.com/christsim/multicoin-address-validator).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/multicoin-address-validator.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/multicoin-address-validator/index.d.ts)
````ts
export as namespace WAValidator;

export function validate(address: string, currencyNameOrSymbol?: string, opts?: ValidateOpts | string): boolean;
export function getCurrencies(): Currency[];
export function findCurrency(symbol: string): Currency | null;
export type NetworkType = "prod" | "testnet" | "both" | "stagenet";
export interface Validator {
    isValidAddress: (address: string, currency: Currency, opts: ValidateOpts) => boolean;
}

export interface Currency {
    name: string;
    symbol: string;
    validator: Validator;
    [key: string]: any;
}

export interface ValidateOpts {
    networkType?: NetworkType;
}

````

### Additional Details
 * Last updated: Tue, 14 May 2024 15:36:19 GMT
 * Dependencies: none

# Credits
These definitions were written by [Kyle McLean](https://github.com/kylemclean).

---
_Source: https://npm.io/package/@types/multicoin-address-validator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
