New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@peaque/create-framework

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peaque/create-framework

Initialize a @peaque/framework application

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

@peaque/create-framework

Official scaffolding tool for Peaque Framework applications.

Usage

With NPM

npm create @peaque/framework@latest

With Yarn

yarn create @peaque/framework

With PNPM

pnpm create @peaque/framework

With a project name

npm create @peaque/framework@latest my-app
cd my-app
npm run dev

Features

  • Interactive CLI - User-friendly prompts powered by @clack/prompts
  • Package Manager Detection - Automatically detects and uses npm, yarn, or pnpm
  • Multiple Templates - Choose from different starter templates
  • Fast Setup - Get started in seconds with zero configuration
  • Smart Defaults - Includes .env setup, .gitignore, and more
  • Validation - Ensures project names are valid and directories don't exist

What's Included

Each scaffolded project includes:

  • TypeScript configuration with strict mode
  • Tailwind CSS with PostCSS setup
  • File-based routing structure
  • API routes example
  • Environment variables template (.env.example)
  • Git ignore configuration
  • README with quick start guide

Templates

Basic

A simple starter template with:

  • Home page example
  • API route example
  • Tailwind CSS styling
  • Static assets support

More templates coming soon!

Development

To work on this package:

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build the package
npm run build

# Test the CLI
npm test

Project Structure

@peaque/create-framework/
├── src/
│   └── cli.ts          # Main CLI logic
├── templates/
│   └── basic/          # Basic template
│       ├── src/
│       │   ├── api/
│       │   ├── pages/
│       │   ├── public/
│       │   └── styles.css
│       ├── .env.example
│       ├── .gitignore
│       ├── package.json
│       ├── README.md
│       └── tsconfig.json
├── dist/               # Built output
├── package.json
└── tsconfig.json

Publishing

This package is designed to be used with npm create, which requires publishing to npm registry.

npm run build
npm publish --access public

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Keywords

peaque

FAQs

Package last updated on 05 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts