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

vtseditor

v1.0.5

Published

VTS Editor

Readme

VTS & VTS-Editor

Discord Ask DeepWiki Node Version TypeScript Version

📦 VTS — Type-Safe Data Validation in TypeScript

🧰 Key Features

  • ✅ Simple validators like isString(), isFunction(), etc.
  • 🧠 Strict type guards for maximum safety and reliability.
  • 🧱 Composable schema classes for defining structured, reusable validation logic.
  • 💡 Built with TypeScript types in mind — works seamlessly with typeof, instanceof, and conditional typing.

Read more by VTS project: https://github.com/OpenSourcePKG/vts

🎨 VTS-Editor

The VTS Editor is a graphical tool for building and managing VTS schemas visually. It provides a drag-and-drop interface where developers can create, modify, and connect schema definitions without writing raw code.

With the editor, you can:

  • 📄 Define new schema types with fields and inheritance.
  • 🔗 Create references between schemas (e.g. nested types or extensions).
  • 💾 Export/import schemas as JSON
  • 🔍 Get an overview of schema structure and dependencies at a glance.
  • ⚙️ Automatically generate TypeScript schema and type files
  • ✅ Drag and Drop
  • 🧠 AI Provider support

This is especially useful for large projects, team collaboration, or when sharing schema definitions with non-developers.

Screenshots

Schema in use

Schema with Extend

Schema edit

Schema field edit

AI Schema create

Output

The schemas are generated in Typescript and the result is the schema/enum and the type:

// Import section - automatically generated
import {ExtractSchemaResultType, Vts} from 'vts';
import {SchemaName1, SchemaName2} from './relative/path.js';
import {ExternalSchema} from 'external-package';

// Enum definitions (if present)
export enum StatusEnum {
    'active' = 'active',
    'inactive' = 'inactive',
}

// Schema definitions
export const UserSchema = Vts.object({
    id: Vts.string({description: 'User identifier'}),
    status: Vts.enum(StatusEnum),
    profile: ProfileSchema,
}, {
    description: 'User entity schema',
    objectSchema: {
        ignoreAdditionalItems: true
    }
});

// TypeScript type definitions (optional)
export type User = ExtractSchemaResultType<typeof UserSchema>;

Install

  1. install the vts editor

    Github

    a) for your project:

    npm install --save-dev git+https://github.com/stefanwerfling/vtseditor.git

    b) or for global:

    npm install -g git+https://github.com/stefanwerfling/vtseditor.git
    npm

    a) for your project:

    npm install --save-dev vtseditor

    b) or for global:

    npm install -g vtseditor
  2. create your config vtseditor.json example:

    {
      "projects": [
        {
          "schemaPath": "./schemas/schema.json",
          "code": {
            "schemaPrefix": "Schema",
            "createTypes": true,
            "createIndex": true,
            "codeComment": true,
            "codeIndent": "    "
          },
          "autoGenerate": false,
          "destinationPath": "./schemas/src",
          "destinationClear": false,
          "scripts": {
            "before_generate": [],
            "after_generate": [
              {
                "path": "./schemas",
                "script": "npm run compile"
              }
            ]
          }
        }
      ],
      "server": {
        "port": 5173
      },
      "browser": {
        "open": true
      }
    }

    Read more by Config-Description.

  3. start the vts editor

    npx vtseditor
  4. open the vts editor in your browser: http://localhost:5173

  5. create your schemas, have fun

🧠 Configuring AI Providers in VTS Editor

The VTS Editor can connect to different AI providers to help you generate or refine your schemas 🚀.
Currently supported providers are:

  • Gemini (Google AI Studio)
  • LocalAI (self-hosted)
  • OpenAI

Read more by Config-AI-Description.

🛠️ Contributing

Contributions welcome! Feel free to submit issues, suggestions, or pull requests.

Supported by

Special thanks to the following companys:

Contributors

Special thanks to the following contributors: