4.1.0 • Published 9 months ago

@flex-development/pkg-types v4.1.0

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
9 months ago

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

Use

import type {
  Condition,
  ConditionMap,
  ConditionalTargets,
  Exports,
  ExportsKey,
  ExportsObject,
  ExportsSubpath,
  Imports,
  ImportsSubpath,
  PackageJson,
  PackageType,
  SubpathExports,
  Target,
  TargetList
} 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.