Socket
Socket
Sign inDemoInstall

amp-validator

Package Overview
Dependencies
99
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    amp-validator

A commandline validator for AMP Project


Version published
Weekly downloads
11
decreased by-26.67%
Maintainers
1
Install size
12.7 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 18 Mar 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc