UNPKG

833 BMarkdownView Raw
1# Installation
2> `npm install --save @types/extsprintf`
3
4# Summary
5This package contains type definitions for extsprintf (https://github.com/joyent/node-extsprintf#readme).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/extsprintf.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/extsprintf/index.d.ts)
10````ts
11export interface Stream {
12 write(str: string): void;
13}
14
15export function fprintf(stream: Stream, format: string, ...args: any[]): any;
16export function printf(format: string, ...args: any[]): any;
17export function sprintf(format: string, ...args: any[]): string;
18
19````
20
21### Additional Details
22 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
23 * Dependencies: none
24
25# Credits
26These definitions were written by .
27
\No newline at end of file