https://github.com/steelydylan/fa-list-gen
generate fontlist as json from fortawesome
https://github.com/steelydylan/fa-list-gen
Last synced: about 1 year ago
JSON representation
generate fontlist as json from fortawesome
- Host: GitHub
- URL: https://github.com/steelydylan/fa-list-gen
- Owner: steelydylan
- Created: 2020-05-05T16:09:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-05T16:10:28.000Z (about 6 years ago)
- Last Synced: 2025-02-09T00:02:14.775Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fa-list-gen
Make fontawesome font list array like below.
you can export `fab.json`, `far.json`, `fas.json`, `fab.js`, `far.js`, `fas.js`
fab.json
```
["fab fa-500px","fab fa-accessible-icon", ...]
```
## Usage
You should install these packages first
```json
"@fortawesome/free-brands-svg-icons": "^5.11.2",
"@fortawesome/free-regular-svg-icons": "^5.11.2",
"@fortawesome/free-solid-svg-icons": "^5.10.2",
```
Then run following commands
```sh
$ npx fa-list-gen -d ./fonts
```