Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

fontawesome-5-icons-list

mohssineAboutaj62MIT1.0.1

A package to get all icons name from fontawesome 5 free version

fontawesome free, fontawesome, fortawesome, icons list, awesome, icons, font, free, list

readme

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
// 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

changelog

Fontawesome 5 Icons List / CHANGELOG

v1.0.1 / 25-sep-2021 18:50 (GMT+1)

  • fix iconsListByStyle function issue
  • add jest unit testing
  • add screenshot

v1.0.0 / 19-sep-2021 21:39 (GMT+1)

  • init the project
  • install dependencies & config it
  • parsed data & insert into json file
  • export data for production