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

@bitbybit-dev/create-app

v1.0.0

Published

CLI tool to scaffold Bit By Bit Developers 3D/CAD projects with your favorite game engine

Downloads

238

Readme

@bitbybit-dev/create-app

🚀 CLI tool to scaffold Bit By Bit Developers 3D/CAD projects — browser-based frontend apps and CAD Cloud backend projects

Create stunning 3D/CAD applications with ease using our powerful geometry kernels: OCCT (OpenCascade), JSCAD, and Manifold. Or scaffold a full-stack project that connects to our CAD Cloud API for server-side model generation and file conversion.

Quick Start

Using npm init (Recommended)

npm init @bitbybit-dev/app my-project

Using npx

npx @bitbybit-dev/create-app my-project

Usage

Interactive Mode

Simply run the command without options to enter interactive mode:

npm init @bitbybit-dev/app my-project

You'll be prompted to select:

  • 📦 App Type: Frontend (browser 3D app) or Cloud (backend + frontend for CAD Cloud API)
  • 🎮 Game Engine (frontend): Three.js, Babylon.js, or PlayCanvas
  • ⚙️ OCCT Architecture (frontend): 32-bit, 64-bit, or 64-bit Multi-threaded
  • 🖥️ Backend Template (cloud): Hono + SDK, Hono + REST, Node.js + SDK, Node.js + REST, or .NET + REST

CLI Options

npm init @bitbybit-dev/app my-project --engine threejs --occt-architecture 32

Available engines:

  • threejs - Three.js: Lightweight and flexible 3D library
  • babylonjs - Babylon.js: Powerful and feature-rich game engine
  • playcanvas - PlayCanvas: Fast and lightweight WebGL game engine

Available OCCT architectures:

  • 32 - 32-bit (Default): Supported on all browsers
  • 64 - 64-bit: May not be supported on all browsers (requires WebAssembly Memory64)
  • 64-mt - 64-bit Multi-threaded: Requires special server configuration (COOP/COEP headers)

OCCT Architecture Notes

32-bit (Default): Works on all browsers and is recommended for maximum compatibility.

64-bit: Uses WebAssembly Memory64, which may not be available in older browsers. Use this when you need to work with larger CAD models that exceed 32-bit memory limits.

64-bit Multi-threaded: Enables parallel processing using WebAssembly threads. Requires your server to send the following headers:

  • Cross-Origin-Opener-Policy: same-origin
  • Cross-Origin-Embedder-Policy: require-corp

When you select 64-bit MT, a vite.config.ts is automatically created with these headers pre-configured for development.

What You Get

Frontend Projects

Each scaffolded frontend project includes:

  • Vite - Lightning fast build tool
  • 📘 TypeScript - Type-safe development
  • 🎨 Bitbybit - All geometry kernels pre-configured:
    • OCCT (OpenCascade) - Professional CAD kernel
    • JSCAD - Programmatic solid modeling
    • Manifold - Fast mesh boolean operations
  • 🎮 Your chosen 3D engine - Three.js, Babylon.js, or PlayCanvas

Cloud Projects

Each scaffolded cloud project includes:

  • 🖥️ Your chosen backend - Hono (Cloudflare Workers), Express 5 (Node.js), or ASP.NET Core (.NET 10)
  • 🌐 React + Three.js frontend - shared across all backends for visualizing CAD results
  • 🔑 Secure API key handling - keys stay on the server; the frontend proxies requests through your backend
  • 📘 TypeScript SDK or raw REST - depending on your chosen template
  • 📖 Ready-to-run examples - model generation, CAD pipelines, file conversion, and file uploads

After Scaffolding

Navigate to your project and start developing:

cd my-project
npm install
npm run dev

Project Structure

my-project/
├── index.html
├── package.json
├── tsconfig.json
├── public/
│   └── vite.svg
└── src/
    ├── main.ts
    ├── style.css
    └── vite-env.d.ts

Links

Support Us

The best way to support Bit By Bit Developers is with a Silver or Gold plan subscription!

Subscribe Now

License

MIT © Bit By Bit Developers