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

@opndev/util

v0.0.8

Published

Utility functions for OPN Development

Readme

Welcome to @opndev/util

This is a utility function package that tries to solve issues by keeping things DRY. It is an ESM package.

If you want to know more, have a look at our documenation

Development

Try to keep functions small and try not to depend on any outside functions. We aim to keep the dependency graph as small as possible. The use of esm is welcomed and writing tests is encouraged.

jsdoc

You can build the documentation by running npm run jsdoc.

eslint

The ES Linting profile is flexible and does not try to enforce much. There is more than one way to do it (TIMTOWTDI).

Try to stay constistent, but forcing a programming style upon others is bad.

gitignore

Please educate yourself and use a global gitignore file. Somes files will always be there. I'm looking at you node_modules.

The lockfiles

You'll also see that package-lock.json and/or yarn.lock are ignored. I strongly believe that pinning packages lead to bit rot, as you never update packages. When a downstream module breaks its API you should know and update your code accordingly. The same goes for possible upstream modules. If you want a specific version, pin it to that version, otherwise use the latest and greatest when possible.

Code of conduct

There is none, stay human, communicate and accept that some people have different opinions.

Pull requests

I'm happy to accept pull requests, just make sure your change has tests. Add a good commit message and commit with a sign-off git commit -s.

A good commit message isn't just issue(feat): added foo to bar but also explain the why in the commit.