@cameronhunter/type-extractor
Extract TypeScript type definitions from npm packages.
Usage: type-extractor <package-name>[@version] [options]
Options:
--directory Directory to save the package (default: /Users/chunter/workspace/github/cameronhunter/type-extractor)
--help, -h Show this message
Examples:
type-extractor playwright-core Extract the types for the latest version of playwright-core.
type-extractor playwright-core@1.3.6 Extract the types for v1.3.6 of playwright-core.
Using npx
:
$ npx @cameronhunter/type-extractor <package-name>[@version] [options]