spdx-licenses

Has a list of all the valid SPDX licenses, and for a given id, will return the full name and if OSI approved.

lisense

A simple but working CLI tool to extract NPM package licenses reliably