Skip to main content

BEM Class Auditor for HTML and SCSS

Runs the same checker as our npm package on a Node.js runtime that pip installs for you (nodejs-wheel-binaries) - no system Node.js needed. Your files are checked locally.

BEM Class Auditor - HTML and SCSS naming — finds the line

16 BEM naming rules read the HTML file you have open and 22 markup and SCSS skeletons write the stylesheet shell, so the class names get fixed before the pull request comes back for them.

Install

bem-class-extractor-html file.htm

Node 18+. The same 16 rules as the VS Code extension, from a terminal or CI.

Free

  • Audits the HTML file you have open against all 16 BEM naming rules and lists every finding with its line number, and inserts any of the 22 markup and SCSS skeletons at the cursor. One file is finished, with no licence key and nothing withheld.
  • --rules lists every rule

With a licence ($39 once)

  • Runs the same 16 rules across every HTML file in the repository instead of only the one on screen, and writes the findings out as a CSV, JSON or HTML file you can attach to the pull request.
bem-class-extractor-html --dir ./templates --report html --out report.html

$73 an hour, the 2026 average freelance front-end developer rate (arc.dev, contractrates.fyi); a naming pass over a themed repo is at least one of those hours, and US mid-level contract rates run $89-$140.

Use from an AI agent (MCP)

Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:

{ "mcpServers": { "bem-class-extractor-html": { "command": "bem-class-extractor-html", "args": ["--mcp"] } } }

Tools: check_text and check_file (free) · check_dir (licence). The agent gets every finding with the line number.

Use in CI

- name: BEM Class Auditor for HTML and SCSS
  run: pip install rulestamp-bem-class-extractor-html && bem-class-extractor-html --dir . --ci

The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set READYSTACK_LICENSE=<key> or run --license <key> once.

Get a licence

Install (PyPI)

pip install rulestamp-bem-class-extractor-html
bem-class-extractor-html --help

Metadata

Release files for rulestamp-bem-class-extractor-html 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rulestamp-bem-class-extractor-html 0.1.7
File Size Uploaded Provenance Actions
rulestamp_bem_class_extractor_html-0.1.7.tar.gz 13.8 kB Without provenance Details for rulestamp_bem_class_extractor_html-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rulestamp-bem-class-extractor-html 0.1.7
File Interpreter ABI Platform Actions
rulestamp_bem_class_extractor_html-0.1.7-py3-none-any.whl Python 3 none any Details for rulestamp_bem_class_extractor_html-0.1.7-py3-none-any.whl

Total release size: 29.4 kB

Release files / rulestamp_bem_class_extractor_html-0.1.7.tar.gz

Download URL rulestamp_bem_class_extractor_html-0.1.7.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
125242e94b2bebccc06aa103fece02d9aa927c5f2ce0ca1a7977daddc29eada0
BLAKE2b-256 checksum
How to use checksums
efbf9d3500bc87c352d92861fc3f870b1ee57eb03e4b3e40f31ba52e2bd4d60f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / rulestamp_bem_class_extractor_html-0.1.7-py3-none-any.whl

Download URL rulestamp_bem_class_extractor_html-0.1.7-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9f24b0b2a5f7e38cf304d790af63758010d8448ae4348491b45163f80d876a9
BLAKE2b-256 checksum
How to use checksums
b7f7f37601f3f31287526b37c8c744b6f3337284f27d33a01630a22745810aea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for rulestamp-bem-class-extractor-html 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page