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

gss-cogs-chart-builder

v0.6.0

Published

Chart Builder is a proof-of-concept app to understand the feasibility of using a CSV file (or SPARQL query) to generate and customise a chart or data visualisation.

Readme

Chart Builder

Chart Builder is a proof-of-concept app to understand the feasibility of using a CSV file (or SPARQL query) to generate and customise a chart or data visualisation.

Development

Chart Builder is an HTML-JavaScript app built with the React-TypeScript stack.

Ensure you have Node installed on your system. Chart Builder has been built against Node v16.13

Ensure you have yarn installed

npm install --global yarn

We use yarn to manage packages. To install the project packages

yarn

Then, to launch a local development instance of Chart Builder, run:

yarn start

Build

To build the app locally:

yarn build

The output directory is build. You can copy the build assets from there to the wwwroot of your webserver

Automated build

A CI/CD pipeline is configured using Google Cloud Build and deploys the containerised app to this URL:

https://chart-builder-no4vxskx7a-nw.a.run.app/

Build trigger

Automated build is triggered by changes to the main branch of the chart-builder source code

The automated build configuration is managed in two places:

  1. Dockerfile and nginx.conf files in the chart-builder repo

    These files are both located in the root of the chart-builder repository.

    The Dockerfile specifies a multistage docker image build. The first stage builds the source code and the second stage copies this build output (without the source code and node modules) into a new container image. The resultant image (approx. 45Mb) is then deployed.

    The nginx.conf file is used to configure the nginx web server that runs inside the container.

  2. **In the GCP Cloud Run web console **

    The GCP console can be used to configure the build trigger and container specification

    1. Browse to the GSSCOGS/idpd-platform project
    2. Open the chart-builder service
    3. Go to Edit and Deploy New Revision
    4. Adjust the configurations for: Container Port, CPU allocation, Capacity (memory and CPU), Request timeout, Max requests per container and Auto-Scaling
    5. To adjust the build trigger follow the link under the General section to Cloud Build trigger
    6. Click Deploy to finalise the changes

Library Build

The chart builder can be built as a reusable NPM package. Start by choosing a version number, then run:

# set version
export VERSION=<next version> 
# use webpack.library.config.js to build the dist/ dir
yarn library
# publish it to NPM
cd dist
yarn publish
# tag it and push the tag to origin
git tag $VERSION
git push --tags