Installation
npm install --save @types/ntqdm
Summary
This package contains type definitions for ntqdm (https://github.com/jhedin/ntqdm).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ntqdm.
index.d.ts
declare namespace ntqdm {
interface TqdmOptions {
/** A desciption string to add before the progress bar */
desc: string;
/** The number of iterations to complete, needed for infinite iterables */
total: number;
/** The minimum number of iterations between progress bar updates */
minIter: number;
/** The minimum amount of time between progress bar updates */
minInterval: number;
/** whether to output as a log, or update the same line */
logging: boolean;
}
}
/** Adds a timed progress bar to iterables */
declare function ntqdm<T>(iter: Iterable<T>, par?: Partial<ntqdm.TqdmOptions>): IterableIterator<T>;
export = ntqdm;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Christoph Thiede.