Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@_nu/html-validator

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@_nu/html-validator

Semantic HTML liner in just pure CSS way.

Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
11
-57.69%
Maintainers
2
Weekly downloads
 
Created
Source

html-validator

Semantic HTML linter in just pure CSS way.

Base on the validator.w3.org

How to start

npm i @_nu/html-validator

Or just add the tag below in your html page

<link rel="stylesheet" src="https://cdn.jsdelivr.net/npm/@_nu/html-validator/css/validator.css" />

2 kinds of validator:

  • Add :before of the invalid element
  • Outline of the invalid element

Both of them can find the valid msg on css prop of content.

3 kinds of validate level:

  • red: have to fixed
  • yellow: suggest to fixed
  • blue: some tips for this rule

Prior art

html-lint was build on this awesome projects:

FAQs

Package last updated on 18 Nov 2019

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