Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
mocha-csslint
Advanced tools
Run CSSLint as Mocha tests.
To install in your node.js project as devDependency, run this command, in the root of your project
npm install mocha-csslint --save-dev --save-exact
Mocha defaults to looking for your test specs in the test
folder of your project.
Add this file as test/csslint.spec.js
in your project, with the following content:
require('mocha-csslint')('/client/static/css');
You should point to the place where you keep your css files instead of '/client/static/css'
above.
That is it you are done.
You can still specify you csslint options in a .csslintrc
file in the root of your project (see this project for an example)
To grep only the CSSLint test, just do
mocha --grep csslint
If you want to run CSSLint on several separate folders you can do:
require('mocha-csslint')(['/client/static/css', '/clinet2/css']);
This module was created to:
FAQs
mocha-csslint -------- Run CSSLint as a Mocha test.
The npm package mocha-csslint receives a total of 0 weekly downloads. As such, mocha-csslint popularity was classified as not popular.
We found that mocha-csslint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.