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.
A Stylus library to generate skeleton screens, through svg placeholder as data URI background in order to help you improve the perceived loading time of your apps.
FITYME stands for "Fake it til you make it"
A Stylus library to generate skeleton screens, through svg placeholder as data URI background.
It will help you improve the perceived loading time of your apps.
npm install --save-dev fityme
The above card can be easily generated with the following code:
@require './node_modules/fityme'
body
background #eee url(
fityme(318, 198,
rect(100%, 100%, 0, 8, #ffffff),
rect(200, 120, center, 16, #ccc, 5, true),
rect(270, 16, center, 148, #eee),
rect(220, 16, center, 168, #eee)
)
);
No matter what impossible situation you are dealing with, you might always FITIMY.
Define the number of times a card can be repeated based on a 8 columns grid. You can even combine some classes, to dictate how the cards will be rendered o different screen sizes.
To repeat the card created before (.ft-products) 3 times do the following:
<ul class="ft-products ft-3"></ul>
If you want to change how many times the card will show on extra small screens:
<ul class="ft-products ft-3 ft-xs-1"></ul>
All options available:
Repeat-(n) | Extra Small Screen | Small screen | Medium screens | Large screens |
---|---|---|---|---|
.ft-1 | .ft-xs-1 | .ft-sm-1 | .ft-md-1 | .ft-lg-1 |
.ft-2 | .ft-xs-2 | .ft-sm-2 | .ft-md-2 | .ft-lg-2 |
.ft-3 | .ft-xs-3 | .ft-sm-3 | .ft-md-3 | .ft-lg-3 |
.ft-4 | .ft-xs-4 | .ft-sm-4 | .ft-md-4 | .ft-lg-4 |
.ft-5 | .ft-xs-5 | .ft-sm-5 | .ft-md-5 | .ft-lg-5 |
.ft-6 | .ft-xs-6 | .ft-sm-6 | .ft-md-6 | .ft-lg-6 |
.ft-7 | .ft-xs-7 | .ft-sm-7 | .ft-md-7 | .ft-lg-7 |
.ft-8 | .ft-xs-8 | .ft-sm-8 | .ft-md-8 | .ft-lg-8 |
Restrict the the num of cards to only one.
<!-- Only one card no matter what screen size -->
<ul class="ft-products ft-single"></ul>
Allow only a single row of cards.
<ul class="ft-products ft-single-row"></ul>
Allow only a single column of cards.
<ul class="ft-products ft-ingle-column"></ul>
Makes one only card to extend itself until it fit the entire block.
<ul class="ft-products ft-full"></ul>
Generates the card canvas.
fityme(318, 198, ...content)
Draw a rectangle
rect(200, 120, center, 16, #ccc, 5, true),
Draw a square
square(200, ...)
Draw a circle
circle(200, ...)
Please let me know of the bugs you find. Don't like Stylus? fell free to port it to your favorite stylesheet processing language, mas let me know so I can improve this project by learn from your proccess.
FAQs
A Stylus library to generate skeleton screens, through svg placeholder as data URI background in order to help you improve the perceived loading time of your apps.
The npm package fityme receives a total of 0 weekly downloads. As such, fityme popularity was classified as not popular.
We found that fityme 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.