0.1.7 • Published 7 months ago

@types/codependency v0.1.7

Weekly downloads
98
License
MIT
Repository
github
Last release
7 months ago

Installation

npm install --save @types/codependency

Summary

This package contains type definitions for codependency (https://github.com/Wizcorp/codependency).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/codependency.

index.d.ts

// Type definitions for codependency 0.1
// Project: https://github.com/Wizcorp/codependency
// Definitions by: Morgan Benton <https://github.com/morphatic>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference types="node" />

export as namespace codependency;

export interface DependencyInfo {
    supportedRange: string|null;
    installedVersion: string|null;
    isInstalled: boolean|null;
    isValid: boolean|null;
    pkgPath: string;
}

export interface RequirePeerFunctionOptions {
    optional?: boolean | undefined;
    dontThrow?: boolean | undefined;
}

export interface RequirePeerFunction {
    (name: string, options?: RequirePeerFunctionOptions): any;
    resolve(name: string): DependencyInfo;
}

export function register(baseModule: NodeModule, options?: {index: string[]}): RequirePeerFunction;
export function get(middlewareName: string): RequirePeerFunction;

Additional Details

  • Last updated: Thu, 08 Jul 2021 09:08:01 GMT
  • Dependencies: @types/node
  • Global values: codependency

Credits

These definitions were written by Morgan Benton.

0.1.7

7 months ago

0.1.6

7 months ago

0.1.5

9 months ago

0.1.4

3 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago