Socket
Socket
Sign inDemoInstall

meta-setter

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meta-setter - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "meta-setter",
"version": "0.0.1",
"version": "0.0.2",
"description": "Singleton Object to dynamically update document meta tags in client side applications. WIP",

@@ -5,0 +5,0 @@ "main": "dist/meta-setter.min.js",

@@ -42,2 +42,17 @@ # MetaSetter

### updateMetaTags `MetaSetter.updateMetaTags(obj)`
Updates the document meta tags that are passed through the spec object. Typically from a model or a object literal created on the fly on 'static pages'.
```javascript
var MetaSetter = require('meta-setter');
MetaSetter.updateMetaTags({
'title': 'My Awesome Title',
'og:title': 'Open Graph Title',
'og:description': 'Open Graph Description',
... etc
});
```
### reset `MetaSetter.reset()`

@@ -44,0 +59,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc