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

@objectstack/plugin-dev

v3.2.6

Published

Development Mode Plugin for ObjectStack — auto-enables all services with in-memory implementations

Readme

@objectstack/plugin-dev

Development Mode Plugin for ObjectStack — auto-enables all 17+ kernel services for a full-featured API development environment.

Overview

Instead of manually wiring up ObjectQL, drivers, auth, HTTP server, REST endpoints, dispatcher, security, and metadata for local development, use DevPlugin to get a fully functional stack in one line.

The dev environment simulates all kernel services so you can:

  • CRUD business objects via REST API
  • Read, modify, and save views/apps/dashboards via metadata API (PUT /api/v1/meta/:type/:name)
  • Use GraphQL, analytics, storage, and automation endpoints
  • Authenticate with dev credentials (no real auth provider needed)
  • Test UI permissions, workflows, and notifications with dev stubs

Usage

Zero-config

import { defineStack } from '@objectstack/spec';
import { DevPlugin } from '@objectstack/plugin-dev';

export default defineStack({
  manifest: {
    id: 'com.example.myapp',
    name: 'My App',
    version: '0.1.0',
    type: 'app',
  },
  plugins: [new DevPlugin()],
});

Full-stack dev with project metadata

import config from './objectstack.config';
import { DevPlugin } from '@objectstack/plugin-dev';

// Load all project metadata (objects, views, etc.) into the dev server
export default defineStack({
  ...config,
  plugins: [new DevPlugin({ stack: config })],
});

With options

plugins: [
  new DevPlugin({
    port: 4000,
    seedAdminUser: true,
    services: {
      auth: false,        // Skip auth for quick prototyping
      dispatcher: false,  // Skip extended API routes
    },
  }),
]

What it auto-configures

Real plugin implementations

| Service | Package | Description | |---------|---------|-------------| | ObjectQL | @objectstack/objectql | Data engine (query, CRUD, hooks, metadata) | | InMemoryDriver | @objectstack/driver-memory | In-memory database (no DB install) | | App/Metadata | @objectstack/runtime | Project metadata (objects, views, apps, dashboards) | | Auth | @objectstack/plugin-auth | Authentication with dev credentials | | Security | @objectstack/plugin-security | RBAC, RLS, field-level masking | | Hono Server | @objectstack/plugin-hono-server | HTTP server on configured port | | REST API | @objectstack/rest | Auto-generated CRUD + metadata endpoints | | Dispatcher | @objectstack/runtime | Auth routes, GraphQL, analytics, packages, storage |

Dev stubs (in-memory / no-op)

Any core kernel service not provided by a real plugin is automatically registered as a dev stub. This ensures the full kernel service map is populated and features like UI permissions, automation, etc. don't crash:

cache, queue, job, file-storage, search, automation, graphql, analytics, realtime, notification, ai, i18n, ui, workflow, security.permissions, security.rls, security.fieldMasker

All services are optional — if a peer package isn't installed, it is silently skipped and a stub takes its place.

API Endpoints (when all services enabled)

| Endpoint | Description | |----------|-------------| | GET /api/v1/data/:object | List records | | POST /api/v1/data/:object | Create record | | GET /api/v1/data/:object/:id | Get record | | PUT /api/v1/data/:object/:id | Update record | | DELETE /api/v1/data/:object/:id | Delete record | | GET /api/v1/meta | List metadata types | | GET /api/v1/meta/:type | List metadata of type | | GET /api/v1/meta/:type/:name | Get metadata item | | PUT /api/v1/meta/:type/:name | Save metadata item | | POST /api/v1/graphql | GraphQL endpoint | | GET /.well-known/objectstack | Service discovery |

Options

| Option | Type | Default | Description | |--------|------|---------|-------------| | port | number | 3000 | HTTP server port | | seedAdminUser | boolean | true | Create [email protected] on startup | | authSecret | string | dev default | JWT secret for auth sessions | | authBaseUrl | string | http://localhost:{port} | Auth callback URL | | verbose | boolean | true | Enable verbose logging | | services | Record<string, boolean> | all true | Enable/disable individual services | | extraPlugins | Plugin[] | [] | Additional plugins to load | | stack | object | — | Stack definition to load as project metadata |

License

Apache-2.0