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

wp-license-compatibility

v1.0.0

Published

License data for performing license compatibility checks.

Readme

wp-license-compatibility

License data for performing compatibility checks.

Install

Install with yarn:

$ yarn add wp-license-compatibility

OR

Install with npm:

$ npm install wp-license-compatibility

What is this?

Originally this data was gathered for supporting the WordPress Theme Review Team's Theme Sniffer Plugin, so that some validation could be done for theme submissions to WordPress.org's theme repository. The data is useful outside of this context, and can be used for any purpose.

The data is indexed by SPDX license identifier, and includes the following:

  • Accumulation of SPDX/non-SPDX license identifiers.
  • Accumulation of various SPDX/non-SPDX license URIs.
  • Accumulation of SPDX/non-SPDX names.
  • Compatibility fields for GPL-2.0-only.
  • Compatibility fields for GPL-3.0-only.

The initial support for compatibility checks was for checking against WordPress.org's GPL-2.0-or-later license. As the Theme Sniffer plugin progresses, we hope to add some compatibility checking to bundled resources in themes and perform some compatibility checking upon those. This can lead to further data being added to support other licenses if the need arises.

As a note, while this repo uses various sources to accumulate the data - the license data does show favor towards the SPDX license identifiers. SPDX is the most comprehesive and standardized approach to license expressions, which provides a solid base for extending.

Roadmap

While gathering this data, most parts were scripted out, but manual inspection found various discrepencies. The first stop on the roadmap is to flush out the scripting, and finalize a build process to keep the license data up to date with current revisions.

Contributing

Pull requests are definitely welcome!

Until there's a proper build process in place for the base script, there's not any strict limitations other than the JSON should be valid syntax and the overall structure shouldn't be modified extensively without further discussion. Do make sure to note references/urls as to why your PR should be included. If for instance you add a new name to a license, where do you see it a lot, why should it be added, is it referenced in a particular package manager, a particular CMS, etc. The more information there is, the better we can create a comprehensive list to cover different variations and needs!

Special Thanks

The following resources have provided the data and insight used for this data: