Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ Framework-agnostic programmatic SEO engine for SPAs and component frameworks.
## Install

```bash
bun add @expert-vision-software/programmatic-seo
bun add programmatic-seo-sdk
```

ESM-only, TypeScript declarations included, Node 22+.

## Quickstart

```ts
import {SeoService} from "@expert-vision-software/programmatic-seo";
import {SeoService} from "programmatic-seo-sdk";

const seo = new SeoService();

Expand Down Expand Up @@ -71,7 +71,7 @@ a logger bridge, an initialization AppTask, and a navigation-event handler.

```ts
import {DI} from "aurelia";
import {SeoService} from "@expert-vision-software/programmatic-seo";
import {SeoService} from "programmatic-seo-sdk";

export const ISeoService = DI.createInterface<ISeoService>(
"ISeoService",
Expand All @@ -86,7 +86,7 @@ Register and initialize in an `AppTask`, bridging Aurelia's `ILogger` over the p
```ts
import {AppTask, ILogger} from "aurelia";
import {ISeoService} from "./seo-service.di";
import type {SeoLogger} from "@expert-vision-software/programmatic-seo";
import type {SeoLogger} from "programmatic-seo-sdk";
import {HomeBreadcrumbItem} from "./constants/breadcrumbs";

export const initializeSeo: IRegistry = {
Expand Down Expand Up @@ -128,7 +128,7 @@ public attached(): void {

```tsx
import {useEffect, useMemo} from "react";
import type {ISeoPage} from "@expert-vision-software/programmatic-seo";
import type {ISeoPage} from "programmatic-seo-sdk";

function useSeo(spec: ISeoPage) {
useEffect(() => {
Expand Down Expand Up @@ -158,7 +158,7 @@ function Article({post}: {post: Post}) {

```ts
import {watch} from "vue";
import type {ISeoPage} from "@expert-vision-software/programmatic-seo";
import type {ISeoPage} from "programmatic-seo-sdk";

export function useSeo(spec: Ref<ISeoPage>) {
watch(spec, v => seo.emit(v), {deep: true});
Expand All @@ -173,7 +173,7 @@ on mount, or a server-side renderer can pass the same `ISeoPage` shape down:
```tsx
"use client";
import {useEffect} from "react";
import type {ISeoPage} from "@expert-vision-software/programmatic-seo";
import type {ISeoPage} from "programmatic-seo-sdk";

export function SeoHead({spec}: {spec: ISeoPage}) {
useEffect(() => {
Expand All @@ -189,7 +189,7 @@ The package never logs through a framework; it calls the `SeoLogger` seam suppli
config `logger` field. Bridge your framework logger over it:

```ts
import type {SeoLogger} from "@expert-vision-software/programmatic-seo";
import type {SeoLogger} from "programmatic-seo-sdk";

const seoLogger: SeoLogger = {
debug: (msg, ...args) => frameworkLogger.debug(msg, args),
Expand Down Expand Up @@ -275,7 +275,7 @@ Pre-release: the engine is being extracted behavior-identically from

- Normative spec: [#1](https://github.com/Expert-Vision-Software/programmatic-seo/issues/1)
- First publish: [#9](https://github.com/Expert-Vision-Software/programmatic-seo/issues/9) —
npm **`@expert-vision-software/programmatic-seo`** (v0.1.0)
npm **`programmatic-seo-sdk`** (v0.1.0)

## Extraction plan

Expand Down
2 changes: 1 addition & 1 deletion bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/API.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# API reference

Full public surface of `@expert-vision-software/programmatic-seo` (exported from
Full public surface of `programmatic-seo-sdk` (exported from
`src/index.ts`).

Adapted from the upstream reference document
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@expert-vision-software/programmatic-seo",
"name": "programmatic-seo-sdk",
"version": "0.1.0",
"description": "Framework-agnostic programmatic SEO engine: declarative page specs, chainable builders, managed JSON-LD @graph, and head rendering.",
"type": "module",
Expand Down
Loading