code: def use_npm_ci(path):
      
      # https://docs.npmjs.com/cli/ci#description
      with open(os.devnull, 'w') as fnull:
          if ((os.path.isfile(os.path.join(path,
                                           'package-lock.json')) or
               os.path.isfile(os.path.join(path,
                                           'npm-shrinkwrap.json'))) and
                  subprocess.call(
                      [NPM_BIN, 'ci', '-h'],
                      stdout=fnull,
                      stderr=subprocess.STDOUT
                  ) == 0):
              return True
      return False
docs: Return true if npm ci should be used in lieu of npm install.