npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vennyx/soliagile-sdk

v0.1.0

Published

Typed TypeScript client for the SoliAgile REST API (teams, issues, workflow states, labels, comments, projects) — tenant-scoped API key auth, cursor pagination iterators.

Downloads

47

Readme

@vennyx/soliagile-sdk

Typed TypeScript client for the SoliAgile REST API — teams, issues, workflow states (board columns), labels, comments, and projects. Zero runtime dependencies, built on native fetch (Node 18+, Node 24+ needs no polyfill).

Install

npm install @vennyx/soliagile-sdk

Authentication

SoliAgile uses tenant-scoped API keys for programmatic access. Create one from your tenant settings (owner/admin role, requires a Business plan or above):

POST /api/v1/tenants/:id/api-keys
Authorization: Bearer <your Zitadel JWT>
Content-Type: application/json

{ "name": "CI pipeline" }

The response includes a plaintextKey field that starts with sa_this is shown only once. Store it securely (e.g. as a SOLIAGILE_API_KEY secret); the server only ever keeps a hash of it.

Usage

import { SoliAgileClient } from '@vennyx/soliagile-sdk';

const client = new SoliAgileClient({
  apiKey: process.env.SOLIAGILE_API_KEY!,
  // baseUrl defaults to https://api.soliagile.com/api/v1 — override for
  // self-hosted deployments:
  // baseUrl: 'https://api.your-domain.com/api/v1',
});

// Fetch a single page.
const { items, hasNextPage, endCursor } = await client.issues.list({
  teamId: 'team-id',
  stateType: 'started',
  first: 20,
});

// Or iterate every page transparently with an async generator.
for await (const issue of client.issues.iterate({ teamId: 'team-id' })) {
  console.log(issue.identifier, issue.title);
}

// Create / update / move issues.
const issue = await client.issues.create({ teamId: 'team-id', title: 'Fix login bug' });
await client.issues.update(issue.id, { priority: 1 });
await client.issues.move(issue.id, { workflowStateId: 'done-state-id' });

// Teams, workflow states, labels, comments, projects.
const teams = await client.teams.list();
const board = await client.issues.board(teams.items[0]!.id);
await client.comments.create(issue.id, 'Looking into this now.');

// Who am I / which tenants can this key see?
const me = await client.me.get();

Cursor pagination

Every list endpoint returns a CursorPage<T> ({ items, endCursor, hasNextPage }). Each resource also exposes an iterate() method that wraps the exported paginate() helper and walks every page for you:

import { paginate } from '@vennyx/soliagile-sdk';

for await (const team of paginate((q) => client.teams.list(q), { q: 'eng' })) {
  console.log(team.key);
}

Error handling

All non-2xx responses throw a typed subclass of SoliAgileApiError:

import { SoliAgileAuthError, SoliAgileForbiddenError, SoliAgileNotFoundError, SoliAgileRateLimitError, SoliAgileValidationError } from '@vennyx/soliagile-sdk';

try {
  await client.issues.get('does-not-exist');
} catch (error) {
  if (error instanceof SoliAgileNotFoundError) {
    // 404
  } else if (error instanceof SoliAgileAuthError) {
    // 401 — invalid or revoked API key
  } else if (error instanceof SoliAgileForbiddenError) {
    // 403 — e.g. the tenant's plan no longer includes API access
  } else if (error instanceof SoliAgileRateLimitError) {
    console.log('retry after (ms):', error.retryAfterMs);
  } else if (error instanceof SoliAgileValidationError) {
    console.log(error.errors);
  }
  throw error;
}

Custom fetch

The client uses the global fetch by default. Inject your own implementation (useful for testing, or on Node <18):

const client = new SoliAgileClient({
  apiKey: process.env.SOLIAGILE_API_KEY!,
  fetch: myFetchImplementation,
});

Resources

| Resource | Methods | | ------------------------ | ------------------------------------------------------------------------ | | client.teams | list, iterate, get, create, update, archive | | client.workflowStates | list, create, update, reorder, delete | | client.issues | list, iterate, get, create, update, move, archive, board | | client.labels | list, iterate, get, create, update, delete, addToIssue, removeFromIssue | | client.comments | list, iterate, create, update, delete | | client.projects | list, iterate, get, getProgress, create, update, delete | | client.me | get |

See @vennyx/soliagile-mcp if you want to expose these resources as MCP tools to an AI agent (Claude, Codex, etc.) instead of calling the SDK directly.

License

MIT