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

@wizeworks/create-wize-api

v1.13.2

Published

A CLI to scaffold Fastify + Sentry+ MongoDb + GraphQL API projects for WizeWorks.

Readme

WizeWorks GraphQL API 🚀

CI License Issues PRs Welcome GraphQL Sentry MongoDb npm


✨ Overview

The WizeWorks GraphQL API is a multi-tenant, MongoDB-backed API built with Express, GraphQL Yoga, and modern tooling for observability and traceability via Sentry.

This API is designed to serve as a backend foundation for WizeWorks SaaS apps.


🔧 Tech Stack

| Tool | Purpose | |-----------------------|-------------------------------------------| | Express | Lightweight Node.js web framework | | GraphQL Yoga | GraphQL server with subscriptions | | MongoDB | NoSQL database for multi-tenant data | | Sentry | Error monitoring + transaction tracing | | GraphQL Scalars | Extended GraphQL support (DateTime, etc.)| | dotenv | Secure environment variable loading |


🚀 Features

  • ⚡ Fast and lightweight GraphQL API
  • 🔐 Multi-tenant aware via dynamic tenantId injection
  • 📦 MongoDB integration with dynamic schema support
  • 🧠 Rich GraphQL subscriptions using PubSub
  • 📊 Full observability with scoped Sentry logging
  • 🛡️ Fine-grained auth using API keys and scopes
  • 🧪 Easy local development with .env and mock data

🏁 Getting Started

1. Scaffold a New Project

npx @wizeworks/create-wize-api

This will prompt you for:

  • Project name
  • Display name
  • And automatically install dependencies

2. Environment Setup

Create a .env file based on .env.example:

MONGO_URI=mongodb://localhost:27017
SENTRY_DSN=https://[email protected]/0
PORT=3000

3. Run the Dev Server

npm run dev

Access GraphQL Playground at:
👉 http://localhost:3000/graphql


📡 Example GraphQL Query

query {
  listExamples {
    id
    title
    createdAt
  }
}

🚀 Deployment

1. Local Development

Run Node:

npm run dev

2. Kubernetes Deployment

This repo includes production-ready Kubernetes manifests in the deployment/ folder.

kubectl apply -f deployment/deployment.yaml
kubectl apply -f deployment/service.yaml
kubectl apply -f deployment/ingress.yaml

3. GitHub Actions (CI/CD)

GitHub Actions will auto-deploy on push to main.

You’ll need to configure the following secrets in your GitHub repository:

| Secret Name | Description | |---------------------|---------------------------------------------| | AKS_CLUSTER | AKS Cluster Name | | ACR_NAME | Container registry URL | | IMAGE_NAME | Image name (e.g., wize-example) | | MONGO_URI | MongoDB connection string | | SENTRY_DSN | Sentry DSN |

You can customize these in .github/workflows/deploy.yml.


🔁 Commit Versioning Requirement

Semantic Release will automatically:

  • Analyze commits
  • Bump the version
  • Publish to npm under the @wizeworks scope

✍️ License

MIT © WizeWorks


💡 Future Plans

  • ⚙️ CLI for creating tenants & migrations
  • 📘 Swagger/OpenAPI generation for REST proxying
  • 🧩 Federation-ready module splitting
  • 🔁 Live MongoDB → PubSub bridge

🙏 Contributing

We welcome contributions! Check out CONTRIBUTING.md to get started.