npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@codervj/graphforge

v2.0.0

Published

GraphForge charting library (jQuery + SVG) with 50+ chart types.

Readme

GraphForge

GraphForge is a production-ready jQuery + SVG charting library with a full SaaS platform (API, dashboard, admin, docs, examples, and CMS). It is intentionally simpler than D3, more extensible than Chart.js, and SaaS-enabled.

Highlights

  • 50+ chart types (pie, bar, line, radar, heatmap, treemap, sankey, financial charts, tables, and more)
  • One-script include (jQuery plugin)
  • SVG renderer with responsive layout
  • Plugin system (export, annotations, zoom, streaming)
  • SaaS REST API (PHP 8 + MySQL)
  • User dashboard + Admin panel + Documentation + Example gallery
  • SVG icon library (5000+ icons, categorized)

Quick Start (Library)

Install from npm:

npm install @codervj/graphforge@2

Use in browser projects:

<link rel="stylesheet" href="node_modules/@codervj/graphforge/library/graphforge.css" />
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script src="node_modules/@codervj/graphforge/library/graphforge.min.js"></script>
<link rel="stylesheet" href="library/graphforge.css" />
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script src="library/graphforge.js"></script>

<div id="chart" style="height:320px"></div>
<script>
  $("#chart").graphforge({
    type: "pie",
    title: "Market Share",
    data: [
      { label: "A", value: 30 },
      { label: "B", value: 70 }
    ]
  });
</script>

CDN (via jsDelivr):

<!-- Replace <github-username> with the account hosting this repository. Pin to a tag for stability, e.g. @v2.0.0 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/codervj/graphforge@latest/library/graphforge.css" />
<script src="https://cdn.jsdelivr.net/gh/codervj/graphforge@latest/library/graphforge.min.js"></script>

Note: using the library via CDN for client-side charts does not require the SaaS API or a database. To use SaaS features (logging, API-driven chart provisioning, dashboard/admin) you will need to run the optional PHP API and MySQL database described below.

Usage logging (SaaS):

$("#chart").graphforge({
  type: "line",
  data: [10, 20, 15],
  apiKey: "YOUR_API_KEY",
  chartId: 123
});

Optional SaaS API (PHP 8 + MySQL)

The SaaS API, dashboard, and admin panel are optional. They require a PHP 8 runtime and a MySQL database. If you only need the client-side library served via CDN (jsDelivr), you do not need to run the API or create the database.

  1. Create database and import schema:
mysql -u root -p graphforge < platform/database/schema.sql
mysql -u root -p graphforge < platform/database/seed.sql
  1. Configure DB credentials in:
  • platform/services/Database.php
  1. Run locally:
php -S localhost:8080 -t platform

API base: http://localhost:8080/api

Dashboards

  • User dashboard: http://localhost:8080/dashboard/user-panel/login/index.html
  • Admin panel: http://localhost:8080/admin/admin-dashboard/index.html

Admin seed user:

Repo Structure

  • library/ bundled JS + CSS
  • core/ core engines
  • charts/ chart renderers
  • plugins/ chart plugins
  • icons/ SVG icon library
  • platform/ PHP SaaS API + dashboard/admin
  • documentation/ docs site content
  • code-examples/ JS/PHP/Python/React/Go snippets

Debug Mode

GraphForge.debug = true;

Enables:

  • Render timing logs
  • Data parsing logs
  • Plugin execution logs

Build Notes

library/graphforge.js is the bundle used in production. The core/, charts/, and plugins/ folders contain the modular source used to build the bundle. For local demos, the bundle is also mirrored in platform/library/.

License

MIT