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

@playbookmedia/backend-client-sdk

v1.26.2-patch-3

Published

Vector Backend SDK for interacting with the Vector API

Readme

Vector TypeScript Client SDK

npm package Build Status Downloads Issues Code Coverage Semantic Release

Official TypeScript SDK for Vector's Backend Services

Overview

This package provides a modern, type-safe TypeScript client for interacting with Vector's backend services. Built with TypeScript and following best practices, it offers a seamless integration experience with comprehensive type definitions and Promise-based APIs.

Features

  • 🔒 Type Safety: Full TypeScript support with comprehensive type definitions
  • 🚀 Modern Architecture: Promise-based API with async/await support
  • 🛡️ Error Handling: Built-in error handling and retry mechanisms
  • 📦 Zero Dependencies: Minimal production dependencies
  • 🔄 Automatic Retries: Smart retry logic for failed requests
  • 📚 Rich Documentation: Extensive documentation and examples
  • IDE Support: Great IDE integration with TypeScript

Installation

# Using npm
npm install @playbookmedia/backend-typescript-sdk

# Using yarn
yarn add @playbookmedia/backend-typescript-sdk

# Using pnpm
pnpm add @playbookmedia/backend-typescript-sdk

Quick Start

import { VectorClient } from '@playbookmedia/backend-typescript-sdk';

// Initialize the client
const client = new VectorClient({
  apiKey: 'your-api-key',
  environment: 'production' // or 'staging'
});

// Example: Using the client
async function example() {
  try {
    // Make API calls
    const response = await client.someEndpoint({
      // request parameters
    });
    
    console.log('Response:', response);
  } catch (error) {
    if (error instanceof VectorAPIError) {
      console.error('API Error:', error.message);
      console.error('Status:', error.status);
      console.error('Code:', error.code);
    } else {
      console.error('Unexpected error:', error);
    }
  }
}

API Reference

Client Configuration

interface VectorClientConfig {
  apiKey: string;
  environment?: 'production' | 'staging';
  timeout?: number;
  retryConfig?: {
    maxRetries: number;
    initialDelayMs: number;
  };
}

Available Methods

  • client.method1(): Description of method 1
  • client.method2(): Description of method 2
  • More methods documented in our API Reference

Development

Prerequisites

  • Node.js >= 12.0
  • npm or yarn

Setup

  1. Clone the repository:

    git clone https://github.com/VectorEngineering/thinkthank-backend.git
    cd thinkthank-backend/sdk/client/client-typescript-sdk
  2. Install dependencies:

    npm install

Available Scripts

  • npm run build - Builds the package using TypeScript
  • npm run clean - Removes build artifacts
  • npm run test - Runs tests with Jest
  • npm run lint - Lints code using ESLint
  • npm run format - Formats code using Prettier
  • npm run typecheck - Runs TypeScript type checking
  • npm run semantic-release - Handles semantic versioning and releases

Testing

# Run all tests
npm test

# Run tests in watch mode
npm run test:watch

# Generate coverage report
npm run test:coverage

Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create your feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: npm run cm (uses Commitizen)
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a Pull Request

Support

License

MIT © [Vector Engineering]