typemanager
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

oclif Version License

About

Typescript Package Manager automatically checks if a type package exists for a specific package and installs it as a development dependency. That means that instead of running

$ yarn add react
$ yarn add -D @types/react

you would only have to run

$ tsm add react

This also means that you don't have to check if a type packages exists for a specific package. TSM automatically checks this and only install the type packages that are necessary.

Usage

$ npm install -g typemanager
$ # or
$ npx typemanager [COMMAND]
$ tsm COMMAND
running command...
$ tsm (-v|--version|version)
tsm/1.1.0 darwin-x64 node-v13.8.0
$ tsm --help [COMMAND]
USAGE
  $ tsm COMMAND
...

Commands

tsm config

show preferred package manager

USAGE
  $ tsm config

See code: src/commands/config.ts

typm help [COMMAND]

display help for typm

USAGE
  $ tsm help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

tsm init

initialize typm with your package manager

USAGE
  $ tsm init

OPTIONS
  -g, --global
  -h, --help    show CLI help

ALIASES
  $ tsm initialize

See code: src/commands/init.ts

tsm install

install npm package[s]

USAGE
  $ tsm install

OPTIONS
  -h, --help  show CLI help

ALIASES
  $ tsm i
  $ tsm add

EXAMPLE
  $ tsm add react react-dom

See code: src/commands/install.ts

Readme

Keywords

Package Sidebar

Install

npm i typemanager

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

4.19 kB

Total Files

4

Last publish

Collaborators

  • instagram