@types/validate-npm-package-license

  • Version 3.0.1
  • Published
  • 4.1 kB
  • No dependencies
  • MIT license

Install

npm i @types/validate-npm-package-license
yarn add @types/validate-npm-package-license
pnpm add @types/validate-npm-package-license

Overview

TypeScript definitions for validate-npm-package-license

Index

Functions

function validateLicense

validateLicense: (license: string) => validateLicense.Result;

    Interfaces

    interface Result

    interface Result {}

      property inFile

      inFile?: string | undefined;

        property spdx

        spdx?: true | undefined;

          property unlicensed

          unlicensed?: true | undefined;

            property validForNewPackages

            validForNewPackages: boolean;

              property validForOldPackages

              validForOldPackages: boolean;

                property warnings

                warnings?: string[] | undefined;

                  Package Files (1)

                  Dependencies (0)

                  No dependencies.

                  Dev Dependencies (0)

                  No dev dependencies.

                  Peer Dependencies (0)

                  No peer dependencies.

                  Badge

                  To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                  You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/validate-npm-package-license.

                  • Markdown
                    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/validate-npm-package-license)
                  • HTML
                    <a href="https://www.jsdocs.io/package/@types/validate-npm-package-license"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>