no-framework-cli
v1.0.5
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
No installation needed! Simply use the npm create or pnpm create command to scaffold a new project.
Usage
Run the following command to create a new project:
npm i no-framework-cliOr if you prefer pnpm:
pnpm i no-framework-cliThe 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
