npm.io
0.0.5 • Published 2 years ago

@types/phone-formatter

Licence
MIT
Version
0.0.5
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

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 0939 GMT
  • Dependencies: none

Credits

These definitions were written by Seth Westphal.