packigician
v1.1.4
Published
CLI tool to generate npm package templates with placeholders
Maintainers
Readme
Packigician 🧙♂️
A simple CLI tool that generates npm package templates with placeholder files you can edit.
Installation
npm install -g packigicianUsage
Create 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:
📦 Generated Files
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🎯 What You Get
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
⚡ Features
- 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
📝 Quick Start
# 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 publishRequirements
- Node.js >= 14.0.0
- npm for package management
Development
To install locally for development:
npm linkThen test:
packigician-create test-packageLicense
MIT
