Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hemanth/head-it

Easy interface for `head`
https://github.com/hemanth/head-it

Last synced: 22 days ago
JSON representation

Easy interface for `head`

Awesome Lists containing this project

README

        

# head-it [![Build Status](https://travis-ci.org/hemanth/head-it.svg?branch=master)](https://travis-ci.org/hemanth/head-it)

> Easy interface for [head](https://github.com/joshbuchea/HEAD)

## Install

```
$ npm install --save head-it
```

## Usage

```js
const headIt = require('head-it');

headIt('min').then(console.log).catch(console.error);

/*
Would print something like:

Page Title
*/
```

## CLI

```
$ npm install --global head-it
```

```
$ head-it --help

Easy interface for head.

Usage
$ head-it [type]

Examples
$ head-it min



Page Title
```

P.S: `type` can be any of: 360, min, elm, meta, link, fav, fbog, fbia, twitter, g+, oembed, ios, safari, android, chrome, ie, uc, qq, applinks.

## GIF FTW!

![](./head-it.gif)

## License

MIT © [Hemanth.HM](https://h3manth.com)