Resolves DefinitelyTyped @types/ packages for TypeScript consumers.
Maps package names to their corresponding @types/ package names and checks if type definitions are needed or already provided.
Summary
Functions
Checks if a package bundles its own types (has a types or typings field).
Lists all @types/ packages in the lockfile.
Finds packages that need @types/ definitions.
Maps installed @types/ packages back to the packages they provide types for.
Returns the @types/ package name for a given package.
Functions
Checks if a package bundles its own types (has a types or typings field).
Lists all @types/ packages in the lockfile.
Finds packages that need @types/ definitions.
Returns packages that don't bundle types and whose @types/ package is not in the lockfile.
Maps installed @types/ packages back to the packages they provide types for.
Returns the @types/ package name for a given package.