Nourished Personal Mucus

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

    0.2.0 • Public • Published

    transport-http-node

    HTTP transport for node.

    Installation

    yarn add @mainframe/transport-http-node

    Usage

    import httpTransport from '@mainframe/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

    Keywords

    none

    Install

    npm i @mainframe/transport-http-node

    DownloadsWeekly Downloads

    2

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    2.84 kB

    Total Files

    5

    Last publish

    Collaborators

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