create-no-framework
v1.0.4
Published
A CLI tool to create a no-framework backend project with Node.js or Bun
Maintainers
Readme
create-no-framework
A CLI tool to scaffold a backend project with no framework, using Node.js or Bun, npm or pnpm, and JavaScript or TypeScript.
Installation
To use this tool, you need to install it globally or use npm create or pnpm create.
First, publish this package to npm (or use npx if not published).
Usage
Run the following command to create a new project:
npm create no-framework
# or
pnpm create no-frameworkThe CLI will prompt you for:
- Project name
- Runtime: Node.js or Bun
- Package manager: npm or pnpm
- Language: JavaScript or TypeScript
It will create a folder with the project name containing:
src/directory with subfolders:handler,service,input-validation,dao-layer,business-validationpackage.jsonconfigured for your choicestsconfig.jsonif TypeScript is selected- A basic
index.jsorindex.tsfile
Development
To develop this CLI:
- Clone the repo
- Run
npm install - Run
node index.jsto test
To publish:
- Update version in package.json
- Run
npm publish
License
ISC
