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

@zucker-framework/admin

v1.0.2

Published

Zucker Admin — pluggable management REST API module for NestJS

Readme

Admin APIs

The package provides optional feature modules and configurable controllers. Applications configure the database and authentication once at their composition root.

For persistent audit management, use createAccessLogAdminController and createOperationLogAdminController with the host's route, resource and audit labels. They use AccessLogService / OperationLogService configured by ZuckerLoggingModule.forRoot({ persistence: ... }). createLogQueryController adds the shared read, timeline, statistics, metrics and CSV endpoints; permission codes and export labels are host configuration. Existing default feature modules remain available for their documented contracts.

createReadOnlyAdminController exposes only GET / and GET /:id for a configured database model. Pagination executes in the database and is capped at 100 records by default. Only configured equality filters and the record ID are accepted. Both plain query parameters and the Framework frontend's filters={"field$eq":"value"} encoding are supported; arbitrary operators, fields and model names are not forwarded to storage. Business mutations such as credit or reservation transitions belong to their business APIs.

Controller factories use JwtAuthGuard and PermissionsGuard by default. Hosts with equivalent global guards can pass guards: []; route permission metadata remains present and is enforced by those global guards. Do not register unguarded generated controllers in an application without global authentication and authorization.

Configured catalogs and AI models

createCatalogAdminController supplies a constrained REST catalog backed by the existing CRUD BaseService: configured list/detail relations and filters, bounded pagination, create/update field allowlists and soft deletion. Configure the resource, guards and createAction to preserve the application's persisted permission names. Route/model/schema policy remains host configuration; no unrestricted query or mutation routes are inherited.

createAIModelAdminController exposes the persistent AIModelCatalogService with configured read/read-secret/create/update/delete permissions. Register specialized host routes (such as subscription or runtime-cache administration) before its parameterized :id route. createResendWebhookController exposes signed mail callbacks; enable raw-body capture at Nest bootstrap and configure one ResendWebhookService with the host suppression policy. Bad signatures return 401, invalid payloads 400, and persistence failures 503 for provider retry.