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.
postcss-typescale
Advanced tools
francoisromain.github.io/postcss-typescale
A PostCSS plugin to set type.
Install the npm package:
$ npm install postcss-typescale --save-dev
Require with PossCSS:
postcss([ require('postcss-typescale') ])
See PostCSS docs to setup with Gulp, Grunt, Webpack, npm scripts…
Global settings (and default values):
@typescale ([name]) {
scale: 1.25; /* See type-scale.com to choose a scale */
font-size: 1rem; /* default font size */
line-height: 1.5rem; /* If no unit is provided, line-height is relative to font-size */
}
typescale: ([name]) [index] ([line-height-fraction])
.my-title {
typescale: 3 1.5;
}
.my-small-text {
typescale: -1;
}
.my-extra-small-text {
typescale: -2 0.5;
}
FAQs
A PostCSS plugin to set type based on a typographic scale.
The npm package postcss-typescale receives a total of 4 weekly downloads. As such, postcss-typescale popularity was classified as not popular.
We found that postcss-typescale 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.
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.