Npm Facts¶
npm.NpmPackages
¶
host.get_fact(NpmPackages, directory=None)
Returns a dict of installed npm packages globally or in a given directory:
{
"package_name": ["version"],
}
Documentation may be out of date!
You are not reading the most recent version the documentation. 3.x is the latest release version available.