0.1.5 • Published 10 years ago

amp-validator v0.1.5

Weekly downloads
11
License
Apache-2.0
Repository
github
Last release
10 years ago

Codeship Status for dorightdigital/amp-validator

AMP Validator

A command line tool for validating AMP HTML pages.

Usage

npm install -g amp-validator
amp-validator https://www.theguardian.com/sport/2015/nov/10/russia-iaaf-facing-suspension-wada-doping-report/amp
amp-validator myProject/localExample.html
amp-validator a.html b.html c.html || echo 'One of those failed'

To output as JSON use -o json For no colors use -o colorless-text

Supports multiple URLs, supports local files.

Requirements

  • Node 4.2.1 - this is precisely the version needed at the moment (you can use nvm install 4.2.1 && nvm use 4.2.1 if you have nvm installed)
  • node-gyp must be installed
0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.1

10 years ago