Check Typings for your Project
npm install get-matching-types -g
cd
to an NPM project, then run get-matching-types
:
~/d/p/a/j/metaphysics $ get-matching-types Starting search
You can then copy & paste the command in to add typing data to your project 👍
This is probably a dupe ( at least, flow-typed install
actually does this by default )
however, this is a quick command line app that will make a list of all potential type definitions
that exist in NPM for your dependencies
Want to play around?
git clone https://github.com/orta/get-matching-typescd get-matching-typesnpm install # This uses Typings for Fetch's type-definitions npm install typings --globaltypings install