
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
classless-js
Advanced tools
Enforce and question your design system by checking your classes against an approved class list
One of the biggest reasons design systems become outdated is because of enforcement and lack of updating. Classless solves all of that! The way it works is by comparing your markup to your existing design system file. If there are additional classes added, Classless will alert you to either check the design system or add it to the approved class list. This makes us pause in our development and ask two questions:
It also creates a list of elements that we've introduced in this project (in time-based order if adding classes to the bottom of the list), to make refactoring easier.
Classless makes sure you use less unique classes in your project and instead implement your design system to its fullest potential.
npm install -g classless-js
touch classless.config
& set it up with optionsclassless
in your CLI once this is set up in your projectclassless.config
per-project options:
cssPath
: Link to your CSS stylesheet(s) -- You can link to a directory of files, but compiled CSS works best because this doesn't take into account things like Sass mixins, etc. Examples: ./bower_components/unicornDesignSystem/app/**/*.scss
or css/**/*
htmlPath
: Link to your HTML path(s). Can be any format (i.e. .erb
, .hbs
, etc.)acceptedElems
: Additional accepted elements listThe /bin
folder is where all of the executable scripts live. Please update and submit a PR.
FAQs
Enforce and question your design system by checking your classes against an approved class list
The npm package classless-js receives a total of 0 weekly downloads. As such, classless-js popularity was classified as not popular.
We found that classless-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.