Registry / testing / bemhtml-lint

bemhtml-lint

JSON →
library0.1.0jsnpmunverified

A lint tool for BEMHTML template syntax, only checking parser errors. Version 0.1.0, last updated in 2013. No active development; only available as a global npm package. It has no dependencies and is limited to basic validation. Not comparable to modern linters; essentially a proof-of-concept.

npm install bemhtml-lint
INSTALL
IMPORT
SIG · BEMHTML-LINT
B
bemhtml-lint
testingjavascriptv0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default (CLI)
bemhtml-lint <file>
require('bemhtml-lint')
Package is CLI-only. No programmatic API.
N/A
N/A
import { lint } from 'bemhtml-lint'
No exports; only binary.

Shows global installation and basic command-line usage on a single BEMHTML file.

npm install -g bemhtml-lint # Create a test file echo 'block my-block' > test.bemhtml # Lint it bemhtml-lint test.bemhtml # Output: no errors or syntax error message
Debug
Known issues
deprecatedPackage is unmaintained since 2013.
fix
Do not use for new projects. Consider alternatives or manual validation.
affects: all
Errors
Common errors & fixes
Error: Cannot find module 'bemhtml-lint'
Package not installed globally or not in PATH.
fix
Install globally: npm install -g bemhtml-lint
Upgrade
Version history
0.1.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
14
Amazon
1
OpenAI (training)
1
Resources
bemhtml-lint — npm install bemhtml-lint · libregistry