Catalog npm
Back to packageRELEASE DETAILS

0.0.5

npm

1jm-cli

Full-stack framework with Hono + Vite React for Vercel on Bun runtime

bunframeworkhonoreactvercelvite
Published8 Jan 2026
Direct dependencies11
Transitive dependenciesNot calculated

README

Current package documentation

1jm - Full-stack Framework for Bun

A lightweight full-stack framework combining React (Vite) for the frontend and Hono for the backend. Built specifically for the Bun runtime with native Vercel deployment support.

Why 1jm?

  • Bun-native - Built from the ground up for Bun. Uses Bun.serve, Bun.build, and Bun's native fetch
  • Type-safe RPC - Direct HTTP communication between client and server with full type inference
  • Minimal Abstraction - React on the client, Hono on the server. No magic, just standard APIs
  • Vercel Integration - Native Vercel Edge/Serverless output with automatic route analysis
  • Static Route Caching - Experimental feature to auto-detect static endpoints and cache them at CDN edge
  • Fast Builds - Bun.build for bundling, esbuild-powered Vite for development

When to Use

  • You want to use Bun as your server runtime
  • Building a React app with Hono API routes
  • Deploying to Vercel (Edge Functions or Serverless)
  • Need type-safe client-to-server communication without GraphQL/tRPC overhead
  • Want hot reload for both client and server

Quick Start

# Create a new project (requires Bun)
bunx 1jm-cli
1jm create my-app

# Interactive setup will ask for:
# - Project Name
# - Database selection (Prisma available, Drizzle coming soon)
# - Styling options (Tailwind CSS, shadcn/ui)
# - Git initialization

cd my-app

# Development - starts both client (Vite) and server (Bun)
bun run dev

# Production build
bun run build

# To generate Vercel deployment artifacts
bun run build --vercel

Features & Tech Stack

  • Frontend: React 19.x with TypeScript, Vite
  • Backend: Hono 4.x
  • Runtime: Bun (primary), Node.js compatible
  • Styling Options:
    • Tailwind CSS v4
    • shadcn/ui components
  • Database Support:
    • ✅ Prisma (SQLite default, easily swappable)
    • 🚧 Drizzle (Coming Soon)

Project Structure

my-app/
├── client/               # React frontend (Vite)
│   ├── index.html
│   └── src/
│       ├── main.tsx
│       └── App.tsx
├── server/               # Hono backend
│   ├── db.ts             # Database client (if selected)
│   └── index.ts          # Exports Hono app
├── prisma/               # Prisma schema (if selected)
├── package.json
└── tsconfig.json

Commands

CommandDescription
1jm create <name>Create new project (interactive if no name)
1jm devStart dev servers (client + server)
1jm dev --clientClient dev server only (port 3000)
1jm dev --serverServer dev server only (port 45828)
1jm buildProduction build (outputs to dist/)
1jm build --vercelVercel build (outputs to .vercel/output/)
1jm build --vercel --experimental-staticVercel build with static route caching
1jm analyzeAnalyze routes for static/dynamic classification
1jm startStart production server from dist/

Runtime Support

RuntimeSupport
BunPrimary - full support
Vercel EdgeNative via --vercel
Vercel ServerlessNative via --vercel
Node.jsCompatible (server exports fetch)

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 11

Native requirements
11 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
vite
Environment
{
  "local_name": "vite",
  "alias": false,
  "peer_metadata": null
}
^7.3.1runtime
prompts
Environment
{
  "local_name": "prompts",
  "alias": false,
  "peer_metadata": null
}
^2.4.2runtime
ts-morph
Environment
{
  "local_name": "ts-morph",
  "alias": false,
  "peer_metadata": null
}
^27.0.2runtime
@types/bun
Environment
{
  "local_name": "@types/bun",
  "alias": false,
  "peer_metadata": null
}
^1.3.5runtime
@types/react
Environment
{
  "local_name": "@types/react",
  "alias": false,
  "peer_metadata": null
}
^19.2.7development
@types/prompts
Environment
{
  "local_name": "@types/prompts",
  "alias": false,
  "peer_metadata": null
}
^2.4.9development
@types/react-dom
Environment
{
  "local_name": "@types/react-dom",
  "alias": false,
  "peer_metadata": null
}
^19.2.3development
hono
Environment
{
  "local_name": "hono",
  "alias": false,
  "peer_metadata": null
}
^4.11.3peer
react
Environment
{
  "local_name": "react",
  "alias": false,
  "peer_metadata": null
}
^19.2.3peer
react-dom
Environment
{
  "local_name": "react-dom",
  "alias": false,
  "peer_metadata": null
}
^19.2.3peer
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.9.3peer

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "f85586061e3fc806171852b23b08b60d95d32061",
  "tarball": "https://registry.npmjs.org/1jm-cli/-/1jm-cli-0.0.5.tgz",
  "fileCount": 23,
  "integrity": "sha512-L+Llri10mbopYCMDT40SiYbPBNQAa3+Ku4jKyscq8Vp7yqG0EwPm7aB9P4itGxwJvCtF8xF89TTYslhYF7AGOw==",
  "signatures": [
    {
      "sig": "MEUCID2Ku4x2WBIFpUzXPTFh1K4/qInMyBmKnVKnMOv36JN7AiEAwQH/bPyH3DGE/Hv9NBwShNzImjBt4IT24TMli1MZ5cc=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "unpackedSize": 99186
}

Repository

PENDING
qwertyczee/1jm-app

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:30 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:f8104f2f7e47b62d5f9e32c2ad0fa34345202de973f4caacecc0f7767d22abd2

Other collected versions

0.0.911 Jan0.0.811 Jan0.0.710 Jan0.0.68 Jan0.0.48 Jan0.0.38 JanView all collected versions →