Skip to content

scottjr632/typm

Repository files navigation

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

$ typm add react

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

Usage

$ npm install -g typm
$ typm COMMAND
running command...
$ typm (-v|--version|version)
typm/1.2.0 darwin-x64 node-v10.24.1
$ typm --help [COMMAND]
USAGE
  $ typm COMMAND
...

Commands

typm config

show preferred package manager

USAGE
  $ typm config

See code: src/commands/config.ts

typm help [COMMAND]

display help for typm

USAGE
  $ typm help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

typm init

initialize typm with your package manager

USAGE
  $ typm init

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

ALIASES
  $ typm initialize

See code: src/commands/init.ts

typm install

install npm package[s]

USAGE
  $ typm install

OPTIONS
  -h, --help  show CLI help

ALIASES
  $ typm i
  $ typm add

EXAMPLE
  $ typm add react react-dom

See code: src/commands/install.ts