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

@reckona/create-mreact-app

v0.0.16

Published

Project scaffolder for mreact app-router applications.

Readme

@reckona/create-mreact-app

Project scaffolder for mreact app-router applications.

npx @reckona/create-mreact-app my-app --template app-router

Generated apps include an explicit vite.config.ts with the mreact router plugin and a tsconfig.json that enables the app-router global types for route files. The default route directory is app.

Templates

  • basic
  • app-router
  • app-router-tailwind
  • cloudflare

The cloudflare template generates a Workers entrypoint that imports the route registry emitted by mreact-router build --target=cloudflare at .mreact/cloudflare/route-modules.mjs, so dynamic and non-prerendered pages do not need a bundler-specific import.meta.glob transform.

Options

npx @reckona/create-mreact-app my-app --template app-router-tailwind --pm pnpm

Supported package managers are pnpm, npm, and bun.

Deployment scaffolds:

npx @reckona/create-mreact-app my-app --deploy container
npx @reckona/create-mreact-app my-app --deploy aws-lambda

--deploy container adds a generic Node 24 container image for Cloud Run, AWS App Runner, and similar platforms, with production builds pinned to mreact-router build --target=node. --deploy aws-lambda adds a Lambda handler for API Gateway HTTP API v2 and Lambda Function URL payload format 2.0.

For AWS Lambda production apps, add packages imported by loaders, middleware, route handlers, metadata, server actions, or their app-local helper modules to importPolicy.allowedPackages in the generated src/lambda.ts.

Package Lambda deployments from a minimal asset directory, not the full project root. The generated docs/deploy/aws-lambda.md shows a prepare-lambda-asset.sh example that copies .mreact/, the bundled handler, manifests, lockfiles, and production node_modules into .lambda/ so CDK/SAM/serverless assets stay below AWS's 250 MB unzipped deployment package limit. Generated Lambda projects build with mreact-router build --target=node, keeping Cloudflare Workers route modules out of Node-only artifacts and storing compiled server route artifacts in .mreact/server/server-modules/*.json instead of one large server manifest. The Lambda adapter treats outDir as read-only and materializes runtime files under /tmp by default, so .mreact/ can stay inside the deployed package; handler creation also starts a background preload for built runtime modules, route modules, and route metadata so route-specific bundling can move out of the first matched request on warmable runtimes. For pnpm projects, the generated script uses --config.node-linker=hoisted and includes symlink and actual-file-byte checks because pnpm's default isolated linker can create Lambda artifacts that package larger than du suggests.

Use --src-dir to generate a larger-app layout:

npx @reckona/create-mreact-app my-app --template app-router --src-dir

That creates src/app for routes, src/lib for shared application code, and root-level public for static assets.

TypeScript route globals

App-router templates include @reckona/mreact-router/app-router-globals in compilerOptions.types, so layouts can use <Slot /> without a local import. Keep that entry if you replace the generated tsconfig.json.