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

@johnlindquist/nx-hono

v0.0.2

Published

Nx plugin for Hono framework - fast, lightweight web framework built on Web Standards

Readme

@johnlindquist/nx-hono

An Nx plugin for Hono - a fast, lightweight web framework built on Web Standards that works on any JavaScript runtime.

Features

  • 🚀 Multi-runtime support: Cloudflare Workers, Node.js, Deno, Bun, Vercel Edge, Netlify Edge
  • 🏗️ Project generators: Create Hono applications with proper Nx integration
  • 🛠️ Code generators: Generate API routes and middleware
  • Development server: Serve applications with hot reload
  • 📦 Build system: Build applications for production
  • 🚀 Deployment: Deploy to various platforms

Installation

npm install @johnlindquist/nx-hono

Generators

Initialize Hono Support

Add Hono support to your Nx workspace:

nx g @johnlindquist/nx-hono:init

Create a Hono Application

Generate a new Hono application:

nx g @johnlindquist/nx-hono:application my-api

Options:

  • --runtime: Target runtime (cloudflare-workers, node, deno, bun, vercel, netlify)
  • --directory: Directory to create the application in
  • --tags: Tags for the application

Generate API Routes

Create new API routes:

nx g @johnlindquist/nx-hono:api users --project=my-api

Options:

  • --methods: HTTP methods to support (GET, POST, PUT, DELETE, PATCH)
  • --directory: Directory within the project to create the route

Generate Middleware

Create custom middleware:

nx g @johnlindquist/nx-hono:middleware auth --project=my-api

Options:

  • --type: Type of middleware (custom, auth, cors, logger, rate-limit)
  • --directory: Directory within the project to create the middleware

Executors

Serve

Start a development server:

nx serve my-api

Build

Build the application for production:

nx build my-api

Deploy

Deploy the application:

nx deploy my-api

Runtime-Specific Features

Cloudflare Workers

  • Automatic wrangler.toml configuration
  • TypeScript support with Cloudflare Workers types
  • Built-in CORS and logging middleware

Node.js

  • Express-like development experience
  • Built-in server with @hono/node-server

Deno

  • Native Deno support
  • Web Standards compliance

Bun

  • Ultra-fast development with Bun runtime
  • Native TypeScript support

Example Usage

  1. Initialize Hono support:
nx g @johnlindquist/nx-hono:init
  1. Create a new Hono application:
nx g @johnlindquist/nx-hono:application my-api --runtime=cloudflare-workers
  1. Generate an API route:
nx g @johnlindquist/nx-hono:api users --project=my-api --methods=GET,POST
  1. Generate middleware:
nx g @johnlindquist/nx-hono:middleware auth --project=my-api --type=auth
  1. Start development server:
nx serve my-api
  1. Build for production:
nx build my-api
  1. Deploy:
nx deploy my-api

Learn More

Contributing

Contributions are welcome! Please read our contributing guidelines and submit pull requests to our repository.

License

MIT