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

@tailor-platform/sdk

v1.46.0

Published

Tailor Platform SDK - The SDK to work with Tailor Platform

Readme

Tailor Platform SDK

@tailor-platform/sdk is a TypeScript SDK for building applications on the Tailor Platform.

Overview

Tailor Platform is a headless business platform that provides backend services for building enterprise applications. The SDK enables you to:

  • Define type-safe database schemas with TailorDB
  • Create custom GraphQL resolvers with business logic
  • Set up event-driven executors for automation
  • Orchestrate complex workflows with multiple jobs
  • Configure authentication and authorization

All configurations are written in TypeScript, providing full type safety.

Important Notes

Some SDK concepts differ from the native Tailor Platform. Be aware of these differences when referring to the official Tailor Platform documentation.

Resolver

The SDK's Resolver corresponds to Tailor Platform's Pipeline Resolver. The key difference is that Pipeline steps are replaced with a single body function. See Resolver for details.

Installation

npm install @tailor-platform/sdk
# OR
yarn add @tailor-platform/sdk
# OR
pnpm add @tailor-platform/sdk
# OR
bun add @tailor-platform/sdk

Quick Start

Create a new project using the CLI:

npm create @tailor-platform/sdk -- --template hello-world my-app
cd my-app
npm run deploy -- --workspace-id <your-workspace-id>

See Available Templates for more options.

For more details, see the Quickstart Guide.

Agent Skill

Install the tailor-sdk skill from the locally installed SDK package:

npx tailor-sdk skills install

# Example: install to Codex in non-interactive mode
npx tailor-sdk skills install -a codex -y

This uses the skills CLI under the hood, sourcing the skill from node_modules/@tailor-platform/sdk/skills so the skill version always matches the installed SDK version. Files are copied (not symlinked) so they survive pnpm install wiping node_modules.

Learn More

Configuration

Services

| Service | Description | | -------------------------------------------------- | -------------------------------------------- | | TailorDB | Type-safe database schema definition | | Resolver | Custom GraphQL resolvers with business logic | | Executor | Event-driven handlers for automation | | Workflow | Job orchestration for complex operations | | Auth | Authentication and authorization | | IdP | Built-in identity provider | | Static Website | Static file hosting | | Secret Manager | Secure credential storage |

Guides

Templates

See Create Tailor Platform SDK for available project templates.

Requirements

  • Node.js 22 or later (or Bun)
  • A Tailor Platform account (request access)

Dependabot Noise

Installing @tailor-platform/sdk pulls in a few transitive advisories that are not exploitable in practice. They are listed here so you can triage reports from npm audit / pnpm audit / Dependabot without diffing our lockfile.

valibot ReDoS (GHSA-vqpr-j7v3-hqw9)

  • Why it shows up: @liam-hq/[email protected] pins [email protected], which falls in the vulnerable range (< 1.2.0).

  • Why it's safe here: @liam-hq/cli is invoked only by tailor-sdk tailordb erd export as a child process, against developer-controlled schema files. The vulnerable code path (v.emoji() on attacker-controlled strings) is never reached.

  • If you want to silence it: add an override to your project so valibot resolves to >=1.2.0. @toiroakr/lines-db declares valibot as an optional peer with range >=1.0.0, so forcing 1.2.0+ is safe.

    // pnpm (package.json)
    "pnpm": { "overrides": { "valibot": ">=1.2.0" } }
    
    // npm (package.json)
    "overrides": { "valibot": ">=1.2.0" }
    
    // yarn (package.json)
    "resolutions": { "valibot": ">=1.2.0" }

    This fix has to live in your project's package.json — overrides in a published package do not propagate to consumers.