def METHOD_NAME():
    try:
        npm_bin = shutil.which("npm")
        cmd_line = ("{} --json ls autorest -g".format(npm_bin)).split()
        return json.loads(subprocess.check_output(cmd_line).decode().strip())
    except Exception:
        return {}