Skip to content

mbsh-code/seo-manager-pro

Repository files navigation

SEO Manager Pro

NPM Version

A powerful SEO Manager for Angular, React, Vue, and Vanilla JS projects.
Easily set meta tags, Open Graph tags, Schema.org structured data, canonical URLs, robots meta, and more!


Installation

npm install seo-manager-pro

or

yarn add seo-manager-pro

Usage

import { SeoManagerPro } from 'seo-manager-pro';

SeoManagerPro.updateSeo({
  title: 'Home Page',
  description: 'Welcome to the best site!',
  image: 'https://example.com/image.jpg',
  canonicalUrl: 'https://example.com/home',
  robots: 'index,follow',
  schema: [
    {
      type: 'Product',
      data: {
        name: 'iPhone 15',
        description: 'The best smartphone ever.',
        image: 'https://example.com/iphone.jpg',
        price: 999,
        priceCurrency: 'USD'
      }
    },
    {
      type: 'FAQPage',
      data: {
        mainEntity: [
          {
            '@type': 'Question',
            name: 'Is it waterproof?',
            acceptedAnswer: {
              '@type': 'Answer',
              text: 'Yes, it has IP68 rating.'
            }
          }
        ]
      }
    }
  ],
  customMetaTags: [
    { name: 'author', content: 'BestShop' },
    { name: 'keywords', content: 'iphone, smartphone, apple' }
  ]
});

Supported Schema Types

Type Description
Product For product pages
FAQPage For FAQ sections
Article For blog or news articles

🔗 Live Demos

Want to see how seo-manager-pro works in real projects?

➡️ See all demos on GitHub

Includes:

  • ✅ Angular Demo
  • ✅ React Demo
  • ✅ Vanilla JavaScript Demo

License

MIT

Features
 SEO Meta Tags
 Open Graph Tags
 Canonical Link Management
 Robots Meta Tag
 Dynamic Schema.org Injection
 Works with Angular, React, Vue, and Vanilla JS
 CommonJS and ESM Compatible
 Lightweight and Blazing Fast

About

seo-manager-pro

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published