Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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 1,479 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.