A simple CLI tool that generates npm package templates with placeholder files you can edit.
npm install -g packigicianCreate a new package template:
packigician-create my-package-nameOr use default name:
packigician-createThis creates a folder with template files containing placeholders you can edit:
my-package-name/
βββ package.json # Template with placeholders
βββ index.js # Main entry point template
βββ README.md # Documentation template
βββ .gitignore # Git ignore file
βββ bin/
βββ cli.js # CLI command template
package.json with placeholders:
YOUR_PACKAGE_NAME- Replace with your package nameYOUR_PACKAGE_DESCRIPTION- Replace with descriptionYOUR_NAME- Replace with your nameYOUR_USERNAME- Replace with GitHub usernameYOUR_CLI_COMMAND- Replace with your CLI command name
bin/cli.js with placeholders:
- Ready-to-use CLI structure with Commander.js
- TODO comments showing where to add your commands
- Placeholder text you can replace
index.js with placeholders:
- Basic module export structure
- TODO comments for your functionality
README.md with placeholders:
- Template documentation
- Installation and usage examples
- Placeholder text to customize
- No questions asked - Just creates files
- Template placeholders - Easy to find and replace
- Auto npm install - Dependencies installed automatically
- Professional structure - Follows npm best practices
- CLI ready - Includes CLI command setup
# Create package
packigician-create my-awesome-tool
# Edit files
cd my-awesome-tool
# Edit package.json, bin/cli.js, index.js, README.md
# Test your CLI
npm start hello
# Publish when ready
npm publish- Node.js >= 14.0.0
- npm for package management
To install locally for development:
npm linkThen test:
packigician-create test-packageMIT