@types/correct-license-metadata
v1.5.0
Published
TypeScript definitions for correct-license-metadata
Downloads
76
Readme
Installation
npm install --save @types/correct-license-metadata
Summary
This package contains type definitions for correct-license-metadata (https://github.com/jslicense/correct-license-metadata.js).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/correct-license-metadata.
index.d.ts
declare function correctLicenseMetadata(metadata: correctLicenseMetadata.PackageMetadata): string | false;
declare namespace correctLicenseMetadata {
interface PackageMetadata {
license?: string | { type?: string; license?: string } | undefined;
licenses?:
| Array<string | { type?: string; license?: string }>
| string
| { type?: string; license?: string }
| undefined;
}
}
export = correctLicenseMetadata;
Additional Details
- Last updated: Wed, 08 Apr 2026 19:29:45 GMT
- Dependencies: none
Credits
These definitions were written by Jamie Magee.
