Using pyinfra
Deploy Reference
npm_packages
How pyinfra Works
Meta
Documentation may contain unreleased features!
You are reading most recent documentation which may not have been released yet. 1.x is the latest release version available.
host.fact.npm_packages(directory=None)
Returns a dict of installed npm packages globally or in a given directory:
{ 'package_name': ['version'], }