merapi-proxy
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

merapi-proxy

Plugin for component type proxy in merapi

How to use it

in service.yml (or another configuration file like config.json) :

proxyComponent:
  type: proxy
  uri: http://someUri
  version: v1

(optional) if you want your service is not tightly coupled with component type proxy, you can enable lazy :

proxyComponent:
   type: proxy
   lazy: true
   retryDelay: 1000 // optional, default 3000 ms
   uri: http://someUri
   version: v1

Dependencies (10)

Dev Dependencies (1)

Package Sidebar

Install

npm i merapi-proxy

Weekly Downloads

45

Version

1.1.0

License

MIT

Unpacked Size

14.3 kB

Total Files

12

Last publish

Collaborators

  • rizqme
  • ybdev
  • ikmals
  • aliarham