8 releases

0.2.6 May 10, 2021
0.2.5 Mar 17, 2021
0.2.4 Jan 27, 2021
0.1.3 Jan 27, 2021
0.1.1 Sep 6, 2020

#1767 in Database interfaces

23 downloads per month

MIT/Apache

12KB
282 lines

Express Typescript Starter helper cli

Installation

  • Clone the repo
  • cd ets-cli && cargo install

Usage

  • ets [g|generate] [to_generate] [file_name]

Example

ets g c auth

This will create a file in src/controller/auth.controller.ts

Arguments

First Argument

g or generate

Second Argument

arg result
c or controller creates a new controller
s or service creates a new service
m or model creates a new model
mw or middleware creates a new middleware
rs or request-schema create a new express validator schema
r or route creates a new route

Dependencies

~0.3–10MB
~47K SLoC