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

xscaf

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xscaf

Use xscaf to kickstart your projects, integrate features, and streamline your Express development workflow.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
0
Created
Source

xscaf (Express Scaffold)

Version Downloads/week

xscaf is a powerful CLI tool designed to streamline the process of creating and managing Express.js applications. With xscaf, you can scaffold a fully structured backend project in seconds, saving you time and eliminating repetitive coding tasks.

Features

  • Quick Project Initialization: Generate a new Express.js project with customizable options for JavaScript or TypeScript.
  • 🗂️ Structured Folder Setup: Create organized folders for routes, controllers, and services.
  • 🏗️ Microservices Architecture: Best practices for scalable microservices.
  • 📜 Swagger Documentation: Generate Swagger docs for easy API documentation.
  • 🔧 Flexible Configuration: Support for CommonJS, ESM, npm, pnpm, and yarn.
  • 🗄️ Database and ORM Integration: Initialize projects with MongoDB, PostgreSQL, Prisma, or Drizzle. (not supported yet)
  • 🛠️ Additional Tools: Integrated logger library, Docker Compose file, and GitHub Actions workflow.

Usage

$ npm install -g xscaf
$ xscaf COMMAND
running command...
$ xscaf --version
xscaf/1.0.0 linux-x64 node-v20.13.1
$ xscaf --help
USAGE
  $ xscaf COMMAND

Commands

xscaf init PROJECT_NAME

Scaffold a new Express.js project.

USAGE
  $ xscaf init PROJECT_NAME

ARGUMENTS
  PROJECT_NAME  Name of the new project

DESCRIPTION
  Generate a new Express.js project with a structured folder setup, optional TypeScript support, and Swagger documentation.

EXAMPLES
  $ xscaf init my-app

xscaf tmpl <CMD>

Manage custom templates for your projects.

USAGE
  $ xscaf tmpl <CMD>

COMMANDS
  xscaf tmpl add PATH  Add a custom template
  xscaf tmpl use       Use a custom template.
  xscaf tmpl ls        List all your saved custom templates.
  xscaf tmpl rm        Remove a custom template from your collection.

EXAMPLES
  $ xscaf tmpl add express-starter
  $ xscaf tmpl use
  $ xscaf tmpl ls
  $ xscaf tmpl rm

For more documentation about the commands, run :

$ xscaf <cmd> help

With xscaf, your Express.js project setup is just a command away! 🚀

For more details, visit our GitHub repository. Happy coding! 😊

Keywords

express

FAQs

Package last updated on 26 Jul 2024

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