Skip to main content

Documentation Index

Fetch the complete documentation index at: https://code.storage/docs/llms.txt

Use this file to discover all available pages before exploring further.

// List all tags
const tags = await repo.listTags();
console.log(tags.tags); // Array of tag info

// With pagination
const page = await repo.listTags({
  limit: 10,
  cursor: tags.nextCursor,
});

Options

limit
number
Maximum tags per page
cursor
string
Pagination cursor from a previous response

Response

tags
array
List of tag info objects, each containing name, sha, and cursor
nextCursor
string
Cursor for the next page (absent when no more results)
hasMore
boolean
Whether additional pages of results are available