@erebos/transport-http-node
HTTP transport for node
Last updated a year ago by paul_lecam .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @erebos/transport-http-node 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.10.0                                ...           latest (a year ago)

1 Versions

  • 0.10.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |