1.4.4 • Published 6 months ago

@types/extsprintf v1.4.4

Weekly downloads
114,478
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/extsprintf

Summary

This package contains type definitions for extsprintf (https://github.com/joyent/node-extsprintf#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/extsprintf.

index.d.ts

// Type definitions for extsprintf 1.4
// Project: https://github.com/joyent/node-extsprintf#readme, https://github.com/davepacheco/node-extsprintf
// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export interface Stream {
    write(str: string): void;
}

export function fprintf(stream: Stream, format: string, ...args: any[]): any;
export function printf(format: string, ...args: any[]): any;
export function sprintf(format: string, ...args: any[]): string;

Additional Details

  • Last updated: Thu, 23 Dec 2021 23:34:37 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by DefinitelyTyped.