Skip to content

Webperf-se/plugin-html

Repository files navigation

plugin-html

HTML plugin for sitespeed.io

Overview

The plugin-html is a plugin for sitespeed.io that helps identify and log HTML errors during web testing. It integrates with sitespeed.io to provide detailed information about HTML errors.

Features

Installation

To install the plugin, run the following command:

npm install plugin-HTML

Usage

To use the plugin with sitespeed.io, add it to your sitespeed.io configuration file or command line options.

Configuration

Add the plugin to your sitespeed.io configuration file:

{
  "plugins": {
    "plugin-html": {
      "enabled": true
    }
  }
}

Command Line

You can also enable the plugin via the command line:

sitespeed.io --plugins.add plugin-html

Example

Here is an example of how to use the plugin with sitespeed.io:

sitespeed.io https://www.example.com --plugins.add plugin-html

Development

Running Tests

To run the tests, use the following command:

npm test

Linting

To lint the code, use the following command:

npm run lint

To automatically fix linting issues, use the following command:

npm run lint:fix

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

Author

Acknowledgements