{"id":14984118,"url":"https://github.com/lumirlumir/npm-clang-format-node","last_synced_at":"2026-04-22T05:11:46.121Z","repository":{"id":255465865,"uuid":"850660777","full_name":"lumirlumir/npm-clang-format-node","owner":"lumirlumir","description":"Node wrapper for LLVM Clang's clang-format and git-clang-format native binaries inspired by angular/clang-format.🐉","archived":false,"fork":false,"pushed_at":"2025-04-10T07:24:20.000Z","size":195364,"stargazers_count":22,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T08:29:20.953Z","etag":null,"topics":["c","checker","clang","clang-format","cli","cpp","cpplint","eslint","format","formatter","git-clang-format","lint","linter","nodejs","prettier"],"latest_commit_sha":null,"homepage":"https://clang-format-node.lumir.page","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lumirlumir.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["lumirlumir"],"open_collective":"lumirlumir"}},"created_at":"2024-09-01T12:27:13.000Z","updated_at":"2025-04-10T07:23:04.000Z","dependencies_parsed_at":"2024-11-04T08:17:58.945Z","dependency_job_id":"e13c7c6e-f086-4a72-bd0e-3c5f045c0266","html_url":"https://github.com/lumirlumir/npm-clang-format-node","commit_stats":{"total_commits":44,"total_committers":2,"mean_commits":22.0,"dds":"0.11363636363636365","last_synced_commit":"b36f3298ecb12e4b90bef7e1aefa8a64c2cd4833"},"previous_names":["lumirlumir/npm-clang-format-node"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumirlumir%2Fnpm-clang-format-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumirlumir%2Fnpm-clang-format-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumirlumir%2Fnpm-clang-format-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumirlumir%2Fnpm-clang-format-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lumirlumir","download_url":"https://codeload.github.com/lumirlumir/npm-clang-format-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248188096,"owners_count":21061977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","checker","clang","clang-format","cli","cpp","cpplint","eslint","format","formatter","git-clang-format","lint","linter","nodejs","prettier"],"created_at":"2024-09-24T14:08:28.924Z","updated_at":"2026-04-22T05:11:46.115Z","avatar_url":"https://github.com/lumirlumir.png","language":"JavaScript","funding_links":["https://github.com/sponsors/lumirlumir","https://opencollective.com/lumirlumir"],"categories":["Angular-Inspired Solutions"],"sub_categories":["Wrappers"],"readme":"# clang-format-node\n\n![GitHub Release](https://img.shields.io/github/v/release/lumirlumir/npm-clang-format-node?label=release%20(LLVM%20version)\u0026color=83ba63\u0026display_name=release)\n[![NPM Version](https://img.shields.io/npm/v/clang-format-node?color=83ba63)](https://www.npmjs.com/package/clang-format-node)\n![NPM Downloads](https://img.shields.io/npm/dm/clang-format-node?color=83ba63)\n![Node Current](https://img.shields.io/node/v/clang-format-node?color=83ba63)\n\n[![ci](https://github.com/lumirlumir/npm-clang-format-node/actions/workflows/ci.yml/badge.svg)](https://github.com/lumirlumir/npm-clang-format-node/actions/workflows/ci.yml)\n[![test](https://github.com/lumirlumir/npm-clang-format-node/actions/workflows/test.yml/badge.svg)](https://github.com/lumirlumir/npm-clang-format-node/actions/workflows/test.yml)\n[![codecov](https://codecov.io/gh/lumirlumir/npm-clang-format-node/graph/badge.svg?token=69BF05THA2)](https://codecov.io/gh/lumirlumir/npm-clang-format-node)\n\n\u003e [!IMPORTANT]\n\u003e\n\u003e If you like this package, please give it a star on [GitHub](https://github.com/lumirlumir/npm-clang-format-node)!⭐\u003cbr/\u003e\n\u003e Your support helps us improve and maintain the project.\n\nNode wrapper for LLVM Clang's `clang-format` and `git-clang-format` native binaries inspired by [angular/clang-format](https://github.com/angular/clang-format).🐉\n\n## Documentation\n\nFor full documentation, see the [official documentation of the `clang-format-node`](https://clang-format-node.lumir.page).\n\n## Fully Secure Binaries\n\nBinaries are built directly from the [official LLVM project source code](https://github.com/llvm/llvm-project). No third-party binaries are used; everything is built from scratch using [GitHub Actions](https://github.com/lumirlumir/npm-clang-format-node/blob/main/.github/workflows/llvm-build-bump-pr.yml).\n\nAll binaries are fully verified by [GitHub Actions Attestation Provenances](https://github.com/lumirlumir/npm-clang-format-node/attestations) and [npm Build Provenances](https://docs.npmjs.com/generating-provenance-statements).\n\nFor more information, please refer to the [Security](https://github.com/lumirlumir/npm-clang-format-node/blob/main/SECURITY.md) page.\n\n## Included Packages\n\nThis repository is maintained as a **monorepo** and includes the following **three** packages.\n\n### `clang-format-node` - \u003csmall\u003e[Repository](https://github.com/lumirlumir/npm-clang-format-node/tree/main/packages/clang-format-node) | [npm](https://www.npmjs.com/package/clang-format-node)\u003c/small\u003e\n\n[![NPM Version](https://img.shields.io/npm/v/clang-format-node)](https://www.npmjs.com/package/clang-format-node)\n![Node Current](https://img.shields.io/node/v/clang-format-node)\n\nNode wrapper for `clang-format` native binary inspired by angular/clang-format. (The **CORE** package.)\n\n### `clang-format-git` - \u003csmall\u003e[Repository](https://github.com/lumirlumir/npm-clang-format-node/tree/main/packages/clang-format-git) | [npm](https://www.npmjs.com/package/clang-format-git)\u003c/small\u003e\n\n[![NPM Version](https://img.shields.io/npm/v/clang-format-git)](https://www.npmjs.com/package/clang-format-git)\n![Node Current](https://img.shields.io/node/v/clang-format-git)\n\nNode wrapper for `git-clang-format` Python script as a standalone native binary to **allow execution without a Python dependency**.\n\n### `clang-format-git-python` - \u003csmall\u003e[Repository](https://github.com/lumirlumir/npm-clang-format-node/tree/main/packages/clang-format-git-python) | [npm](https://www.npmjs.com/package/clang-format-git-python)\u003c/small\u003e\n\n[![NPM Version](https://img.shields.io/npm/v/clang-format-git-python)](https://www.npmjs.com/package/clang-format-git-python)\n![Node Current](https://img.shields.io/node/v/clang-format-git-python)\n\nNode wrapper for `git-clang-format` Python script. **This package requires Python3 as a dependency**.\n\n## Supported\n\nSee the [supported](https://clang-format-node.lumir.page/docs/get-started/supported) section of the documentation, which lists the following:\n\n- OS Platforms and Architectures\n- Node.js Version\n- GitHub Actions Runner Images\n- Docker Build Images\n\n## Releases\n\nEach 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`](https://github.com/lumirlumir/npm-clang-format-node/blob/main/.github/workflows/llvm-build-bump-pr.yml).\n\n## Contributing (Issues \u0026 Pull Requests)\n\nThanks 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!\n\nPlease read our [Code of Conduct](https://github.com/lumirlumir/.github/blob/main/CODE_OF_CONDUCT.md#contributor-covenant-code-of-conduct) and [Contributing](https://github.com/lumirlumir/npm-clang-format-node/blob/main/CONTRIBUTING.md) Guides before you work on these things. We also recommend you to read the [Guides on LLVM `clang-format`](http://clang-format-node.lumir.page/docs/further-reading/guides-on-llvm-clang-format) mentioned in the documentation before contributing.\n\n## Code of Conduct\n\nSee [Code of Conduct](https://github.com/lumirlumir/.github/blob/main/CODE_OF_CONDUCT.md#contributor-covenant-code-of-conduct).\n\n## Change Log\n\nSee [Change Log](https://github.com/lumirlumir/npm-clang-format-node/blob/main/CHANGELOG.md).\n\n## Versioning\n\nSee [Versioning](http://clang-format-node.lumir.page/docs/community/versioning).\n\n## Security\n\nSee [Security](https://github.com/lumirlumir/npm-clang-format-node/blob/main/SECURITY.md).\n\n## License\n\n[MIT](https://github.com/lumirlumir/npm-clang-format-node/blob/main/LICENSE.md) under [LLVM Apache License 2.0](https://github.com/llvm/llvm-project/blob/main/LICENSE.TXT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flumirlumir%2Fnpm-clang-format-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flumirlumir%2Fnpm-clang-format-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flumirlumir%2Fnpm-clang-format-node/lists"}