Socket
Socket
Sign inDemoInstall

swup-meta-tags-plugin

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

swup-meta-tags-plugin

Update meta tags in head on swup page change


Version published
Maintainers
1
Weekly downloads
10

Weekly downloads

Readme

Source

Swup Meta Tags Plugin

This is a plugin for swup - complete, flexible, extensible and easy to use page transition library for your web. On a page change, this plugin remove existing meta tags and some link tags and adds those from the new page.

Instalation

This plugin can be installed with npm

npm install swup-meta-tags-plugin

and included with import

import SwupMetaTagsPlugin from 'swup-meta-tags-plugin';

or included from the dist folder

<script src="./dist/SwupMetaTagsPlugin.js"></script>

Usage

To run this plugin, include an instance in the swup options.

const swup = new Swup({
  plugins: [new SwupMetaTagsPlugin()]
});

FAQs

Last updated on 28 Jul 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc