bmeta
v1.1.4
Published
HTML meta tag access
Readme
bmeta
HTML meta tag access
Installation
$ npm install bmeta --saveUsage
'use strict'
const { canonical } = require('bmeta')
// Get canonical path
console.log(canonical())
// Set canonical path
canonical.set('/cars/1/wheels')
Functions
Available functions
| Signature | Description |
| ---- | ----------- |
| canonical(href) | Set canonical path |
| ogp(values) | Set OGP settings |
| title(titleText) | Set title |
| twitter(values) | Set twitter card settings |
License
This software is released under the MIT License.
