Kargi-Sitesi/node_modules/fontawesome/README.md

11 lines
566 B
Markdown
Raw Normal View History

2024-11-04 02:30:09 +00:00
# Font Awesome unicode bindings
Get a [Font Awesome](http://fontawesome.io/) unicode character by the icon name.
Especially useful for outputting to e.g. terminals with a [Font Awesome patched font](https://github.com/gabrielelana/awesome-terminal-fonts) or for [Lemonbar](https://www.npmjs.com/package/lemonbar), but I'm sure you'll think of even better use cases.
## Usage:
```javascript
var fa = require("fontawesome");
console.log(fa("fort-awesome") + " Hello World!"); // Hello World!
console.log(fa.fortAwesome + " Hello World!"); // Hello World!
```