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

@rio-cloud/rio-license-checker

v1.2.0

Published

Helps checking third-party libraries' licenses according to RIO guidelines.

Readme

@rio-cloud/rio-license-checker

Helps checking third-party libraries' licenses according to RIO guidelines.

Usage

# general usage information
npx @rio-cloud/rio-license-checker help

# information on the default "run-check" command
npx @rio-cloud/rio-license-checker help run-check

# information on the "download-whitelist" command
npx @rio-cloud/rio-license-checker help download-whitelist

# information on the "upload-report" command
npx @rio-cloud/rio-license-checker help upload-report

The run-check command is the default command. The command name is optional:

npx @rio-cloud/rio-license-checker run-check -a rio-example -s example-service -t npm-frontend
# is the same as
npx @rio-cloud/rio-license-checker -a rio-example -s example-service -t npm-frontend

Automatic mode (a.k.a. run-check)

  1. Downloads the appropriate license whitelist that's curated by the RIO Security Guild from a central location.
  2. Orchestrates a 3rd-party license checking tool to inspect your project's dependencies.
    • If any dependency is found with non-compliant license information, this tool will exit with a non-zero code.
    • If all dependencies are okay: generate a report file containing the list of dependencies, their versions, and their respective license information.
  3. Uploads the report to a central location (optional; this is only done when the --upload flag is set).

gradle

  • The underlying license report tool is hierynomus/license-gradle-plugin.
  • You need to include & configure the plugin in your build.gradle.kts.
  • The output of the plugin is compared with the whitelist programmatically (as we used to do in the build.gradle.kts).
  • For subprojects, you need a separate invocation of the license checker, where the directory points to the subproject.
    • Currently, only subprojects directly below the root project are supported (limited by where the checker looks for the gradle wrapper).
    • When doing so, take care to specify a different service name to prevent overwriting the license report of the root project.
    • Please see below for examples.
npx @rio-cloud/rio-license-checker -a rio-example -s example-service -t gradle
npx @rio-cloud/rio-license-checker -a rio-example -s example-service_sub-project -t gradle -d ./sub-project

npm-frontend and npm-backend

  • The underlying license checker tool is license-checker-rseidelsohn.
  • The license checker generates a report and compares the licenses to the passed whitelist.
  • The application's own package is automatically excluded from the report, as it (usually) does not have a license.
  • For testability reasons, we cannot use the programmatic interface of the tool. Instead, we call it as a subprocess via zx.
  • You can exclude dependencies by creating a oss-licenses-ignore-packages.txt file in the project directory.
  • Note that this will statically inspect the dependencies as defined in your package.json. Especially for frontends, this might not be accurate enough. Check out the "manual" type for npm-frontend-bundled below.

download-whitelist

To just download the appropriate whitelist file as-is without any processing or running the check, you can use the download-whitelist command:

npx @rio-cloud/rio-license-checker download-whitelist -t npm-frontend-bundled

Note that this will only work when the current session has access to AWS.

Also note that this only supports the "npm-frontend-bundled" type at the moment, which will save the whitelist as frontend-license-whitelist.json in the project directory.

This command supports a directory and verbose option, as well. Check out the usage docs for more info.

upload-report

If your license check is handled by another tool during the build, you can use the upload-report command to upload the report output from a given file.

npx @rio-cloud/rio-license-checker upload-report -a rio-example -s example-service -t npm-frontend-bundled -r ./build/libraries.json

Note that this only supports the "npm-frontend-bundled" type at the moment.

This command supports a verbose option, as well. Check out the usage docs for more info.