@pr0gramm/api
Type-Safe JavaScript API for pr0gramm.com. This API has the following goals:
- Type-Safety: Based on the latest OpenAPI Spec
- Small bundle size: Having most stuff in the types, not the runtime code. Avoiding runtime dependencies.
- Portability: Working in Node, Deno, Bun and the browser. BYOHC (Bring Your Own Http Client).
Work in progress, will be incorporated in the main front end (Browser) as well as used for bots (Node).
- warning -
The types (response + request) of this API are not guaranteed to be stable.
Expect breaking changes in types between non-major versions.
The package is updated automatically on a daily basis.
This API does not come with any support or guarantee. Use at your own risk.
Installation
Some commands for you to copy:
npm install @pr0gramm/api
pnpm install @pr0gramm/api
yarn add @pr0gramm/api
bun add @pr0gramm/api