Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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`
- Host: GitHub
- URL: https://github.com/hemanth/head-it
- Owner: hemanth
- License: mit
- Created: 2016-05-31T14:21:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-24T01:38:26.000Z (over 1 year ago)
- Last Synced: 2024-10-05T01:29:01.583Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://git.io/head-it
- Size: 141 KB
- Stars: 40
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: license
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 --helpEasy 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)