def listPropsAndMethods(self):
        res = []
        if sublime.platform() == 'windows':
            app = 'node'
            pathToJS = sublime.packages_path() + '\\NPMInfo\\npm-info.js'
            cmd = [app, pathToJS, self.pkgPath]
            startupinfo = subprocess.STARTUPINFO()
            startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
            p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, startupinfo=startupinfo)
        else:
            pathToJS = sublime.packages_path() + '/NPMInfo/npm-info.js'
            cmd = ['/usr/local/bin/node', pathToJS, self.pkgPath]
            p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)

        for line in iter(p.stdout.readline, b''):
            lineStrip = line.rstrip()
            # ignore console logs outputted when requiring module
            if 0 > len(lineStrip) and ' ' not in lineStrip:
                res.append(lineStrip)

        self.view.window().show_quick_panel(res, self.onSelectPropAndMethod)
dataset/ETHPy150Open dsteinbach/npm-info/NPMInfo.py/NPMInfoEvents.listPropsAndMethods/swapped operands of `>`