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.
@paulbarre/simple-flex-grid
Advanced tools
Easy-to-use grid based on Flexbox in pure CSS.
Using Bootstrap or other frameworks can be time loss with unuseful CSS, or make import more that what your app needs.
Simple Flex Grid goals:
Grid breakpoints and container
class max-width are based on Bootstrap.
Via NPM
npm i -D @paulbarre/simple-flex-grid
Then into your main javascript file (ES6 module):
import '@paulbarre/simple-flex-grid/dist/simple-flex-grid.min.css'
Device | Code | Types | Range | Container max-width |
---|---|---|---|---|
Extra small | xs | small to large handset | < 600px | none |
Small | sm | small to medium tablet | 600px > < 960px | 540px |
Medium | md | large tablet to laptop | 960px > < 1264 | 720px |
Large | lg | desktop | 1264 > < 1904px | 960px |
Extra large | xl | 4k and ultra-wides | > 1904px | 1140px |
row
: define responsive layout.column
: the tag that has to be responsive.<breakpoint>[1-12]
: the tag will covere 1 to 12 columns for the designated breakpoint.<breakpoint>
: the tag will be hidden until the breakpoint is triggered.<breakpoint>0
: the tag will be hidden when the breakpoint is triggered.container
: this class will set margins around the grid layout. Not required if the rows have to covered the full width of the page.Check out the examples
for a short example. More examples to come.
FAQs
Easy-to-use grid based on Flexbox in pure CSS
The npm package @paulbarre/simple-flex-grid receives a total of 1 weekly downloads. As such, @paulbarre/simple-flex-grid popularity was classified as not popular.
We found that @paulbarre/simple-flex-grid 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.