New:Socket for Asana Is Now Available.Learn more
Sign In

badness

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

badness

A language, formatter, and linter for LaTeX

Source
npmnpm
Version
0.16.0
Version published
Weekly downloads
31
-91.51%
Maintainers
1
Weekly downloads
 
Created
Source

Badness

Badness is a language server, formatter, and linter for LaTeX documents.

Install

npm install -g badness

This installs the badness command globally. The package detects your platform at install time and pulls in a prebuilt binary via npm's optional dependencies; no Rust toolchain or postinstall download required.

You can also use it without a global install:

npx badness format document.tex

Usage

badness format document.tex     # format in place
badness format <document.tex    # read stdin, write stdout
badness lint document.tex       # lint
badness lint --fix document.tex # lint and apply auto-fixes
badness lsp                     # start the language server

See badness --help and the documentation for the full feature list and configuration reference.

Supported platforms

Prebuilt binaries are shipped for:

  • Linux x64 (glibc and musl)
  • Linux arm64 (glibc and musl)
  • macOS x64 (Intel) and arm64 (Apple Silicon)
  • Windows x64 and arm64

If your platform isn't covered, install via Cargo, PyPI, or one of the other methods listed at https://badness.dev/.

License

MIT. See LICENSE.

Keywords

latex

FAQs

Package last updated on 14 Aug 2026

Related posts