@types/phone-formatter
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

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

Credits

These definitions were written by Seth Westphal.

/@types/phone-formatter/

    Package Sidebar

    Install

    npm i @types/phone-formatter

    Weekly Downloads

    622

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    3.11 kB

    Total Files

    5

    Last publish

    Collaborators

    • types