
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
w3c-css-validator
Advanced tools
A modern package for validating CSS using W3Cās public CSS validator service. Its goal is to simplify and standardize the API that W3C exposes, so that it adheres to newer conventions and is intuitive and easy to use.
Install with Yarn or npm:
yarn add w3c-css-validator
npm install w3c-css-validator
Import or require:
import cssValidator from 'w3c-css-validator';
const cssValidator = require('w3c-css-validator');
Validate some CSS:
const result = await cssValidator.validateText('.foo { text-align: center; }');
Read the docs at: https://sparksuite.github.io/w3c-css-validator/docs/
See it in action: https://sparksuite.github.io/w3c-css-validator/demo/
We love contributions! Contributing is easy; learn how.
FAQs
Easily validate CSS using W3C's public CSS validator service
The npm package w3c-css-validator receives a total of 6,328 weekly downloads. As such, w3c-css-validator popularity was classified as popular.
We found that w3c-css-validator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 2 open source maintainers collaborating on the project.
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.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600Ć faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.