npm.io
5.0.0 • Published 2 years ago

onedionys-social-media-meta-tags-generator

Licence
ISC
Version
5.0.0
Deps
132
Size
12 kB
Vulns
0
Weekly
0
Stars
2

Welcome to One Dionys - Social Media Meta Tags Generator!

A utility to generate and add custom meta tags for sharing app content to social media platforms, increasing visibility.

Requirements

  • Web Browser - Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera].
  • Internet - Because many use CDN and to make it easier to find solutions to all problems.

How To Use

Example Syntax
const generateMetaTags = require('social-media-meta-tags-generator');

const title = 'Example Title';
const description = 'Example Description';
const image = 'example-image.jpg';

const metaTags = generateMetaTags(title, description, image);
console.log(metaTags);
Explanation
  • This package provides a function generateMetaTags(title, description, image) that generates meta tags for Open Graph (OG) and Twitter sharing. It takes three parameters: title, description, and image, and returns a string containing the meta tags.
Return Value
  • The function returns a string containing the generated meta tags.

Release Date

  • v1.0.0 : 17 March 2024
  • v1.0.1 : 18 March 2024
  • v1.0.2 : 31 March 2024
  • v5.0.0 : 31 March 2024

Author

License

  • Copyright 2024 One Dionys
  • One Dionys - Social Media Meta Tags Generator is an open source project licensed under the MIT license

Suppport & Donation

Love One Dionys - Social Media Meta Tags Generator? Support this project by donating or sharing with others in need.

Made with One Dionys

Keywords