1.0.12 • Published 8 months ago

@nozen/http v1.0.12

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

@nozen/http

A command-line tool that scaffolds a ready-to-use Express project featuring:

  • ESM setup (.mjs)
  • Socket.IO
  • Three.js
  • p5.js
  • Bootstrap + Bootstrap Icons
  • EJS view engine
  • Public folders for CSS/JS
  • favicon/ support
  • Nodemon-based dev server
  • Clean, modular file structure

🚀 Usage

Use npx to create a new project:

npx @nozen/http

You’ll be prompted for:

  • Project name (default: my-app)
  • Author
  • Description
  • License (default: ISC)

📁 Project Structure

Generated project will include:

my-app/
├── .gitignore
├── package.json
├── index.mjs
├── favicon/
├── public/
│   ├── css/
│   └── js/
├── src/
│   ├── app.mjs
│   └── socket.mjs
├── views/
│   ├── head.ejs
│   ├── index.ejs
│   └── layout.ejs

🧠 Features

  • index.mjs starts the server via src/app.mjs
  • app.mjs initializes Express, Socket.IO, and routing
  • Includes visual demos for:
    • CSS gradients
    • Bootstrap buttons
    • Bootstrap icons
    • Live Socket.IO communication
    • p5.js canvas animation
    • Three.js rotating cube

📦 Inside the generated package.json

  • "type": "module" for native ESM
  • Nodemon as default runner (npm start)
  • Dependencies installed automatically:
    • express
    • socket.io
    • three
    • p5
    • ejs
    • bootstrap
    • bootstrap-icons

🛠 CLI Development Scripts (for this CLI project)

npm run patch     # Bump patch version (x.y.z → x.y.z+1)
npm run minor     # Bump minor version (x.y.z → x.y+1.0)
npm run major     # Bump major version (x.y.z → x+1.0.0)
npm run pub       # Publish to npm (with --access public)
npm run login     # Log in to npm

👤 Author

Noah Hagberg

Created for fast bootstrapping of modern web experiments using Node.js and real-time/visual tools.

1.0.12

8 months ago

1.0.11

8 months ago

1.0.10

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago