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

unity-core-beta

v0.0.2

Published

```yarn install```

Readme

Running app

yarn install

yarn start or yarn start -- --hostname 0.0.0.0 --port 4444

Due to some confusing webpack issues related to Storybooks, this repo has been changed to use yarn instead of npm for package management and building.

Built with pwa–starter–kit Build status

🛠 Status: In Development

PWA Starter Kit is currently in development. It's on the fast track to a 1.0 release, so we encourage you to use it and give us your feedback, but there are things that haven't been finalized yet and you can expect some changes.

See the list of Known Issues and TODOs, below, for updates.

MOCC2 Add Components

  1. Create wrapper component my-componentName.js that will import component and renders it (see my-table for example)
  2. Add page to load/router action in actions/app.loadPage
  3. Add links and wrapper component to the main my-app file
  4. Create folder/files for components and get to work

Build unity-core bundle

Running npm run bundle will create a bundle of the unity-core library inside the bundle/ folder, with a regular and a minified version (unity-core-bundle.js and unity-core-bundle.min.js) Include <script type="module" src="<path>/unity-core-bundle.js"></script> or <script type="module" src="<path>/unity-core-bundle.min.js"></script> in an HTML file to use any of the web components included in the library.

PWA Starter Kit

This sample app is a starting point for building PWAs. Out of the box, the template gives you the following features:

  • all the PWA goodness (manifest, service worker)
  • a responsive layout
  • application theming
  • example of using Redux for state management
  • offline UI
  • simple routing solution
  • fast time-to-interactive and first-paint through the PRPL pattern
  • easy deployment to prpl-server or static hosting
  • unit and integrating testing starting points
  • documentation about other advanced patterns.

📖 Head over to the documentation site for more details or check out how to get started!

pwa-starter-kit screenshot

TODOs

Testing

Test files must be located in the test/unit/ folder and end with .test.js. We use the @open-wc/testing library to set up and run tests (see open-wc testing). This uses Karma as a runner, Mocha for setting up tests, and Chai for assertions.

To run the tests, run npm test. It will display success/errors and code coverage on console, and also will create a coverage folder with complete coverage results. The tests will fail if a minimum of coverage is not reached. To see the complete coverage results, open the coverage/index.html file in the browser. There you can inspect the code to see how many times each line of code is executed in the tests, and which statements/functions/branches are not executed at all.

A CI pipeline is configured in Gitlab to run unit tests when pushing or merging to develop. The pipeline is triggered with each merge request created or when new code is pushed to it. If the unit tests fail (because of test failure or insufficient coverage), it will prevent the user from merging.

Possible Issues

If you encounter and error that looks like Uncaught TypeError: Failed to resolve module specifier. Relative references must start with either "/", "./", or "../"., you might be running into a different issue.

When we encountered this issue, it had to do with use of unsupported syntax (Syntax Not Allowed). It was fixed by putting the appropriate babel parser into the .babelrc file.