meta_package_manager.managers.npm module¶
-
class
meta_package_manager.managers.npm.
NPM
[source]¶ Bases:
meta_package_manager.base.PackageManager
-
cli_path
= u'/usr/local/bin/npm'¶
-
platforms
= frozenset([u'macos'])¶
-
name
= u"Node's npm"¶
-
installed
¶ The
cachedproperty
is used similar toproperty
, except that the wrapped method is only called once. This is commonly used to implement lazy attributes.After the property has been accessed, the value is stored on the instance itself, using the same name as the cachedproperty. This allows the cache to be cleared with
delattr()
, or through manipulating the object’s__dict__
.
-
outdated
¶ The
cachedproperty
is used similar toproperty
, except that the wrapped method is only called once. This is commonly used to implement lazy attributes.After the property has been accessed, the value is stored on the instance itself, using the same name as the cachedproperty. This allows the cache to be cleared with
delattr()
, or through manipulating the object’s__dict__
.
-