Socket
Socket
Sign inDemoInstall

react-head-meta

Package Overview
Dependencies
3
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-head-meta

A simple library for changing page meta tags.


Version published
Weekly downloads
6
increased by500%
Maintainers
1
Install size
5.46 kB
Created
Weekly downloads
 

Readme

Source

react-head-meta

npm

A simple library for changing page meta tags.

Installation

To install, you can use npm or yarn:

npm install react-head-meta

or

yarn add react-head-meta

Usage

The library is very easy to use, even a child can handle it!

The library has only 2 components responsible for meta tags.

Basic Example

import { Title, Description } from "react-head-meta";

function App() {
	return (
		<div>
			<Title title="Home page | MyApp" />
			<Description description="Home page of my new app" />
			<h1>Home page</h1>
		</div>
	);
}

Props and Types

Title:

PropType
titlestring

Description:

PropType
descriptionstring

License

MIT

Keywords

FAQs

Last updated on 10 Jul 2022

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