Client and CLI for smee.io, a service that delivers webhooks to your local environment - e.g. behind a restrictive company proxy.
Fork of smee-client to add proxy support.
Install the client with:
$ npm install -g smee-client-proxy
The smee
command will forward webhooks from smee.io to your local development environment.
$ smee
Run smee --help
for usage.
Smee client uses global agent to do proxied connections
export GLOBAL_AGENT_HTTP_PROXY=http://127.0.0.1:8080
$ smee
const SmeeClient = require('smee-client')
const smee = new SmeeClient({
source: 'https://smee.io/abc123',
target: 'http://localhost:3000/events',
logger: console
})
const events = smee.start()
// Stop forwarding events
events.close()