@zedtech/zedkit-seo 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -3
- package/package.json +20 -2
package/README.md
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
# @zedtech/zedkit-seo
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@zedtech/zedkit-seo)
|
|
4
|
+
[](https://github.com/zedtech-fr/zedkit/blob/main/LICENSE)
|
|
5
|
+
|
|
6
|
+
Ship sitemaps, robots, typed JSON-LD, metadata, hreflang, slugs and
|
|
7
|
+
llms.txt without thinking about the specs. Pure functions,
|
|
8
|
+
options-driven, no brand, no CMS. Original work by the same author.
|
|
9
|
+
|
|
10
|
+
## Install
|
|
6
11
|
|
|
7
12
|
```sh
|
|
8
13
|
pnpm add @zedtech/zedkit-seo
|
|
9
14
|
```
|
|
10
15
|
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
11
18
|
```ts
|
|
12
19
|
import { buildRobots, buildSitemapEntries } from "@zedtech/zedkit-seo";
|
|
13
20
|
|
|
@@ -19,6 +26,12 @@ export function robots() {
|
|
|
19
26
|
}
|
|
20
27
|
```
|
|
21
28
|
|
|
29
|
+
## When to use
|
|
30
|
+
|
|
31
|
+
Reach for this package when you render SEO outputs (robots, sitemaps,
|
|
32
|
+
metadata, JSON-LD) from plain data. It never talks to a CMS: pair it
|
|
33
|
+
with `@zedtech/zedkit-payload-seo` when your content lives in Payload.
|
|
34
|
+
|
|
22
35
|
Return shapes follow the Next.js Metadata API (`MetadataRoute.Robots`,
|
|
23
36
|
`MetadataRoute.Sitemap`, `Metadata`) so builders drop straight into
|
|
24
37
|
`robots.ts`, `sitemap.ts`, and `generateMetadata`. JSON-LD builders
|
package/package.json
CHANGED
|
@@ -1,11 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zedtech/zedkit-seo",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
7
7
|
},
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Ship sitemaps, robots, typed JSON-LD, metadata, hreflang, slugs and llms.txt without thinking about the specs.",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"seo",
|
|
11
|
+
"sitemap",
|
|
12
|
+
"robots-txt",
|
|
13
|
+
"json-ld",
|
|
14
|
+
"structured-data",
|
|
15
|
+
"metadata",
|
|
16
|
+
"open-graph",
|
|
17
|
+
"hreflang",
|
|
18
|
+
"llms-txt",
|
|
19
|
+
"slug",
|
|
20
|
+
"nextjs",
|
|
21
|
+
"typescript"
|
|
22
|
+
],
|
|
23
|
+
"homepage": "https://github.com/zedtech-fr/zedkit/tree/main/packages/seo",
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/zedtech-fr/zedkit/issues"
|
|
26
|
+
},
|
|
9
27
|
"license": "MIT",
|
|
10
28
|
"repository": {
|
|
11
29
|
"type": "git",
|