Skip to content

SideStore/sidestore-source-types

Repository files navigation

sidestore-source-types

npm pages-build-deployment

Fully documented type defintions for SideStore's source format. Based on source.md

Web docs are available at sidestore-source-types.

Changelog is available at CHANGELOG.md.

Alt

Usage in normal JSON

We have a JSON schema available at schema.json.

You can use it like this for editor autocomplete and documentation:

{
    "$schema": "https://github.com/SideStore/sidestore-source-types/raw/main/schema.json",
    "name": "Your Source"
}

Usage in TypeScript

Installing

# NPM:
npm i -D sidestore-source-types`

# Yarn:
yarn add -D sidestore-source-types

# PNPM:
pnpm i -D sidestore-source-types

Usage

You should be able to import the types like this:

import type { Source } from "sidestore-source-types";

Available imports:

Usage Example

See test/index.ts

About

Fully documented type defintions for SideStore's source format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published