Class: LicenseFinder::NPM
- Inherits:
-
PackageManager
- Object
- PackageManager
- LicenseFinder::NPM
- Defined in:
- lib/license_finder/package_managers/npm.rb
Instance Method Summary collapse
Methods inherited from PackageManager
#active?, #capture, command_exists?, current_packages, #current_packages_with_relations, #initialize, installed?, package_managers
Constructor Details
This class inherits a constructor from LicenseFinder::PackageManager
Instance Method Details
#current_packages ⇒ Object
6 7 8 |
# File 'lib/license_finder/package_managers/npm.rb', line 6 def current_packages NpmPackage.packages_from_json(npm_json, package_path) end |