![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
clang-tidy
This project is a JavaScript wrapper for the clang-tidy
tool, a linter and
static code analyzer for C/C++ code based on LLVM. It allows easy access to clang-tidy
through Node.js, automating platform-specific binary selection and execution.
Cross-Platform Compatibility: Automatically selects the correct clang-tidy
binary
based on your operating system (Linux, macOS, Windows) and architecture (x64, arm64).
Simple Command-Line Interface: Use clang-tidy
directly from your terminal with Node.js
without manually managing binaries.
Error Handling: Provides clear error messages if the tool is not available for your platform.
To use this package, first install it as a global dependency:
npm install -g clang-tidy
This makes the clang-tidy
command available globally in your environment.
Once installed, you can use clang-tidy
as you would normally from the command line:
clang-tidy ...
You can pass any arguments that clang-tidy
supports. The command will execute using the
appropriate binary for your platform.
The script automatically detects the platform and architecture of your machine, such as:
linux_x64
darwin_arm64
win32_x64
Based on this information, it locates the appropriate clang-tidy
binary from the binaries
directory. If a matching binary isn't found, it throws an error with instructions to file an
issue for unsupported platforms.
The following platforms are currently supported:
If your platform is not supported, the error message will direct you to file an issue on the repository.
If you'd like to add support for a new platform or improve this package, feel free to submit an issue or a pull request on the GitHub repository.
This project is licensed under the MIT License. See the LICENSE
file for more information.
FAQs
A JavaScript packaging of clang-tidy
The npm package clang-tidy receives a total of 2 weekly downloads. As such, clang-tidy popularity was classified as not popular.
We found that clang-tidy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.