@types/node-config-manager
TypeScript icon, indicating that this package has built-in type declarations

1.0.32 • Public • Published

Installation

npm install --save @types/node-config-manager

Summary

This package contains type definitions for node-config-manager (https://www.npmjs.com/package/node-config-manager).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-config-manager.

index.d.ts

interface Options {
    configDir: string;
    env: string;
    camelCase: boolean;
}

interface ConfigManager {
    init(options: Options): ConfigManager;
    set(key: string, value: string | boolean): ConfigManager;
    get(key: string): string | boolean;
    addConfig(configName: string): ConfigManager;
    getConfig(configName: string): any;
    removeConfig(configName: string): ConfigManager;
    count(): number;
    method: any;
}

declare var cfgManager: ConfigManager;
export = cfgManager;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by TANAKA Koichi.

/@types/node-config-manager/

    Package Sidebar

    Install

    npm i @types/node-config-manager

    Weekly Downloads

    1

    Version

    1.0.32

    License

    MIT

    Unpacked Size

    3.59 kB

    Total Files

    5

    Last publish

    Collaborators

    • types