Lint your JavaScript and HTML code and output errors to a log file. Convenient for pre-commit hooks and build systems to maintain code quality.

Usage no npm install needed!

<script type="module">
  import lintroller from '';


Build Status


LintRoller is a Node.js module that recursively dives into a directory and lints your JavaScript and HTML files.

  • Available linting platforms include:

    • JSLint
    • JSHint
    • Esprima
    • W3C HTML validator
  • An example shell script (, test.bat) is provided to run the test.js demo.

View the full API documentation.

Also see the NPM page for more details.