NPM License Gets a package and its dependencies licenses as JSON. Installation npm install -g npm-licenses Usage npm-licenses --package node_modules/npm-licenses/package.json { "dependencies": { "commander": "MIT" }, "devDependencies": {}, "npm-licenses": "MIT" }