New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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.

  • 2.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7.6K
decreased by-4.03%
Maintainers
1
Weekly downloads
 
Created
Source

tinyreq

$ tinyreq Support this project

Tiny library for making http(s) requests.

Installation

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.

$ tinyreq --help
Usage: tinyreq [options]

Options:
  -u, --url <url>        The request url.                            
  -m, --method <method>  The request method.                         
  -d, --data <data>      The request data.                           
  -f, --fields <fields>  Other fields to merge in the request object.
  -h, --help             Displays this help.                         
  -v, --version          Displays version information.               

Examples:
  tinyreq -u http://ionicabizau.net

Documentation can be found at https://github.com/IonicaBizau/tinyreq

Example

Here is an example how to use this package as library. To install it locally, as library, you can do that using npm:

$ npm i --save tinyreq
// 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.

Where is this library used?

If you are using this library in one of your projects, add it in this list. :sparkles:

License

MIT © Ionică Bizău

Keywords

FAQs

Package last updated on 03 Dec 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc