{"library":"sonarqube-scanner","type":"library","category":null,"description":"The `sonarqube-scanner` package provides a Node.js-based client to initiate code analysis on SonarQube Server and SonarCloud for JavaScript, TypeScript, and other compatible projects. Unlike the Java-based SonarScanner CLI, this module does not require a Java Runtime Environment, streamlining integration into JavaScript-centric build pipelines. The current stable version is 4.3.6, with frequent releases primarily focused on dependency updates, minor bug fixes, and security patches. It offers both a command-line interface (via `npx @sonar/scan` or global installation) and a programmatic API for integration into Node.js applications. Key differentiators include its lightweight nature for Node.js environments and direct support for `sonar.projectKey`, `sonar.sources`, and other SonarQube analysis properties.","language":"javascript","status":"active","version":"4.3.6","tags":["javascript","sonarqube","sonarcloud","sonarqube-scanner","sonarqube-runner","sonar-scanner","sonar-runner","typescript"],"install":[{"cmd":"npm install sonarqube-scanner","imports":["import scanner from 'sonarqube-scanner';\n// or\nimport * as scanner from 'sonarqube-scanner';","import scanner from 'sonarqube-scanner';\nscanner({ /* options */ }, callback);","npx sonarqube-scanner\n# or globally installed\nsonar"]},{"cmd":"yarn add sonarqube-scanner","imports":[]},{"cmd":"pnpm add sonarqube-scanner","imports":[]}],"homepage":"https://www.sonarsource.com/products/sonarqube/","github":"https://github.com/SonarSource/sonar-scanner-npm","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/sonarqube-scanner","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/sonarqube-scanner/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}