Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

http-call

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-call - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

README.hbs

14

http.js

@@ -25,3 +25,17 @@ const util = require('util')

/**
* Utility for simple HTTP calls
* @class
*/
class HTTP {
/**
* make a simple http request
* @param url {string} - url or path to call
* @param options {object}
* @example
* ```js
* const http = require('http-call')
* await http.get('https://google.com')
* ```
*/
static get (url, options = {}) {

@@ -28,0 +42,0 @@ let http = new HTTP(Object.assign({}, options, {

4

package.json
{
"name": "http-call",
"version": "1.0.0",
"version": "1.0.1",
"description": "make http requests",

@@ -18,3 +18,3 @@ "author": "Jeff Dickey @dickeyxxx",

"scripts": {
"doc": "jsdoc2md --template README.hbs --files rwlockfile.js > README.md",
"doc": "jsdoc2md --template README.hbs --files http.js > README.md",
"test": "standard",

@@ -21,0 +21,0 @@ "version": "npm run doc && git add README.md"

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