@types/normalize-package-data

  • Version 2.4.4
  • Published
  • 5.81 kB
  • No dependencies
  • MIT license

Install

npm i @types/normalize-package-data
yarn add @types/normalize-package-data
pnpm add @types/normalize-package-data

Overview

TypeScript definitions for normalize-package-data

Index

Functions

function normalize

normalize: {
(data: normalize.Input, warn?: normalize.WarnFn, strict?: boolean): void;
(data: normalize.Input, strict?: boolean): void;
};

    Interfaces

    interface Input

    interface Input {}

      index signature

      [k: string]: any;

        interface Package

        interface Package {}

          property author

          author?: Person | undefined;

            property bin

            bin?: { [k: string]: string } | undefined;

              property bugs

              bugs?:
              | { url: string; email?: string | undefined }
              | { url?: string | undefined; email: string }
              | undefined;

                property bundleDependencies

                bundleDependencies?: { [name: string]: string } | undefined;

                  property contributors

                  contributors?: Person[] | undefined;

                    property dependencies

                    dependencies?: { [name: string]: string } | undefined;

                      property description

                      description?: string | undefined;

                        property devDependencies

                        devDependencies?: { [name: string]: string } | undefined;

                          property engines

                          engines?: { [type: string]: string } | undefined;

                            property files

                            files?: string[] | undefined;

                              property homepage

                              homepage?: string | undefined;

                                property keywords

                                keywords?: string[] | undefined;

                                  property license

                                  license?: string | undefined;

                                    property maintainers

                                    maintainers?: Person[] | undefined;

                                      property man

                                      man?: string[] | undefined;

                                        property name

                                        name: string;

                                          property optionalDependencies

                                          optionalDependencies?: { [name: string]: string } | undefined;

                                            property readme

                                            readme: string;

                                              property repository

                                              repository?: { type: string; url: string } | undefined;

                                                property scripts

                                                scripts?: { [k: string]: string } | undefined;

                                                  property version

                                                  version: string;

                                                    index signature

                                                    [k: string]: any;

                                                      interface Person

                                                      interface Person {}

                                                        property email

                                                        email?: string | undefined;

                                                          property name

                                                          name?: string | undefined;

                                                            property url

                                                            url?: string | undefined;

                                                              Type Aliases

                                                              type WarnFn

                                                              type WarnFn = (msg: string) => void;

                                                                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/normalize-package-data.

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