
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
font-awesome-icons
Advanced tools
Returns actual list of Font Awesome icons (plain JS array)
$ npm install --save font-awesome-icons
const faIcons = require('font-awesome-icons');
faIcons.getList().then(icons => console.log(icons.length));
//=> 675
faIcons.getList().then(icons => console.log(icons[0]));
/*=>
{ name: 'Glass',
id: 'glass',
unicode: 'f000',
created: 1,
filter: [ 'martini', 'drink', 'bar', 'alcohol', 'liquor' ],
categories: [ 'Web Application Icons' ]
}
*/
Type: function
Returns a promise with a full list of actual Font Awesome icons.
Type: function
Returns a promise with an actual version of Font Awesome.
Type: function
arrayOfNeededKeys - optional parameter with array of needed keys for icons (eg: ['name', 'unicode']
)
Returns a promise with a categories array.
[
{
name: 'Web Application Icons',
icons: [
{
name: 'Glass',
id: 'glass',
unicode: 'f000',
created: 1,
filter: [ 'martini', 'drink', 'bar', 'alcohol', 'liquor' ],
categories: [ 'Web Application Icons' ]
},
...
]
},
...
]
Type: function
Returns a promise with array of icons in needed category.
Type: function
Returns a promise with a full list of Font Awesome icons with needed keys only.
const faIcons = require('font-awesome-icons');
faIcons.getListByKeys(['name', 'unicode']).then(icons => console.log(icons[0]));
//=> { name: 'Glass', unicode: 'f000' }
font-awesome-v5-icons – separate package for Font Awesome v5
MIT © Sergey Lysenko
FAQs
Returns actual list of Font Awesome icons
The npm package font-awesome-icons receives a total of 896 weekly downloads. As such, font-awesome-icons popularity was classified as not popular.
We found that font-awesome-icons 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 researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.