def __virtual__():
    '''
    Only load if the npm module is available in __salt__
    '''
    return 'npm' if 'npm.list' in __salt__ else False, '\'npm\' binary not found on system'
dataset/ETHPy150Open saltstack/salt/salt/states/npm.py/__virtual__/original