# @types/phone-formatter

> TypeScript definitions for phone-formatter

Latest version **0.0.5** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/phone-formatter
pnpm add @types/phone-formatter
yarn add @types/phone-formatter
bun add @types/phone-formatter
```

## 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.0.5 |
| Published | 2023-11-07 |
| First published | 2016-09-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

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

## Recent versions

- 0.0.5 (latest) — 2023-11-07
- 0.0.2 (ts2.0) — 2016-10-05
- 0.0.4 — 2023-10-18
- 0.0.3 — 2023-09-24
- 0.0.1 — 2016-09-19

## README

# Installation
> `npm install --save @types/phone-formatter`

# Summary
This package contains type definitions for phone-formatter (https://github.com/stevekinney/node-phone-formatter).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/phone-formatter.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/phone-formatter/index.d.ts)
````ts
declare module "phone-formatter" {
    export interface FormatOptions {
        normalize: boolean;
    }

    export function normalize(digits: string): string;
    export function format(digits: string, format: string, options?: FormatOptions): string;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Seth Westphal](https://github.com/westy92).

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