0.0.19 • Published 7 months ago

cslink v0.0.19

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

Client/Server link

Cslink allow smallapi users to generate a complete client using axios for their APIs.

install

npm install -g cslink

Usage

cslink {serverUrl} [dst] [install] [serverVar] [decodeKey]

Required parameters:

  • serverUrl: the API server url

Optional parameters:

  • dst: the destination path for generated files • default '.'
  • install: true|false install required modules • default false
  • serverVar: if filled replace the server url in the api client file • default null
  • decodeKey: decode secret used for data encryption • default null

Example

cslink http://localhost:3097 dst=src/api install=true serverVar=process.env.REACT_APP_API_BASE_URL decodeKey=my-secret-key

Author

👤 tutanck

This README was generated with ❤️ by readme-md-generator

0.0.19

7 months ago

0.0.18

9 months ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.14

1 year ago

0.0.15

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago