Catalog npm
Back to packageRELEASE DETAILS

1.0.1

npm

@0code/sdk

Official TypeScript SDK for the UpCode API by 0Code

Published16 Oct 2025
Direct dependencies3
Transitive dependenciesNot calculated

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.

Declared dependencies 3

Native requirements
3 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@oazapfts/runtime
Environment
{
  "local_name": "@oazapfts/runtime",
  "alias": false,
  "peer_metadata": null
}
^1.0.2runtime
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^22.18.8development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.3.3development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-9RBRll57DrFczJaFtJqh2fp8tAHt7ObyJ4IdJ+mB5YZjx65fgQAS2rAmA7p8lSVa36X2x/uLF3zvFDz3r+IjAg==",
  "shasum": "5b4c6f2c9ffc0ca894fdd4cf10590d937d1e430f",
  "tarball": "https://registry.npmjs.org/@0code/sdk/-/sdk-1.0.1.tgz",
  "fileCount": 10,
  "unpackedSize": 186714,
  "signatures": [
    {
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
      "sig": "MEYCIQCjD4WskJyxJ3zhM8/a+cbZe4JgfWtUfN3Ymj+bS0k0eAIhAJO15rXsl2mLj7j//Lz2NpGN+4D7D7pv02bCOierjFQF"
    }
  ]
}

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_version:782eb6de0c7fc228f859ea7d8ddc96d07a8a2fd30cbc87229cedf129306df664

Other collected versions

1.0.215 OctView all collected versions →