smee-client
    TypeScript icon, indicating that this package has built-in type declarations

    1.2.2 • Public • Published

    smee-client

    Client and CLI for smee.io, a service that delivers webhooks to your local development environment.

    NPM Build Status Codecov

    Looking for probot/smee.io?

    Installation

    Install the client with:

    $ npm install -g smee-client
    

    Usage

    CLI

    The smee command will forward webhooks from smee.io to your local development environment.

    $ smee
    

    Run smee --help for usage.

    Node Client

    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()

    Keywords

    none

    Install

    npm i smee-client

    DownloadsWeekly Downloads

    11,580

    Version

    1.2.2

    License

    ISC

    Unpacked Size

    6.74 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar