https://github.com/robinboers/vnu
Provides an executable for the `vnu-jar` NPM package.
https://github.com/robinboers/vnu
html npm validator
Last synced: about 2 months ago
JSON representation
Provides an executable for the `vnu-jar` NPM package.
- Host: GitHub
- URL: https://github.com/robinboers/vnu
- Owner: RobinBoers
- Created: 2024-04-07T19:07:39.000Z (about 2 years ago)
- Default Branch: trunk
- Last Pushed: 2024-04-09T17:09:03.000Z (about 2 years ago)
- Last Synced: 2025-05-20T03:12:09.333Z (about 1 year ago)
- Topics: html, npm, validator
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nu HTML validator
This is a wrapper package for the `vnu-jar` NPM package, which provides the JAR file for the W3C [HTML and CSS validator](https://github.com/validator/validator).
By default, you'd have to call the validator like this:
```shell
java -jar node_modules/vnu-jar/build/dist/vnu.jar [OPTIONS] [FILES]
```
... which sucks. So I created this package. It does nothing more than wrapping the `java -jar` command, and providing it as a nice Node executable, which can be called as such:
```shell
npx vnu
# Or add to your PATH:
export PATH="./node_modules/.bin:$PATH"
vnu
```
## Installation
```
npm i RobinBoers/vnu
```