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.
file-icon-vectors
Advanced tools
A collection of file type SVG icons, licensed MIT and available for free use in your applications.
A collection of file type SVG icons, licensed MIT and available for free use for your applications.
Currently, there are two icon sets in the dist/icons
directory:
npm install file-icon-vectors
bower install file-icon-vectors
composer require dmhendricks/file-icon-vectors
To display a file icon, simply link to one or both of the icon set CSS files in the css
directory:
<link rel="stylesheet" href="dist/file-icon-classic.min.css" />
<link rel="stylesheet" href="dist/file-icon-vivid.min.css" />
Alternatively, you can link to a CDN:
<link rel="stylesheet" href="https://unpkg.com/file-icon-vectors/dist/file-icon-classic.min.css" />
<link rel="stylesheet" href="https://unpkg.com/file-icon-vectors/dist/file-icon-vivid.min.css" />
From there, you can use CSS classes to display the icons:
<span class="fiv-cla fiv-icon-ppt"></span>
<span class="fiv-cla fiv-icon-xls"></span>
<span class="fiv-viv fiv-icon-pdf"></span>
<span class="fiv-viv fiv-icon-wav"></span>
Notice that the classes contain either flv-cla
for the Classic set or flv-viv
for the Vivid set.
If you want to override the size of the icons, you can do so with CSS:
<style>
.fiv-cla, .fiv-viv { font-size: 3em; }
</style>
If you prefer, you may also use .fiv-size-md
, .fiv-size-lg
and .fiv-size-xl
to modify the icon sizes:
<span class="fiv-viv fiv-icon-pdf fiv-size-lg"></span>
All icons used in the creation of this library were licensed MIT or purchased royalty-free, with exceptions noted below.
If you feel that you have a copyright issue, please feel free to post it.
FAQs
A collection of file type SVG icons, licensed MIT and available for free use in your applications.
The npm package file-icon-vectors receives a total of 16,315 weekly downloads. As such, file-icon-vectors popularity was classified as popular.
We found that file-icon-vectors 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.