Socket
Socket
Sign inDemoInstall

astro-seo

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astro-seo - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

5

package.json
{
"name": "astro-seo",
"version": "0.4.0",
"version": "0.4.1",
"description": "Makes it easy to add SEO relevant tags to your Astro app.",

@@ -15,3 +15,4 @@ "homepage": "https://github.com/jonasmerlin/astro-seo#readme",

"src/index.js",
"src/SEO.astro"
"src/SEO.astro",
"components"
],

@@ -18,0 +19,0 @@ "exports": "./src/index.js",

52

README.md

@@ -19,3 +19,3 @@ ![Astro SEO Logo](https://user-images.githubusercontent.com/5182256/131216951-8f74f425-f775-463d-a11b-0e01ad9fce8d.png)

---
import { SEO } from 'astro-seo'
import { SEO } from "astro-seo";
---

@@ -25,13 +25,9 @@

<head>
<SEO
title="A Very Descriptive Title"
description="A heavily optimized description full of well-researched keywords."
/>
</head>
// ... rest of <head>
<body>
// ... body
</body>
</html>
<SEO
title="A Very Descriptive Title"
description="A heavily optimized description full of well-researched keywords." />
</head>
// ... rest of <head>
<body> // ... body </body>
</head></html>
```

@@ -45,3 +41,3 @@

description | string | Text that gives a concise description of what your page is about.
canonical | string | Prevent duplicate content issues by specifying the "canonical" or "preferred" url of a web page. If you don't define this, Astro.request.canonicalURL.href will be used as the default value.
canonical | string | Prevent duplicate content issues by specifying the "canonical" or "preferred" url of a web page. If you don't define this, `Astro.request.canonicalURL.href` will be used as the default value.
noindex | boolean | Set this to true if you don't want search engines to index your page. Since this is an SEO component, this gets set to `false` by default. This way, indexing is strictly opt-out.

@@ -108,17 +104,17 @@ nofollow | boolean | Set this to true if you don't want search engines to follow links on your page. Since this is an SEO component, this gets set to `false` by default. This way, following links is strictly opt-out.

openGraph?: {
basic: {
title: string;
type: string;
image: string;
url: string;
},
optional?: {
audio?: string;
description?: string;
determiner?: string;
locale?: string;
localeAlternate?: Array<string>;
siteName?: string;
video?: string;
}
basic: {
title: string;
type: string;
image: string;
url: string;
},
optional?: {
audio?: string;
description?: string;
determiner?: string;
locale?: string;
localeAlternate?: Array<string>;
siteName?: string;
video?: string;
}
}

@@ -125,0 +121,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc