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

@weavix/tracker-api-plugin

v0.1.6

Published

Typed Tracker API client for plugins, host-agnostic (works with any @weavix/sdk-core plugin)

Readme

@weavix/tracker-api-plugin

Typed Tracker Public API client for iframe plugins.

If you are building a Tracker plugin, you likely want @weavix/tracker-plugin-sdk instead — it bundles this package together with host API, storage, UI helpers, and Tracker types.

Installation

npm install @weavix/tracker-api-plugin @weavix/sdk-core

Quick start

import { trackerApi } from '@weavix/tracker-api-plugin';

// GET — returns { data, headers }
const { data: issue } = await trackerApi.v3.get['/issues/{id}']({
  pathParams: { id: 'QUEUE-123' },
});

// POST
const { data: newIssue } = await trackerApi.v3.post['/v2/issues']({
  bodyParams: { queue: { key: 'TASK' }, summary: 'New issue' },
});

trackerApi.v3

A typed proxy over Tracker Public API v3 endpoints. Keys are OpenAPI endpoint paths from @weavix/tracker-api-types; the IDE provides autocomplete and JSDoc.

Full endpoint reference: Tracker API Reference.

Methods

| Method | payload fields | Description | |--------|-----------------|-------------| | trackerApi.v3.get[path](payload) | pathParams?, queryParams? | GET request | | trackerApi.v3.post[path](payload) | bodyParams?, pathParams?, queryParams? | POST request | | trackerApi.v3.put[path](payload) | bodyParams?, pathParams?, queryParams? | PUT request | | trackerApi.v3.patch[path](payload) | bodyParams?, pathParams?, queryParams? | PATCH request | | trackerApi.v3.delete[path](payload) | pathParams?, queryParams? | DELETE request |

All methods return Promise<{ data: T; headers: Record<string, string> }> where T is typed per endpoint.

Examples

import { trackerApi } from '@weavix/tracker-api-plugin';

// Get issue by key
const { data: issue } = await trackerApi.v3.get['/issues/{id}']({
  pathParams: { id: 'QUEUE-123' },
  queryParams: { expand: ['COMMENTS'] },
});

// Create issue
const { data: created } = await trackerApi.v3.post['/v2/issues']({
  bodyParams: {
    queue: { key: 'QUEUE' },
    summary: 'Issue title',
  },
});

// Update issue
await trackerApi.v3.patch['/v2/issues/{id}']({
  pathParams: { id: 'QUEUE-123' },
  bodyParams: { summary: 'Updated title' },
});

// Search issues
const { data: issues } = await trackerApi.v3.post['/v2/issues/_search']({
  bodyParams: { filter: { queue: 'QUEUE' } },
});

// List queues
const { data: queues } = await trackerApi.v3.get['/v2/queues']({
  queryParams: { page: 1, perPage: 100 },
});

Types

import type {
  TrackerApi,             // Class type of trackerApi
  TrackerApiV3,           // Type of trackerApi.v3
  TrackerApiCallOptions,  // { pathParams?, queryParams?, bodyParams?, file? }
  ApiCallResult,          // { data: unknown; headers: Record<string, string> }
} from '@weavix/tracker-api-plugin';

TrackerApiCallOptions

| Field | Type | Description | |-------|------|-------------| | pathParams | Record<string, string> | URL path parameters (e.g. { id: 'QUEUE-123' }) | | queryParams | Record<string, unknown> | URL query parameters | | bodyParams | Record<string, unknown> | Request body | | file | File | File upload (for multipart endpoints) |


Related packages

| Package | Purpose | |---------|---------| | @weavix/tracker-plugin-sdk | Full Tracker plugin SDK (recommended) | | @weavix/tracker-api-types | Tracker Public API v3 OpenAPI types | | @weavix/sdk-core | Plugin bridge runtime |

License

SEE LICENSE IN LICENSE