Skip to content

Latest commit

History

History
53 lines (33 loc) 路 1.8 KB

README.md

File metadata and controls

53 lines (33 loc) 路 1.8 KB

kirby-fest

NPM version

A collection of TypeScript types to work with Kirby, mainly in the context of the Kirby Query Language.

Setup

# pnpm
pnpm add -D kirby-fest

# npm
npm i -D kirby-fest

Basic Usage

import type { KirbyQuery } from "type-fest";

// Strictly typed query for the Kirby Query Language
const query: KirbyQuery = 'kirby.page("about")';

API

Click the type names for complete docs.

Query

Blocks

Layout

KQL

License

MIT License 漏 2022 Johann Schopplich