Socket
Book a DemoInstallSign in
Socket

tinyreq

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinyreq

Tiny library for making http(s) requests.

Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

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.

Keywords

tinyreq

FAQs

Package last updated on 07 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts