packpulse
Version:
**PackPulse** is a customizable, user-friendly, smooth, and efficient Node.js package for generating personalized greetings (or any string-based output) with ease.
87 lines (59 loc) ⢠1.93 kB
Markdown
# PackPulse
**PackPulse** is a customizable, user-friendly, smooth, and efficient Node.js package for showing Progress bar.
## š Features
- **Customizable** ā Change Progress bar prefix, styles, or output format.
- **User-Friendly** ā Simple API and minimal setup.
- **Smooth & Efficient** ā Lightweight and fast execution.
## š¦ Installation
```bash
npm install packpulse
````
## š Usage
```js
const packPulse = require('packpulse');
packPulse({
style: "customize", // "hash", "emoji", "rainbow", "dots", "customize"
total, // 100
current: i, // current percent
barLength: 30,
alignment: "left", // "left", "center", "right"
color: "\x1b[33m", // Yellow
emoji: "ā"
});
```
## ā Demo
```js
const packPulse = require('packpulse');
async function runDemo() {
const total = 50;
for (let i = 0; i <= total; i++) {
// Change style to try different bars
packPulse({
style: "customize", // "hash", "emoji", "rainbow", "dots", "customize"
total,
current: i,
barLength: 30,
alignment: "left", // "left", "center", "right"
color: "\x1b[33m", // Yellow
emoji: "ā"
});
await new Promise(res => setTimeout(res, 100));
}
console.log("\nā
Done!");
}
runDemo();
```
<img width="302" height="168" alt="image" src="https://github.com/user-attachments/assets/c35b0a40-3dc7-49b8-b81a-76230afcd8da" />
<br />
<img width="491" height="866" alt="image" src="https://github.com/user-attachments/assets/3dbd456c-f4e8-4741-bdf7-63f2d10514b3" />
## š¤ Contributing
Contributions welcome!
Fork the repo ā Create a branch ā Make changes ā Open a pull request.
## š License
MIT Ā© 2025 sivaprasath2004