@rankmyseo/server 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.
Files changed (2) hide show
  1. package/README.md +33 -0
  2. package/package.json +23 -4
package/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # @rankmyseo/server
2
+
3
+ Framework-agnostic HTTP handler for [RankMySEO](https://github.com/madebyaris/rankmyseo), built on Web-standard `Request`/`Response`. Exposes the full dashboard API plus site features (live scan, meta generator, blog, sitemap, `llms.txt`, markdown negotiation). Server-only.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm i @rankmyseo/server @rankmyseo/core @rankmyseo/storage
9
+ ```
10
+
11
+ Prefer a framework adapter where available (e.g. [`@rankmyseo/server-hono`](https://www.npmjs.com/package/@rankmyseo/server-hono)).
12
+
13
+ ## Usage
14
+
15
+ ```ts
16
+ import { createHandler } from "@rankmyseo/server";
17
+ import { createStore } from "@rankmyseo/storage";
18
+
19
+ const store = createStore("sqlite:///path/to/db.sqlite");
20
+ const handler = createHandler(store /*, { config, agentModel } */);
21
+
22
+ // handler(request: Request): Promise<Response>
23
+ ```
24
+
25
+ All routes are scoped by `x-tenant-id` and `x-project-id` headers.
26
+
27
+ ## Documentation
28
+
29
+ See the [Wiki → API Reference](https://github.com/madebyaris/rankmyseo/wiki/API-Reference).
30
+
31
+ ## License
32
+
33
+ Apache-2.0
package/package.json CHANGED
@@ -1,9 +1,28 @@
1
1
  {
2
2
  "name": "@rankmyseo/server",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "description": "Framework-agnostic RankMySEO HTTP handler",
6
6
  "license": "Apache-2.0",
7
+ "homepage": "https://github.com/madebyaris/rankmyseo#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/madebyaris/rankmyseo.git",
11
+ "directory": "packages/server"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/madebyaris/rankmyseo/issues"
15
+ },
16
+ "keywords": [
17
+ "seo",
18
+ "http",
19
+ "api",
20
+ "web-standard",
21
+ "rankmyseo"
22
+ ],
23
+ "engines": {
24
+ "node": ">=20"
25
+ },
7
26
  "exports": {
8
27
  ".": {
9
28
  "import": {
@@ -21,8 +40,8 @@
21
40
  ],
22
41
  "dependencies": {
23
42
  "server-only": "^0.0.1",
24
- "@rankmyseo/agent": "0.1.0",
25
- "@rankmyseo/core": "0.1.0"
43
+ "@rankmyseo/core": "0.1.1",
44
+ "@rankmyseo/agent": "0.1.1"
26
45
  },
27
46
  "devDependencies": {
28
47
  "@types/node": "^24.10.1",
@@ -31,7 +50,7 @@
31
50
  "typescript": "^5.9.3",
32
51
  "vitest": "^3.2.4",
33
52
  "publint": "^0.3.15",
34
- "@rankmyseo/storage": "0.1.0"
53
+ "@rankmyseo/storage": "0.1.1"
35
54
  },
36
55
  "publishConfig": {
37
56
  "access": "public"