UNPKG

@types/extsprintf

Version:
27 lines (20 loc) 833 B
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/extsprintf/index.d.ts) ````ts 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: Tue, 07 Nov 2023 03:09:37 GMT * Dependencies: none # Credits These definitions were written by .