1.1.5 • Published 3 years ago

api-master-cli v1.1.5

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

This package will help you to generate an express router TypeScript bundle in a single moment. It can be started only from the project directory or from any of its subdirectories. The package will create a router bundle in your API folder and will update the API entry point. If the API folder doesn't exist - it will be created automatically.

Installing api-master-cli

With NPM:

npm i -g api-master-cli

Usage

api-master-cli <route_name>

OR

npx api-master-cli <route_name>

Just run npx api-master-cli <route_name>, where "route_name" is your desired route name. All methods will be generated by default. Pluralize package handles all route names for better naming.

You can use flag -s in the end to force singular route naming.

You can choose only methods you want to generate by typing its names separated by dash(-).

I.e. npx api-master-cli <route_name> get-put. In this case only get and put methods will be generated. If you made a mistage in method name - it will be skipped. If all methods will be provided with mistakes, the default methods bundle will be created.

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago