UNPKG

htmlcs

Version:

html hint tool, focused on semantic code style.

21 lines (15 loc) 381 B
/** * @file main file for browser * @author nighca<nighca@live.cn> */ var htmlcs = require('./lib/htmlcs'); var notSupported = function () { throw new Error('Sorry, this method is not supported in browser.') }; module.exports = { addRule: htmlcs.addRule, hint: htmlcs.hint, format: htmlcs.format, hintFile: notSupported, formatFile: notSupported };