get-package-type
npmv0.1.0Determine the `package.json#type` which applies to a location
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.
Dependencies
Dev (5)
Used by
Popular packages that depend on get-package-type.
Frequently installed together
The semantic version parser used by npm.
Lightweight debugging utility for Node.js and the browser
the complete solution for node.js command-line programs
Resolve the path of a module like `require.resolve()` but from a given path
A tiny (183B to 210B) and fast utility to ascend parent directories
Lodash modular utilities.
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
🌈Easily set your terminal text color & styles.
Functions for dealing with a PostgreSQL connection string
PostgreSQL client - pure javascript & libpq with the same API
Prepare a node environment to require files with different extensions.
Version history
| Version | Published | License |
|---|---|---|
| 0.1.0latest | 6 years ago | MIT |
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.