Sha256: c9ad058b2cc9ce6dc2ed92960d6d009e8c04bef46d3f5312283debca6869f613

Contents?: true

Size: 1.5 KB

Versions: 23

Compression:

Stored size: 1.5 KB

Contents

// Type definitions for normalize-package-data 2.4
// Project: https://github.com/npm/normalize-package-data#readme
// Definitions by: Jeff Dickey <https://github.com/jdxcode>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export = normalize;

declare function normalize(data: normalize.Input, warn?: normalize.WarnFn, strict?: boolean): void;
declare function normalize(data: normalize.Input, strict?: boolean): void;

declare namespace normalize {
    type WarnFn = (msg: string) => void;
    interface Input {[k: string]: any; }

    interface Person {
        name?: string;
        email?: string;
        url?: string;
    }

    interface Package {
        [k: string]: any;
        name: string;
        version: string;
        files?: string[];
        bin?: {[k: string]: string };
        man?: string[];
        keywords?: string[];
        author?: Person;
        maintainers?: Person[];
        contributors?: Person[];
        bundleDependencies?: {[name: string]: string; };
        dependencies?: {[name: string]: string; };
        devDependencies?: {[name: string]: string; };
        optionalDependencies?: {[name: string]: string; };
        description?: string;
        engines?: {[type: string]: string };
        license?: string;
        repository?: { type: string, url: string };
        bugs?: { url: string, email?: string } | { url?: string, email: string };
        homepage?: string;
        scripts?: {[k: string]: string};
        readme: string;
        _id: string;
    }
}

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
trusty-cms-5.0.7 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-5.0.6 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-5.0.5 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-5.0.4 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-5.0.3 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-5.0.2 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-5.0.1 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-4.3.5 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-5.0.0 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-4.3.4 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-4.3.3 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-4.3.2 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-4.3.1 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-4.3 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-4.2.3 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-4.2.2 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-4.2.1 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-4.2 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-4.1.9 node_modules/@types/normalize-package-data/index.d.ts
trusty-cms-4.1.8 node_modules/@types/normalize-package-data/index.d.ts