Skip to content

nx-js/meta-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The meta middleware

The meta middleware is responsible for handling page metadata and analytics.

  • name: meta
  • direct middleware dependencies: none
  • all middleware dependencies: none
  • type: component middleware
  • docs

Installation

npm install @nx-js/meta-middleware

Usage

const component = require('@nx-js/core')
const meta = require('@nx-js/meta-middleware')

component()
  .use(meta({
    title: 'Home page',
    description: 'The home page of my project, which is ...',
    author: 'Me',
    keywords: ['home', 'page'],
    robots: 'nofollow',
    analytics: '/home'
  }))
  .register('page-comp')
<page-comp></page-comp>

About

A middleware, responsible for handling metadata and analytics.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published