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.
@animaapp/design-tokens-validator
Advanced tools
Design tokens are becoming more commonplace as a tool to help provide a consistent way of managing design system attributes.
Design tokens are becoming more commonplace as a tool to help provide a consistent way of managing design system attributes.
As the number of tools that include design token support increases, so does the importance of ensuring that your design tokens adhere to the Design Tokens Standard.
By having tokens that conform to this standard, you ensure that your tokens will be interoperable across a suite of different design system management platforms, like Anima.
If you want to validate your tokens online, try out our free online tool: ...
If you want to run this locally then:
npm i @animaapp/design-tokens-validator
validate
into your file:import { validate } from "@animaapp/design-tokens-validator";
const tokens = {
brand: {
$description: "Design tokens from our brand guidelines",
color: {
$description: "Our brand's primary color palette",
acid green: {
$value: "#00ff66"
},
hot pink: {
$value: "#dd22cc"
}
}
}
}
const errors = validate(tokens)
console.log(errors);
FAQs
Design tokens are becoming more commonplace as a tool to help provide a consistent way of managing design system attributes.
The npm package @animaapp/design-tokens-validator receives a total of 4 weekly downloads. As such, @animaapp/design-tokens-validator popularity was classified as not popular.
We found that @animaapp/design-tokens-validator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.