1.0.4 • Published 2 years ago

@zahooz/usage-proxy v1.0.4

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Usage Tracker Proxy

Installation

Install @zahooz/usage-proxy using the following command

npm install --save @zahooz/usage-proxy

Usage

import ProxyController from '@zahooz/usage-proxy'

// include in routes

Route.group(() => { 
    Route.any('*', async (ctx) => {
        return new ProxyController('usage tracker api url').proxy(ctx)
        // contact usage tracker team for the api url
    }) 
}).prefix('/api/v1/usage-tracker');
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago