justgage
Version:
JustGage is a handy JavaScript plugin for generating and animating nice & clean gauges. Modern ES6+ implementation with native SVG rendering (v2.0 modernized by robertsLando).
74 lines (54 loc) • 2.78 kB
Markdown
# JustGage
<p align="center"><img src="docs/public/logo.png"/></p>
[](https://www.npmjs.com/package/justgage)
[](https://www.npmjs.com/package/justgage)
[](https://bundlephobia.com/package/justgage)
[](https://github.com/toorshia/justgage/actions/workflows/deploy-docs.yml)
[](https://github.com/toorshia/justgage/actions/workflows/ci.yml)
[](http://makeapullrequest.com)
[](https://opensource.org/licenses/mit-license.php)
[](https://conventionalcommits.org)
> **The gauge library you know and love, completely reimagined for the modern web! 🎉**
<p align="center">
<b>⚡ Zero Dependencies</b> •
<b>💖 Modern ES6+</b> •
<b>🎛️ Highly Customizable</b> •
<b>📱 Responsive Design</b> •
<b>🚀 High Performance</b> •
<b>🛡️ Battle Tested</b> •
<b>📦 76% smaller </b> From 36.5 kB → 8.6 kB (27.9 kB saved!))
</p>
<p align="center">
<a href="https://toorshia.github.io/justgage" style="font-weight: bold; text-decoration: none;">
🎮 Try Live Demo & Playground
</a>
•
<a href="https://toorshia.github.io/justgage/docs" style="font-weight: bold; text-decoration: none;">
📚 Full Documentation
</a>
</p>
## Quick Start
### Installation
```bash
npm install justgage
```
### Basic Usage
```javascript
import { JustGage } from 'justgage';
const gauge = new JustGage({
id: 'my-gauge',
value: 75,
min: 0,
max: 100,
});
```
## More Information
- 📖 **[Complete Documentation](https://toorshia.github.io/justgage/docs)** - API reference, configuration options, and examples
- 🎮 **[Interactive Playground](https://toorshia.github.io/justgage/playground)** - Try different configurations live
- 🚀 **[Migration Guide](https://toorshia.github.io/justgage/docs#migration)** - Upgrading from v1.x to v2.0+
- 🤝 **[Contributing](CONTRIBUTING.md)** - Development setup and contribution guidelines
## License
This project is licensed under [MIT](LICENSE) License
## Author & Maintainers
- **Original Author**: [Bojan Djuricic](https://github.com/toorshia)
- **v2.0 Modernization & Maintenance**: [robertsLando](https://github.com/robertsLando)