UNPKG

fast_htmlcs

Version:

A high performance rewrite of HTML_CodeSniffer.

9 lines 303 B
import { existsSync } from "fs"; const scriptPath = __dirname + "/build/HTMLCS.js"; if (existsSync(scriptPath)) { module.exports = require(scriptPath); } else { throw new Error("HTMLCS must be built using `grunt build` before it can be required in Node.js."); } //# sourceMappingURL=index.js.map