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.
postcss-propro
Advanced tools
PostCSS plugin adds and extends some properties
Click on the Documentation to learn more
// input
.foo {
box: 100%;
min-box: 5rem 2rem;
max-box: 10rem;
}
// output
.foo {
with: 100%;
height: auto;
min-width: 5rem;
min-height: 2rem;
max-width: 10rem;
max-height: none;
}
// input
.foo {
font-cc: 2rem;
}
// output
.foo {
text-align: center;
line-height: 2rem;
}
// input
.foo {
font-hidden: 1;
}
// output
.foo {
overflow: hidden;
white-space: normal;
text-overflow: ellipsis;
}
// input
.foo {
position: fixed 0;
}
// output
.foo {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
// input
.foo {
position-cc: 10rem 4rem;
}
// output
.foo {
position: absolute;
top: 50%;
left: 50%;
margin: -2rem 0 0 -5rem;
}
// input
.foo {
arrow: top-left 20px #f0f;
}
// input
.foo {
btn: 10rem 4rem 0.5rem #00e;
}
// input
.foo {
spread: top-bottom 100% 100% #da3;
}
// default color
backgroundColor: '#0074d9', // for btn
lineColor: '#ccc' // for arrow and spread
postcss([ require('postcss-propro') ])
// or postcss.config.js
plugins: {
'postcss-propro': {
backgroundColor: '#0074d9',
lineColor: '#ccc'
},
'autoprefixer': {}
}
See PostCSS docs for examples for your environment.
FAQs
PostCSS plugin adds and extends some properties
The npm package postcss-propro receives a total of 0 weekly downloads. As such, postcss-propro popularity was classified as not popular.
We found that postcss-propro 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’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.