New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

head2

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

head2

Zero dependency HTTP HEAD module

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

head Build Status js-standard-style

Zero dependency HTTP HEAD module

Usage

Install:

Use yarn or npm:

$ npm install --save head2

Example:

Requires Promise support.

const head = require('head2')

head('https://www.google.pt')
  .then((headers) => {
    // do something with headers object
  })
  .catch(console.error)

Keywords

HEAD

FAQs

Package last updated on 21 Jan 2017

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