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-plugin-seed

v0.1.1

Published

Tailor CLI plugin providing the `tailor seed` commands (TailorDB and IdP seed data)

Downloads

1,049

Readme

@tailor-platform/sdk-plugin-seed

Tailor CLI plugin that provides the tailor seed commands: seed TailorDB (and IdP _User) data from JSONL files generated by seedPlugin, and validate that data against the generated schemas.

[!NOTE] This package is a CLI plugin: it ships an external tailor-seed executable that the Tailor CLI dispatches to when you run tailor seed. Keep seedPlugin from @tailor-platform/sdk/plugin/seed in definePlugins() — it generates the seed data and schema files this plugin consumes.

Installation

Install it next to @tailor-platform/sdk in your project:

npm install -D @tailor-platform/sdk-plugin-seed@next

The Tailor CLI discovers the plugin automatically from node_modules/.bin (or your PATH). Run tailor plugin list to confirm it resolves.

Usage

# Seed everything (TailorDB types, then IdP _User)
tailor seed apply

# Truncate target tables first, without a confirmation prompt
tailor seed apply --truncate --yes

# Seed a single TailorDB namespace (excludes _User)
tailor seed apply --namespace my-db

# Seed specific types only
tailor seed apply User Order

# Validate JSONL seed data against the generated schemas
tailor seed validate
tailor seed validate ./seed/data/User.jsonl

# Update existing rows (matched by id, or by name for _User) instead of failing on duplicates
tailor seed apply --upsert

Without --upsert, a row whose id already exists in a target table fails the seed run. With --upsert, every row must supply an id (and any field the type requires), and a matching row is updated in place instead. Because the update goes through the same write path as any other update, it runs update hooks and validation and updates fields such as updatedAt, and it publishes a record-updated event — so an executor using recordUpdatedTrigger fires for each existing row that gets updated.

The machine user used for seeding comes from --machine-user or the machineUserName seedPlugin option:

definePlugins(
  seedPlugin({
    distPath: "./seed",
    machineUserName: "admin-machine-user",
  }),
);

Run tailor seed <command> --help for the full option reference.