JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7625
  • Score
    100M100P100Q126183F
  • License MIT

Tiny library for making http(s) requests.

Package Exports

  • tinyreq

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tinyreq) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

tinyreq

$ tinyreq Donate now

Tiny library for making http(s) requests.

Installation

$ npm i tinyreq

CLI Usage

You can install the package globally and use it as command line tool:

$ npm i -g tinyreq

Then, run tinyreq --help and see what the cli tool can do.

Example

Here is an example how to use this package as library.

// Dependencies
var TinyReq = require("tinyreq");

// Make a request to example.com
TinyReq("http://example.com/", function (err, body) {
    console.log(err || body);
});

Documentation

For full API reference, see the DOCUMENTATION.md file.

How to contribute

Have an idea? Found a bug? See how to contribute.

License

KINDLY © Ionică Bizău–The LICENSE file contains a copy of the license.