Module Expr Str ImportFrom alias FunctionDef arguments args NameParam defaults AttributeLoad NameLoad attr body Expr Str If CompareNotEq Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If NameLoad body If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad orelse If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list
N/A N/A 
Node.js
=======

This module provides tools for installing `Node.js`_ and managing
packages using `npm`_.

.. note: the ``simplejson`` module is required on Python 2.5

.. _Node.js: http://nodejs.org/
.. _npm: http://npmjs.org/

 fabtools nodejs installed_from_source N/A N/A version N/A N/A nodejs DEFAULT_VERSION N/A N/A 
    Require Node.js to be installed from source.

    ::

        from fabtools import require

        require.nodejs.installed_from_source()

     N/A N/A N/A N/A nodejs version version N/A N/A N/A N/A nodejs install_from_source version N/A package N/A N/A pkg_name version local N/A None False N/A N/A 
    Require a Node.js package.

    If the package is not installed, and no *version* is specified, the
    latest available version will be installed.

    If a *version* is specified, and a different version of the package
    is already installed, it will be updated to the specified version.

    If `local` is ``True``, the package will be installed locally.

    ::

        from fabtools import require

        # Install package system-wide
        require.nodejs.package('foo')

        # Install package locally
        require.nodejs.package('bar', local=True)

     N/A pkg_version N/A N/A nodejs package_version pkg_name local local N/A version N/A N/A N/A pkg_version version N/A N/A N/A N/A nodejs install_package pkg_name version local local N/A N/A N/A pkg_version None N/A N/A N/A N/A nodejs install_package pkg_name local local N/A