← All tools

clang-format-node

Popularity 65 Updated Development & Build

Node wrapper for clang-format native binary inspired by angular/clang-format.🐉

npmauto-collected

Installation

npm
npm install -g clang-format-node

Install with npm.

clang-format-node

&color=83ba63&displayname=release) [](https://www.npmjs.com/package/clang-format-node)

[!IMPORTANT] If you like this package, please give it a star on GitHub!⭐<br/ 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 - <smallRepository | npm</small

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

clang-format-git - <smallRepository | npm</small

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

clang-format-git-python - <smallRepository | npm</small

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