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

@thzero/library_client

v0.18.47

Published

An opinionated library of common functionality to bootstrap a VueJs based SPA application.

Readme

License: MIT

library_client

An opinionated library for UI client applications.

Requirements

NodeJs

Requires NodeJs version 22+.

Firebase

Google Firebase (https://firebase.google.com) provides the social based authentication; currently only Google social accounts are supported.

  • Add a new project
    • If not already completed when setting up the server application
  • Setup Authentication, enable Google in the Sign-in method.
    • If not already completed when setting up the server application
  • Get the Firebase SDK configuration
    • Go to Project Overview->Settings->General
    • Click Add App and select Web
      • Click Firebase SDK snippet, select *Config
      • Select the JSON object and store it for later use.

Installation

NPM

NPM Dependencies

Install the NPM dependencies for the server.

npm install

Project setup

Setup Config

  • Setup the configuration found in the config\development.json
    • Note that this is ignored in the .gitignore
  • Configuration looks like the following
{
	"backend": [
		{
			"key": "backend",
			"apiKey": "<apikey required by the server component>",
			"baseUrl": "<base url for the api of the server component>"
		}
	],
	"external": {
		"firebase": <firebase key JSON object from above goes here>
	}
}

Development

Compiles and hot-reloads for development

Run the application locally using the VueJs development server; requires the server component.

npm run serve

Hosting

Compiles and minifies for production

Compiles the application for deployment to cloud provider.

npm run build

Google Cloud Hosting

Login to Google Cloud hosting, select the same account that was setup for Firebase.

Enable the following APIs

  • Cloud Build API
  • Firebase Management API
  • Firebase Hosting API
  • Cloud Resource Manager API

Cloud Build

Cloud Build Settings

In Cloud Build, set the Settings page and make sure the following are enabled

  • Cloud Run
  • Firebase
  • Cloud KMS
  • Service Accounts

Cloud Source Repository

This should have already been setup with the server application.

Cloud Build Trigger

Event
  • Push to branch
Region
  • Select the same region as used with the Cloud Source Repository
Repository Generation
  • Select 2nd
Source
  • Select the repository
  • Select "^master$" branch
Configuration
Type
  • Cloud Build configuration file (yaml or json)
Location
  • Repository
  • Cloud Build configuration file location
  • / cloudbuild.yaml
Subsitution variables

Add these variables:

  • _CONFIG -
Application Configuration

Update the following from the above configuration JSON

  • apiKey - Set to same value from the server
  • baseUrl - Set the value to be the server api's Cloud Run URL.
Deploy

Run the trigger to kick of a deploy.