</>PackageGraphPackageGraph

get-package-type

npmv0.1.0

Determine the `package.json#type` which applies to a location

45.5M
Weekly downloads
1
Dependents
5
Dependencies
94/100
Popularity

Overview

get-package-type is an npm package that determine the `package.json#type` which applies to a location. It is extremely widely used, with about 45.5M downloads per week and 1 known dependents in the graph. The latest version is 0.1.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need determine the `package.json#type` which applies to a location and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (45.5M weekly downloads).
  • Clear open-source license (MIT).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of get-package-type.

knexget-package-type
get-package-type dependencies dependents

Dependencies

Dev (5)

@cfware/lint ^1.4.3@cfware/nyc ^0.7.0if-ver ^1.1.0libtap ^0.3.0nyc ^15.0.1

Used by

Popular packages that depend on get-package-type.

Frequently installed together

Version history

VersionPublishedLicense
0.1.0latest6 years agoMIT

Maintainers

Frequently asked questions

How do I install get-package-type?

Run `npm install get-package-type` to add get-package-type to your npm project.

What license is get-package-type released under?

get-package-type is distributed under the MIT license.

How popular is get-package-type?

get-package-type has approximately 45,515,781 downloads per week and 1 known dependent packages.