Skip to content
/ tyty Public

A cli-tool to get all of @types/* for your project

License

Notifications You must be signed in to change notification settings

Bin-Huang/tyty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟 A cli tool to get all of type definitions(@types/*) for your project dependencies. Happier with typescript ❤️

npm i tyty -g

How To Use

Just open command line in your project, and type tyty + enter. All typescript definitions(@types/*) you need will be downloaded according to package.json.

If package.json not in current folder, tyty will try to find it in superior folder (and repeat if still).

  Usage: tyty [options]

  Options:

    -V, --version   output the version number
    -s, --save      get typescript definitions and add to package.json as a dependency
    -d, --save-dev  (default) get typescript definitions and add to package.json as a dev-dependency
    -h, --help      output usage information

Contributes

  • welcome issuse when have any question, bug, suggestion...
  • welcome fork and Pull Request
  • share the tool with friends and colleagues

Todo

  • add -y, --yarn option. (use yarn instead of npm to download)
  • add -c, --cnpm option. (use cnpm instead of npm to download)

About

A cli-tool to get all of @types/* for your project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published