open-index/open-npm huggingface dataset:
npm package: @flyo/nitro-js
Description: Flyo Nitro JS SDK
Latest version: 1.1.5

# Flyo Nitro JavaScript SDK

```
yarn add @flyo/nitro-js
```

## Getting Started

Please follow the [installation](#installation) instruction and execute the following JS code:

```javascript
import { ApiClient, ConfigApi, PagesApi } from '@flyo/nitro-js'

var defaultClient = ApiClient.instance;
defaultClient.defaultHeaders = {}

let ApiToken = defaultClient.authentications['ApiToken'];
ApiToken.apiKey = 'YOUR API KEY';

// the config data contains all informations, including all pages to retrieve further informations like page content:
const configData = await new ConfigApi().config()

// retrieve a the content for home page
const homeData = await new PagesApi().home()

// trieve information by a certain slug
const pageData = await new PagesApi().page({slug: 'the/slug/of/the/page'})
```

## Documentation

[Read More in the Docs](https://dev.flyo.cloud/nitro/javascript)
npm package: @flyo/nitro-next
Description: Connecting Flyo Headless Content Hub into your Next.js project.
Author: Basil Suter
Latest version: 2.0.0

# @flyo/nitro-next

This directory contains the source code for the **@flyo/nitro-next** package - a Next.js integration library for connecting the Flyo Headless Content Hub into your Next.js projects.

## What's Included

- **Server Components**: Server-side rendering utilities for Flyo content
- **Client Components**: Client-side React components for interactive content
- **Proxy Utilities**: Image proxy and asset handling
- **Route Helpers**: Next.js App Router integration helpers for pages and entities

## Documentation

For complete documentation, installation instructions, and usage examples, please visit:

**https://github.com/flyocloud/nitro-next**

## Development

```bash
# Install dependencies
npm install

# Build the package
npm run build

# Run tests
npm test

# Development mode (watch)
npm run dev
```

## Package Structure

- `src/` - Source TypeScript files
- `dist/` - Built output (generated)
- `tsup.config.ts` - Build configuration
- `jest.config.js` - Test configuration