🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

badness

Package Overview
Dependencies
Maintainers
1
Versions
13
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

latest
Source
npmnpm
Version
0.13.0
Version published
Maintainers
1
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 01 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts