Run Bootlint as a server.
Install the module with:
npm install bootlint-server
Bootlint can also be run as an HTTP server that exposes a very simple API. Use
npm run start to run the server.
By default, it runs on port
7070. Set the
$PORT environment variable to change which port it uses.
POST an HTML document to
/ and the document's lint problems will be returned as JSON.
The endpoint accepts an optional querystring argument named
disable, whose value is a comma-separated list of linter IDs to disable.
The project's coding style is laid out in the ESLint configuration. Add unit tests for any new or changed functionality. Lint and test your code using the npm scripts.
Copyright (c) 2014-2019 The Bootlint Authors. Licensed under the MIT License.