@erebos/transport-http-node
TypeScript icon, indicating that this package has built-in type declarations

0.10.0 • Public • Published

transport-http-node

HTTP transport for node.

Installation

yarn add @erebos/transport-http-node

Usage

import httpTransport from '@erebos/transport-http-node'

const transport = httpTransport('http://localhost')

transport.request({ hello: 'transport' }).then(console.log)

API

httpTransport()

Arguments

  1. url: string

Returns (data: Object) => Promise<any>

License

MIT

/@erebos/transport-http-node/

    Package Sidebar

    Install

    npm i @erebos/transport-http-node

    Weekly Downloads

    1

    Version

    0.10.0

    License

    MIT

    Unpacked Size

    2.77 kB

    Total Files

    4

    Last publish

    Collaborators

    • sarahwiley
    • mosic
    • howleysv
    • aclarke
    • diogoperillo
    • paul_lecam