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

seishiro

v0.2.4-release

Published

The Centralized API Orchestrator for Modern Web Applications.

Downloads

149

Readme

Seishiro API

[!CAUTION] This library is currently in development. Although several stable versions have been released, it is not yet ready for production use. Please review its usage carefully. At this time, it only supports the Next.js, Express.js, and Nova.js frameworks.

Thank you for using this library. If you encounter any issues, please report them so we can address them in the development version.

Seishiro eliminates the complexity of routing folder structures and replaces them with a single control center. Just use one endpoint, manage it through the Registry, and control your entire application data flow (Web, Mobile, and SSR) with consistent standards.

Features

  • Centralized Registry: Manage all your application logic in one place.
  • Built-in Policy: Control versioning and access rules with ease.
  • Smart Messaging: Multi-language support with dynamic variables.
  • Protocol Agnostic: Works seamlessly with REST APIs, Server Actions (Next.js), and SSR.
  • Secure by Default: Registry list encryption using AES-256-CTR.

Installation

To get started with Seishiro, install it via your favorite package manager:

# npm
npm install seishiro
# bun
bun add seishiro
# yarn
yarn add seishiro
# pnpm
pnpm add seishiro

Quick Start

Seishiro's workflow is built around three pillars: Registry, Message, and Policy.

import { Registry, Message, Policy, Actions } from "seishiro";

// 1. Setup Registry (Your Business Logic)
const registry = new Registry();
registry.set("user:login", UserLogin);
registry.set("user:profile", UserProfile, [AuthMiddleware]); // Supports Middlewares!

// 2. Setup Messaging (Multi-language Support)
const message = new Message("en");
message.set("user-not-found", "{{username}} not found!");

// 3. Setup Policy (Access & Versioning Control)
const policy = new Policy({
  passkey: process.env.SEISHIRO_PASSKEY,
  version_now: "1.0.0",
  version_min: "0.9.0",
  version_forceupdate: true,
});

// 4. Initialize Action Center
const action = new Actions({ registry, message, policy });

// 5. Execute - Choose your protocol!
const response = await action.APIAction({
  type: "user:login",
  data: {
    email: "[email protected]",
    password: "password123"
  }
});

console.log(response.response);

Modern Architecture

| Component | Description | | :--- | :--- | | Registry | Maps action types to their corresponding controllers and middlewares. | | Message | Handles all system responses and multi-language error messages. | | Policy | Enforces security, versioning, and access control for specific actions. | | Action | The execution engine that processes requests through the system. |

Learn More

Ready to dive deeper? Explore our specialized documentation and framework integrations.

Framework Integrations

[!IMPORTANT]
Action Tools is now available, but some features require improvements to function properly. Currently, there are no benchmarks and testing for multiple REST API frameworks, and for now, Action Tools is primarily focused on Next.js, Express.js, and Zod as validators.

We provide specialized tools and examples for modern web frameworks:

Explore all action tools here: Action Tools Documentation