MCPcopy
hub / github.com/toorshia/justgage

github.com/toorshia/justgage @v2.0.1 sqlite

repository ↗ · DeepWiki ↗ · release v2.0.1 ↗
180 symbols 515 edges 27 files 63 documented · 35%
README

JustGage

NPM Version Downloads Bundle Size

Deploy Docs CI

PRs Welcome MIT Licence Conventional Commits

The gauge library you know and love, completely reimagined for the modern web! 🎉

⚡ Zero Dependencies💖 Modern ES6+🎛️ Highly Customizable📱 Responsive Design🚀 High Performance🛡️ Battle Tested📦 76% smaller From 36.5 kB → 8.6 kB (27.9 kB saved!))

<a href="https://toorshia.github.io/justgage" style="font-weight: bold; text-decoration: none;">
  🎮 Try Live Demo &amp; Playground
</a>
&bull;
<a href="https://toorshia.github.io/justgage/docs" style="font-weight: bold; text-decoration: none;">
  📚 Full Documentation
</a>

Quick Start

Installation

npm install justgage

Basic Usage

import { JustGage } from 'justgage';

const gauge = new JustGage({
  id: 'my-gauge',
  value: 75,
  min: 0,
  max: 100,
});

More Information

License

This project is licensed under MIT License

Author & Maintainers

Extension points exported contracts — how you extend this code

JustGageConfig (Interface)
(no doc)
src/types/index.d.ts
JustGageCustomSectors (Interface)
(no doc)
src/types/index.d.ts
JustGagePointerOptions (Interface)
(no doc)
src/types/index.d.ts

Core symbols most depended-on inside this repo

attr
called by 121
src/rendering/svg.js
kvLookup
called by 61
src/utils/helpers.js
kvLookup
called by 53
docs/public/justgage.js
animate
called by 27
src/core/GaugeAnimator.js
destroy
called by 24
src/core/JustGage.js
path
called by 24
src/rendering/svg.js
getConfig
called by 23
src/core/JustGage.js
getValue
called by 20
src/core/JustGage.js

Shape

Function 110
Method 55
Class 12
Interface 3

Languages

TypeScript100%

Modules by API surface

docs/public/raphael.min.js65 symbols
src/rendering/svg.js28 symbols
src/core/JustGage.js28 symbols
docs/public/justgage.js18 symbols
src/utils/helpers.js10 symbols
src/core/GaugeAnimator.js8 symbols
src/types/index.d.ts5 symbols
src/utils/dom.js4 symbols
esbuild.config.js4 symbols
src/utils/colors.js3 symbols
src/utils/formatters.js2 symbols
src/core/config.js2 symbols

Dependencies from manifests, versioned

@mdi/font7.3.67 · 1×
@release-it/conventional-changelog10.0.1 · 1×
@types/node20.10.0 · 1×
@vitejs/plugin-vue4.5.2 · 1×
@vue/eslint-config-typescript12.0.0 · 1×
@vue/tsconfig0.5.0 · 1×
esbuild0.25.10 · 1×
eslint9.36.0 · 1×
eslint-config-prettier10.1.8 · 1×
eslint-plugin-prettier5.5.4 · 1×
eslint-plugin-vue9.19.2 · 1×
globals16.4.0 · 1×

For agents

$ claude mcp add justgage \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact