Easy interface for head
$ npm install --save head-it
const headIt = require('head-it');
headIt('min').then(console.log).catch(console.error);
/*
Would print something like:
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Page Title</title>
*/
$ npm install --global head-it
$ head-it --help
Easy interface for head.
Usage
$ head-it [type]
Examples
$ head-it min
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Page Title</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.
MIT © Hemanth.HM