bcurl
Web client bike-shed
Last updated 3 years ago by nodweber .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install bcurl 
SYNC missed versions from official npm registry.

bcurl

A minimal web client.

Usage

const bcurl = require('bcurl');

const client = bcurl.client('http://localhost:8080');
const socket = await client.connect();

socket.send('hello', 'world');

// Rest
const json = await client.get('/foobar');
console.log(json);

// JSON-RPC
const json = await client.execute('/', 'method', {});

Contribution and License Agreement

If you contribute code to this project, you are implicitly allowing your code to be distributed under the MIT license. You are also implicitly verifying that all code is your original work. </legalese>

License

  • Copyright (c) 2017, Christopher Jeffrey (MIT License).

See LICENSE for more info.

Current Tags

  • 0.2.1                                ...           latest (3 years ago)

16 Versions

  • 0.2.1                                ...           3 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.10                                ...           5 years ago
  • 0.1.9                                ...           6 years ago
  • 0.1.8                                ...           6 years ago
  • 0.1.7                                ...           6 years ago
  • 0.1.6                                ...           8 years ago
  • 0.1.5                                ...           8 years ago
  • 0.1.4                                ...           8 years ago
  • 0.1.3                                ...           8 years ago
  • 0.1.2                                ...           8 years ago
  • 0.1.1                                ...           8 years ago
  • 0.1.0                                ...           8 years ago
  • 0.0.2                                ...           9 years ago
  • 0.0.1                                ...           9 years ago
  • 0.0.0                                ...           9 years ago
Downloads
Total 42
Today 0
This Week 4
This Month 5
Last Day 0
Last Week 0
Last Month 6
Dependencies (3)
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE