bmeta

1.1.4 • Public • Published

bmeta

Build Status Code Climate Code Coverage npm Version JS Standard

HTML meta tag access

Installation

$ npm install bmeta --save

Usage

'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.

Links

Readme

Keywords

none

Package Sidebar

Install

npm i bmeta

Weekly Downloads

4

Version

1.1.4

License

MIT

Last publish

Collaborators

  • okunishinishi