tsc-file-gene
v1.2.0
Published
TFG generate files like class, interfaces, enums for TypeScript
Downloads
4
Readme
TypeScript File Generator
TFG generate files like class, interfaces, enums for TypeScript
Installation
Use npm to install TFG
Global install recomended
npm install -g tsc-file-gene # global install
npm install --save-dev tsc-file-gene # local install
Usage
Global version usage
tfg class {name} # generate class with {name} in curret dir
tfg interface {name} # generate interface with {name} in curret dir
tfg enum {name} # generate enum with {name} in curret dir
tfg model {name} # generate model interface with {name} in curret dir
tfg service {name} # generate service clss with {name} in curret dir
Local version usage
To use localy you need to use it by npm