Every time you need to do something like this npm install --save <package>
and then npm install --save-dev @types/<package>
typac is just for you!
Cli tool for installing npm package with corresponding @types
typings package (if it exists).
npm install -g typac
or
yarn global add typac
typac <package>
- install <package>
in dependencies section and corresponding type definitions package in devDependencies sectiontypac <package> -d
or typac <package> --dev
- install <package>
and corresponding type definitions package, both in devDependencies sectiontypac <package> -s
or typac <package> --save
- install <package>
and corresponding type definitions package, both in dependencies sectiontypac <package 1> [<package 2> ...]
- install several packages#
Named by @ploddi