1.2.3 • Published 8 months ago
@sp-packages/hello-world v1.2.3
Hello World
✨ Features
- 🚀 Simple and lightweight – Just prints "Hello, World!"
- 📜 CLI and programmatic support
- 🛠 Perfect for testing Node.js setup
- 🌍 Cross-platform compatibility
📦 Installation
Global Installation (For system-wide CLI use)
npm install -g @sp-packages/hello-worldThis allows you to use hello-world globally in your terminal.
Local Installation (For project-specific use)
npm install --save-dev @sp-packages/hello-worldThen, run it via:
npx hello-world🚀 CLI Usage
Basic Usage
hello-worldor using npx:
npx hello-worldExample Output:
Hello, World!📜 Programmatic Usage (Inside Node.js)
You can also use hello-world inside your JavaScript/TypeScript projects.
Import and Use in Your Project
import { helloWorld } from '@sp-packages/hello-world';
helloWorld();Example Output:
Hello, World!🤝 Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
📜 License
This project is licensed under the MIT License. See the LICENSE file for details.