@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.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    171
  • 0.0.4
    17
  • 0.0.3
    69
  • 0.0.2
    591
  • 0.0.1
    0

Package Sidebar

Install

npm i @types/phone-formatter

Weekly Downloads

848

Version

0.0.5

License

MIT

Unpacked Size

3.11 kB

Total Files

5

Last publish

Collaborators

  • types