npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

clang-format-git-python

v2.0.6

Published

Node wrapper for git-clang-format Python script. This package requires Python3 as a dependency.🐉

Readme

clang-format-node

GitHub Release NPM Version NPM Downloads Node Current

lint test test-cross-platform codecov

[!IMPORTANT]

If you like this package, please give it a star on GitHub!⭐ Your support helps us improve and maintain the project.

Node wrapper for LLVM Clang's clang-format and git-clang-format native binaries inspired by angular/clang-format.🐉

Documentation

For full documentation, see the official documentation of the clang-format-node.

Fully Secure Binaries

Binaries are built directly from the official LLVM project source code. No third-party binaries are used; everything is built from scratch using GitHub Actions.

All binaries are fully verified by GitHub Actions Attestation Provenances and npm Build Provenances.

For more information, please refer to the Security page.

Included Packages

This repository is maintained as a monorepo and includes the following three packages.

clang-format-node - Repository | npm

NPM Version Node Current

Node wrapper for clang-format native binary inspired by angular/clang-format. (The CORE package.)

clang-format-git - Repository | npm

NPM Version Node Current

Node wrapper for git-clang-format Python script as a standalone native binary to allow execution without a Python dependency.

clang-format-git-python - Repository | npm

NPM Version Node Current

Node wrapper for git-clang-format Python script. This package requires Python3 as a dependency.

Supported

See the supported section of the documentation, which lists the following:

  • OS Platforms and Architectures
  • Node.js Version
  • GitHub Actions Runner Images
  • Docker Build Images

Releases

Each package intends to release a new npm package for every latest release of clang-format and git-clang-format. Automated GitHub Actions check for the latest LLVM release every week, builds all packages using their own pipeline, and makes a pull request. All processes are automated. If you are interested in the build process, take a look at .github/workflows/llvm-build-bump-pr.yml.

Contributing (Issues & Pull Requests)

Thanks for having attention to this package🙇‍♂️. We appreciate you spending the time to work on these things. Every issue and pull request about bugs, suggestions and the other topics is always welcome!

Please read our Code of Conduct and Contributing Guides before you work on these things. We also recommend you to read the Guides on LLVM clang-format mentioned in the documentation before contributing.

Code of Conduct

See Code of Conduct.

Change Log

See Change Log.

Versioning

See Versioning.

Security

See Security.

License

MIT under LLVM Apache License 2.0.