npm_types
Check if a package includes built-in TypeScript types or requires installing @types/* for type definitions.
Instructions
Check TypeScript type support for a package — whether it ships built-in types (types/typings field) or has a DefinitelyTyped companion (@types/* package).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name (e.g. 'express' or '@anthropic-ai/sdk') | |
| version | No | Semver version or dist-tag (default: 'latest') |