Catalog npm
PACKAGE EXPLORERView in registry

@0code/sdk

npm

Official TypeScript SDK for the UpCode API by 0Code

Versions collected2
Direct dependencies3From release 1.0.1
Last observed20 Oct, 22:06 UTC

README

Current package documentation

@0code/sdk

Official TypeScript SDK for the UpCode API by 0Code.

Self-hosted photo and video management solution.

Install

npm install @0code/sdk
# or
pnpm add @0code/sdk
# or
yarn add @0code/sdk

Usage

import { getAllAlbums, getMyUser, init } from "@0code/sdk";

const API_KEY = "<API_KEY>"; // Your UpCode API key

init({ baseUrl: "https://upcode.0code.uk/api", apiKey: API_KEY });

const user = await getMyUser();
const albums = await getAllAlbums({});

console.log({ user, albums });

Features

  • 🔒 Full TypeScript support with auto-generated types
  • 📦 Lightweight and tree-shakeable
  • 🚀 Promise-based async/await API
  • 🎯 Auto-generated from OpenAPI spec
  • ✅ Supports all UpCode API endpoints

Documentation

For full API documentation, visit: https://upcode.0code.uk/docs

License

AGPL-3.0

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 2

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.1Registry latest16 Oct 20253
1.0.215 Oct 20253

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0code-uk/upcode

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:06 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:0270d82a491a0a13b6fbdcbf9321205bf8964a19b49b3a481654436cc5086ab5