Are you considering converting your JavaScript project to TypeScript and you're wondering how many of your dependencies will have types available? This is for you.
npx find-types <name of your npm module>
find-types
scans your package's dependencies.- For each dependency, it checks whether a
types
field exists inpackage.json
. - If one doesn't exist, it also looks for a
@types/
package.