1.0.2 • Published 2 years ago
@types/ntqdm v1.0.2
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
// Type definitions for ntqdm 1.0
// Project: https://github.com/jhedin/ntqdm
// Definitions by: Christoph Thiede <https://github.com/LinqLover>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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: Wed, 03 Nov 2021 21:31:30 GMT
 - Dependencies: none
 - Global values: none
 
Credits
These definitions were written by Christoph Thiede.