Socket
Socket
Sign inDemoInstall

pa11y-reporter-1.0-json

Package Overview
Dependencies
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pa11y-reporter-1.0-json

A Pa11y 2.0+ reporter which outputs the 1.0 JSON format


Version published
Weekly downloads
13
decreased by-38.1%
Maintainers
6
Weekly downloads
 
Created
Source

Pa11y JSON 1.0 Reporter [Deprecated]

A reporter for Pa11y 2.0+ which outputs 1.0-style JSON.

NPM version Node.js version support Build status Dependencies GPLv3 licensed

pa11y --reporter 1.0-json nature.com

:skull: Please note: this reporter is now deprecated and will no longer be supported by the Pa11y team. :skull:

Refer to the Pa11y Migration Guide to update any applications that still expect Pa11y 1.0 JSON format. Alternatively, you're welcome to published your own reporter using modern Pa11y's reporters interface.

Usage

Install Pa11y and Pa11y JSON 1.0 Reporter with npm:

npm install -g pa11y
npm install -g pa11y-reporter-1.0-json

Use the reporter with the --reporter flag:

pa11y --reporter 1.0-json nature.com

You'll get the 1.0-style JSON:

{
    "isPerfect": Boolean,
    "count": {
        "total": Number,
        "error": Number,
        "warning": Number,
        "notice": Number
    },
    "results": Array
}

Contributing

To contribute to Pa11y JSON 1.0 Reporter, clone this repo locally and commit your code on a separate branch.

Please check that everything works by running the following before opening a pull-request:

make ci

License

Pa11y JSON 1.0 Reporter is licensed under the Lesser General Public License (LGPL-3.0).
Copyright © 2015–2017, Team Pa11y

Keywords

FAQs

Package last updated on 28 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc