fontawesome-5-icons-list

1.0.1 • Public • Published

Fontawesome 5 Icons List

About

A package to get all icons name from fontawesome free version

Features And Props

  • all icons list
  • get icon by search
  • get special icons style

Installation

Note: You can use yarn or npm as a package manager, here i'm using yarn

yarn add fontawesome-5-icons-list

Example Output

Example Output screenshot

Usage

Get All

// the whole list without any filtering
const { all } = require("fontawesome-5-icons-list");
console.log(all); // array of objects contains the icons informations

Search

// list of searched icons
const { search } = require("fontawesome-5-icons-list");
console.log(search("home")); // array of objects contains the icons informations

Get Icons By Style

// list of icons based on searched style (brands, solid, regular)
const { iconsListByStyle } = require("fontawesome-5-icons-list");
console.log(iconsListByStyle("regular")); // array of objects contains the icons informations with regular style

Changelog

read from here

LICENSE

MIT

Dependents (0)

Package Sidebar

Install

npm i fontawesome-5-icons-list

Weekly Downloads

15

Version

1.0.1

License

MIT

Unpacked Size

528 kB

Total Files

11

Last publish

Collaborators

  • mohssineaboutaj