An open API service indexing awesome lists of open source software.

https://github.com/rowana-ai/rowana-core

control how ai sees your brand
https://github.com/rowana-ai/rowana-core

geo json-ld llmo llms npm seo structured-data

Last synced: 2 months ago
JSON representation

control how ai sees your brand

Awesome Lists containing this project

README

          

# @rowana-ai/rowana-core

Stay tuned :)

Core package for Rowana GEO - Automates JSON-LD generation during build time.

## Installation

Install the package using npm:

```bash
npm install @rowana/rowana-core
```

Or using yarn:

```bash
yarn add @rowana/rowana-core
```

## Usage

Import the `generateJsonLd` function and use it to create your JSON-LD strings.

```typescript
import { generateJsonLd } from '@rowana/rowana-core';

// Example data (replace with your actual data structure)
const myData = {
pageTitle: "My Awesome Page",
description: "This page is truly awesome."
};

const jsonLdString = generateJsonLd(myData);

console.log(jsonLdString);
// Output (currently placeholder): {"@context":"https://schema.org","@type":"WebPage","name":"Placeholder"}

// You can then inject this string into a tag in your HTML.
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.