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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cpp-linter/clang-format

v23.1.5

Published

clang-format, the C/C++ code formatter from LLVM, as a static binary (LLVM 23.1.5).

Downloads

3,936

Readme

@cpp-linter/clang-format

part of cpp-linter

clang-format 23.1.5 as a static binary, for Linux, macOS and Windows on x64 and arm64.

npm install --save-dev @cpp-linter/clang-format@23
npx clang-format -i src/*.cpp
# check only, for CI
npx clang-format --dry-run --Werror src/*.cpp

The npm version is the LLVM version. clang-format output changes between LLVM major versions, so pin one: @cpp-linter/clang-format@23 always installs the newest LLVM 23 release. Older LLVM majors are under the Versions tab, such as @cpp-linter/clang-format@18.

How it is installed

This package has one optional dependency per platform, such as @cpp-linter/clang-format-linux-x64, and npm installs only the one for your machine. Nothing is downloaded or run at install time, so it works with --ignore-scripts, pnpm, Yarn, offline caches and private registry mirrors.

From Node.js

const clangFormat = require('@cpp-linter/clang-format');

clangFormat.binaryPath(); // absolute path of the clang-format binary
clangFormat.run(['--version']); // runs it and returns the exit code

Where the binaries come from

They are built from the LLVM source by cpp-linter/clang-tools-static-binaries, with a GitHub build attestation for every file. Before publishing, the release workflow checks each binary's sha512 and attestation, and the packages are published from GitHub Actions with npm provenance.

Website · Source · Issues · Discussions