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

cool-chart

v3.0.3

Published

A radar chart component for use with React.js and Next.js. Customize size, color and points of data. Works for 3 to 8 attributes.

Readme

By JGD Designs

Github: https://www.github.com/jgddesigns

Contact: [email protected]

A radar chart component for use with React.js and Next.js. Customize size, color and points of data. Works for 3 to 8 attributes.

DEMO: https://coolchartdeploy.vercel.app/

NPM Package: https://www.npmjs.com/package/cool-chart

<CoolChart Data={{"Grain": .2, "Dairy": .25, "Fruit": .15, "Vegetables": .1, "Meat": .3}} Title="Food Consumed" Size="3" Color="turquoise"/>

003


<CoolChart Data={{"Bass": .4, "Rainbow Trout": .2, "Brown Trout": .1, "Steelhead": .3}} Title="Fish Caught" Size="3" Color="red"/>

002


<CoolChart Data={{"Melee": .7, "Mid Range": .5, "Long Range": 1, "Health": .4, "Marksmanship": [6, 10], "Repair": .6}} Title="Player Stats" Size="3" Color="#5bc6f0"/>

001

Getting Started:

From Terminal 
    npm install cool-chart

Import Line
    import CoolChart from 'cool-chart'

Component Example:

<CoolChart Data={{"house": .75, "car": .1, "plane": .3}} Title="My Radar Chart" Size="3" Color="green"/>

Props Detailed:

Data (required)

    A json object that specifies a type of data and its percentage value. Can be an already calculated percentage, a tuple containing values needed to calculate a perentage, or a mixture of both. The key value is used as a title for that portion of data on the chart. The length of this object will set the number of points in the chart (3-8 points).

    Examples:

        Data={"house": .75, "car": .1, "plane": .3}

        Data={"house": [3, 4], "car": [1, 10], "plane": [30, 100]}

        Data={"house": .75, "car": [1, 10], "plane": [30, 100]}


Title (optional)

    A string holding the title of the chart.

    Defaults to "Radar Chart"

    Example:

        Title="My Radar Chart"


Color (optional)

    Hex Value: '#000fff'
        or
    CSS Color: 'green'

    Defaults to gray (#c2c2c2) if no value is passed.

    Examples:

        Color="#000fff"

        Color="#a2d4cb"

        Color="green"

        Color="aqua"


Size (optional)

    Ranges from small to extra large using number values 1-4.

    Defaults to 3 (large), 300px X 300px

    Examples:

        Size="1"
            sets chart graphic size to 100px X 100px

        Size="2"
            sets chart graphic size to 200px X 200px

        Size="3"
            sets chart graphic size to 300px X 300px

        Size="4"
            sets chart graphic size to 500px X 500px

MIT License

Copyright (c) 2025 JGD Designs

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.