This tiny library provides some functions for managing meta tag in your HTML document
npm install --save metaset
import Metaset from 'metaset'
const metaset = new Metaset();
// Set title
metaset.setTitle('The title');
// Get title
metaset.getTitle(); //The title
// Set meta tag description
metaset.setMetaName('description', 'A description...');
// Get metatag description
metaset.getMetaName('description'); //A description...
// Set OG meta tag
metaset.setMetaProperty('og:description', 'A description...');
// Get OG meta tag
metaset.getMetaProperty('og:description'); //A description...
You can view the changelog here
Metaset is open-sourced software licensed under the MIT license