JSPM

@lydio/meta-tags

3.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16
  • Score
    100M100P100Q77856F

Metadata and social meta tag generator node for Lydio

Package Exports

  • @lydio/meta-tags
  • @lydio/meta-tags/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@lydio/meta-tags) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@lydio/meta-tags

Canonical URL:
https://alexstevovich.com/a/lydio-meta-tags-nodejs

Software URL:
https://midnightcitylights.com/software/lydio-meta-tags-nodejs

Metadata and social meta tag generator for Lydio.

@lydio/meta-tags creates a complete <head> metadata block,
including standard meta tags, Open Graph properties, and Twitter cards.
It’s ideal for generating SEO-ready pages within Lydio pipelines.


Installation

npm install @lydio/meta-tags

Example

import MetaTags from '@lydio/meta-tags';

const meta = new MetaTags();

meta.withTitle('Midnight Citylights');
meta.withDescription(
    'Independent software studio and creative systems developer.',
);
meta.withCanonical('https://midnightcitylights.com');

console.log(meta.toHtml());
/*
<title>Midnight Citylights</title>
<link rel="canonical" href="https://midnightcitylights.com">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="index, follow">
<meta name="description" content="Independent software studio and creative systems developer.">
<meta name="theme-color" content="">
<meta property="og:type" content="">
<meta property="og:url" content="https://midnightcitylights.com">
<meta property="og:locale" content="">
<meta property="og:site_name" content="">
<meta property="og:title" content="Midnight Citylights">
<meta property="og:description" content="Independent software studio and creative systems developer.">
<meta property="og:image" content="">
<meta property="og:image:width" content="">
<meta property="og:image:height" content="">
<meta name="twitter:card" content="">
<meta name="twitter:site" content="">
<meta name="twitter:creator" content="">
<meta name="twitter:title" content="Midnight Citylights">
<meta name="twitter:description" content="Independent software studio and creative systems developer.">
<meta name="twitter:image" content="">
*/

Features

  • Includes standard, Open Graph, and Twitter meta tags.
  • Provides helper setters for title, description, and canonical URL.
  • Automatically synchronizes values between Open Graph and Twitter tags.
  • Built for direct use within any section.

License

Licensed under the Apache License 2.0.

Trademark

“Lydio” and related marks are trademarks of Alex Stevovich.

See TRADEMARK.md for details.