Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
legal-eagle
Advanced tools
A tool for listing the licenses of all dependencies of a node module
A library for listing the licenses of an npm module's dependencies.
Provide the path to the module in question and a callback. Your callback will
be passed a hash with the name@version of each dependency as a key and its
license
, source
, and sourceText
.
legalEagle = require 'legal-eagle'
legalEagle {path: process.cwd()}, (err, summary) ->
return console.error(err) if err?
console.log(summary)
Pass omitPermissive: true
in the params hash to only list unknown or
non-permissive licenses in the summary.
If you know the license of a given dependency but this library can't
automatically determine it, pass an overrides
hash with its name@version as
the key and the license
, source
and sourceText
you want to use in the
summary.
FAQs
A tool for listing the licenses of all dependencies of a node module
The npm package legal-eagle receives a total of 717 weekly downloads. As such, legal-eagle popularity was classified as not popular.
We found that legal-eagle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.