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

zephyr-api-client

v0.3.3

Published

Zephyr Server API Client: https://support.smartbear.com/zephyr-scale-server/api-docs/v1/

Readme

Zephyr Scale API Client

A TypeScript client for Zephyr Scale Cloud API v2.

Purpose

This project aims to prevent reinventing the wheel by providing a ready-to-use, well-tested API client for Zephyr Scale. No need to write your own client for every project.

Features

  • Auto-generated from OpenAPI Specification: Types and client code are generated from the official Zephyr Scale API specification
  • Type-safe: Full TypeScript support with comprehensive type definitions
  • Well-tested: unit tests for all resources
  • Always up-to-date: Automated weekly checks for API changes via GitHub Actions

Installation

npm install zephyr-api-client

Usage

import { ZephyrV2Client } from 'zephyr-api-client';

// Initialize the client
const client = new ZephyrV2Client({
  apiToken: 'your-zephyr-api-token'
});

// Get test cases
const testCases = await client.testcases.listTestCases({
  projectKey: 'YOUR_PROJECT',
  maxResults: 50
});

console.log(testCases.data.values);

// Create a folder
await client.folders.createFolder({
  projectKey: 'YOUR_PROJECT',
  name: '/folder/subfolder',
  folderType: 'TEST_CASE'
});

// Create a test case
await client.testcases.createTestCase({
  projectKey: 'YOUR_PROJECT',
  name: 'My Test Case'
});

API Token

To use this client, you need a Zephyr Scale API token:

  1. In Jira, click your profile picture
  2. Select "Zephyr API keys"
  3. Generate a new API key

For more information, see the Zephyr Scale documentation.

Available Resources

All Zephyr Scale API v2 resources are supported:

  • client.automations - Test automation executions
  • client.testcases - Test case management
  • client.testcycles - Test cycle management
  • client.testexecutions - Test execution management
  • client.testplans - Test plan management
  • client.folders - Folder management
  • client.projects - Project information
  • client.priorities - Priority management
  • client.statuses - Status management
  • client.environments - Environment management
  • client.links - Link management
  • client.issuelinks - Issue link queries
  • client.healthcheck - API health check

Development

Generate Types from OpenAPI Spec

npm run generate

This downloads the latest OpenAPI specification from Zephyr Scale and regenerates the TypeScript client code.

Run Tests

npm run test
npm run test:ci

Build

npm run build

Lint & Format

npm run lint
npm run format

License

MIT