Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
foundation-icons-sass
Advanced tools
Foundation icons for your SASS project!
This gem is based heavily on the FontAwesome SASS gem, especially the rails engine, helper and railtie which are pretty much just straight up forked from there.
Add this line to your application's Gemfile:
gem 'foundation-icons-sass'
And then execute:
$ bundle
Or install it yourself as:
$ gem install foundation-icons-sass
If you use Rails add this to e.g. application.css.scss:
*= require foundation-icons
With Compass, just do:
@import foundation-icons
With Jekyll, you can use it with jekyll-assets by putting this in your _plugins/ext.rb
:
require 'jekyll-assets/foundation-icons'
and then this in your whatever.sass
:
@import foundation-icons
Then you can use the icons as such:
<i class="fi-social-github"></i>
In your view:
icon('flag')
# => <i class="fi-flag"></i>
icon('flag', '', class: 'strong')
# => <i class="fi-flag strong"></i>
icon('flag', 'Foundation Icon', id: 'my-icon', class: 'strong')
# => <i id="my-icon" class="fi-flag strong"></i> Font Awesome
Note: the icon helper can take a hash of options that will be passed to the content_tag helper.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that foundation-icons-sass 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.