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

gp-pos

v0.1.0

Published

desktop local backend for gp-pos

Readme

see gp-pos-docs.docx for details

Test

  • via GET Requests (where 5000 is .env WEB_BRIDGE_PORT)

Collection Controll Service Tests Endpoints

(usually controlled by cron jobs)

The collection_control db is the only one which remains constant. It only every has one document in it. The document with id: 0. This document tells the rest of the application what the database names are that are currently in use.

env.json setting "ENTITY_COLLECTION_DISK_SIZE_LIMIT": 500, this is the limit of either a single dbs for all others (not the sales-order-open_xxxx), and in the case of sales orders what all the shift disk sizes can add up to.

db disk sizes can be seen on http://localhost:5984/utils/ The number is size in mb for testing you can change it to be really small eg : 0.200 is 200kb the customers db is usually 428.3 KB which means running prim-job-c-other will result in a new customers_ db being created

These 2 are usually executed by scheduled job:

  1. http://localhost:5000/test/prim-job-new-shift create new shift sales-orders-open_xxxx and update collection_control doc id: 0

  2. http://localhost:5000/test/prim-job-c-other will create new other (than sales-orders) dbs if they are above a certain disk size

These nest 2 are executed on till on startup and will clean out old not active dbs according to the following rules

  1. http://localhost:5000/test/job-d-sos will add up the disk sizes of all the sales-order-open_ dbs and then delete any the sum to above 2/3 of the limit from the oldest first

  2. http://localhost:5000/test/job-d-other will just delete any other dbs no longer referenced in the collection_control db

Dev Admin

  • via GET Requests (where 5000 is .env WEB_BRIDGE_PORT)

http://localhost:5000/dev-admin/refresh-fe http://localhost:5000/dev-admin/init-all

http://localhost:5000/dev-admin/reset [staging, production] http://localhost:5000/dev-admin/restart [staging, production] http://localhost:5000/dev-admin/clear-logs [staging, production]

Notes

on linux had to install libudev-dev to make usb 1.5.0 dep of escpos-print-extended build

"MAX_LAST_UNITY_CHANGES": 3, (hours)

Change to package local file for shared in dev

"dependencies": { "@gaap/gp-pos-shared-models": "file:../gp-pos-ui/dist/gp-pos-shared-models" }

Change package to plubished version for cloud build (tb = temp branch)

"dependencies": { "@gaap/gp-pos-shared-models": "0.1.3" }

Unity Internal IP Addresses

"INIT_UNITY_API_URL": "http://10.50.200.251:1120/",
"INIT_UNITY_BROKER_URL": "mqtt://10.50.200.251:1121/",

"INIT_UNITY_API_URL": "http://localhost:8000/",
"INIT_UNITY_BROKER_URL": "mqtt://localhost:1883/",

"INIT_UNITY_API_URL": "http://unity.gppos.net:8762/",
"INIT_UNITY_BROKER_URL": "mqtt://unity.gppos.net:8862/",

Production timeout

"MAX_LAST_UNITY_CHANGES": 3000000000,