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 🙏

© 2025 – Pkg Stats / Ryan Hefner

epigraph-std-lib

v2.5.2

Published

Epigraph Standard Library or epigraph-std-lib is a collection of standards that we follow across our solutions. The idea is to have a single source of truth across solutions while ensuring that the dependencies are always up to date with the industry stan

Downloads

11

Readme

INTRODUCTION

Epigraph Standard Library or epigraph-std-lib is a collection of standards that we follow across our solutions. The idea is to have a single source of truth across solutions while ensuring that the dependencies are always up to date with the industry standards.

EPIGRAPH

A global object that must only be initialized once per session and provides some common functionalities across solutions in that session.

EPIGRAPH LIBRARY EXPORTS

| Name | Description | |---|---| | EpigraphBaseSolution | A base class intended to enforce some common functionalities across our solutions | | EpigraphLogger | A logger class that provides a convenient way for logging info, warning or errors in any given session | | EpigraphQrCoreGenerator | A Utility class that allows the generation of a QR code from a give string input | | EpigraphUnitsConverter | A Utility class that allows conversion between different standard unit, including but not limited to Distance, Color, etc. | | EpigraphUrlProcessor | A Utility class that provides various methods to generate, process, manipulate URLs |

3rd PARTY LIBRARY EXPORTS

| Name | Version | |---|---| | three | three version | | model-viewer | @google/model-viewer version | | @epigraph/epigraph-analytics |@epigraph/epigraph-analytics version| | qr-creator |qr-creator version|

HOW TO:

Add a new EpigraphLibrary:

  1. Create a new directory under lib/EpigraphLibs/<MyEpigraphLibrary>
  2. Create the module file/s. Ensure that the names of these files are in camelCase.
  3. Export this module in lib/EpigraphLibs/epigraph-std-lib.ts as export * from "./ThirdPartyLibs/main";
  4. Write a test for this Library under tests/<MyEpigraphLibrary.test.ts>

Write a test:

We use vitest to write tests in this repository using happy-dom to support some but not all browser functionalities. In order to write a new test:

  1. Create a new file for a specific test under tests/ as <MyEpigraphLibrary>.test.ts
  2. Write a test following the instructions and samples here
  3. Make sure to import the library from "../dist/epigraph-std-lib" to avoid any issues that might come up after bundling.
  4. Open a terminal and execute "npm run test". This will build all the libraries under dist/ and then run tests using those.

REFERENCES

A huge thanks to everyone who inspired the setup for this repository:

  1. Andreas Riedmuller's Article
  2. Vitest Docs