Socket
Socket
Sign inDemoInstall

@hackclub/meta

Package Overview
Dependencies
3
Maintainers
7
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hackclub/meta

Generate meta tags for Hack Club pages


Version published
Maintainers
7
Weekly downloads
113
decreased by-23.13%

Weekly downloads

Readme

Source

@hackclub/meta

React component for generating Open Graph/etc meta tags for Hack Club pages. Designed for Next.js but framework-agnostic.

Not recommended for non-Hack Club sites—you’ll get Hack Club favicons :)

Usage

yarn add @hackclub/meta
# npm i @hackclub/meta

Example for hackathons.hackclub.com:

// import Head from 'next/head'

<Meta
  as={Head} // component to wrap tags in, defaults to React.Fragment
  name="Hack Club" // site name
  title="Hackathons" // page title
  description="List of upcoming high school hackathons" // page description
  image="https://hackathons.hackclub.com/card.png" // large summary image URL
  color="#ec3750" // theme color
  manifest="/site.webmanifest" // link to site manifest
/>

All props are optional. If you include multiple times, the tags from the last instance will be used.

MIT License

FAQs

Last updated on 02 Aug 2023

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