@flex-development/pkg-types
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

pkg-types

github release npm module type: esm license conventional commits typescript vitest yarn

TypeScript definitions for package.json

Contents

What is this?

This package contains TypeScript definitions for package.json files and values used in package.json files.

Install

In Node.js with yarn:

yarn add @flex-development/pkg-types
See Git - Protocols | Yarn  for details regarding installing from Git.

Use

import type {
  Condition,
  ConditionMap,
  ExportConditions,
  Exports,
  ExportsKey,
  ExportsList,
  ExportsObject,
  ImportConditions,
  Imports,
  ImportsKey,
  PackageJson,
  PackageType,
  SubpathExports
} from '@flex-development/pkg-types'

API

Related

Contribute

See CONTRIBUTING.md.

This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.

Package Sidebar

Install

npm i @flex-development/pkg-types

Weekly Downloads

3

Version

4.0.0

License

BSD-3-Clause

Unpacked Size

108 kB

Total Files

56

Last publish

Collaborators

  • unicornware