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.
@ferui/design
Advanced tools
Install Ferui Design package through npm:
npm install @ferui/design
(Optional) Install Ferui Icons package through npm:
npm install @ferui/icons
npm install @webcomponents/custom-elements
You can either add the compiled css files or the precompiled scss files directly to your project.
Include the ferui-design.min.css
and ferui-icons.min.css
files in your HTML file:
<link rel="stylesheet" href="path/to/node_modules/@ferui/design/css/ferui-design.min.css">
<link rel="stylesheet" href="path/to/node_modules/@ferui/icons/ferui-icons.min.css">
Write your HTML with the Ferui Design CSS class names and markup.
...
@import "custom";
// This will import everything from FerUI design.
@import '@ferui/design/scss/ferui-design';
...
// This will load all the style for icons from FerUI Icons.
@import '@ferui/iconss/ferui-icons';
@ferui/design/
to load only the components that you need....
{
test: /\.scss$/,
use: [{
loader: 'style-loader', // inject CSS to page
}, {
loader: 'css-loader', // translates CSS into CommonJS modules
}, {
loader: 'postcss-loader', // Run postcss actions
options: {
plugins: function () { // postcss plugins, can be exported to postcss.config.js
return [
require('autoprefixer')
];
}
}
}, {
loader: 'sass-loader' // compiles Sass to CSS
}]
},
...
Include the ferui-icons.min.js
in your HTML file (don't forget the custom-elements polyfill) :
```
<script src="path/to/node_modules/@webcomponents/custom-elements/custom-elements.min.js"></script>
<script src="path/to/node_modules/@ferui/icons/ferui-icons.min.js"></script>
```
FAQs
CSS framework for FerUI Project
We found that @ferui/design 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.