# famicon

> FontAwesome 5 for mithril

Latest version **0.1.2** (published 2020-01-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install famicon
pnpm add famicon
yarn add famicon
bun add famicon
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2020-01-26 |
| First published | 2020-01-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Aris Riswanto |
| Maintainers | kliksob |
| Keywords | mithril, SVG, Icons, Fontawesome |

## Links

- npm: https://www.npmjs.com/package/famicon
- npm.io page: https://npm.io/package/famicon

## Alternatives

- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) — 2.2M weekly downloads
- [roboto-fontface](https://npm.io/package/roboto-fontface.md) — 196.0K weekly downloads
- [@react-native-vector-icons/common](https://npm.io/package/@react-native-vector-icons/common.md) — 150.4K weekly downloads
- [stockfish](https://npm.io/package/stockfish.md) — 27.0K weekly downloads
- [@procore/core-icons](https://npm.io/package/@procore/core-icons.md) — 4.6K weekly downloads

## Recent versions

- 0.1.2 (latest) — 2020-01-26
- 0.1.1 — 2020-01-22

## README

## Famicon
Fontawesome svg icon component for mithril
https://kliksob.github.io/famicon/

## How to use

```bash
npm install famicon
```

```js
const m = require("mithril");
const faIconName = require("famicon/dist/solid/faIconName");

m(faIconName, {
  svgAttrs: {}, // svg attributes eg. style
  pathAttrs: {} // path attributes
});
```

### all icon

```js
const { solid } = require("famicon");
const { faIconName } = solid;
```

### all icon type
```js
const { faIconName } = require("famicon/dist/solid");
```

### individual icon [recomended]

```js
const faIconName = require("famicon/dist/solid/faIconName");
```
### Build example docs

```sh
npm install -g parcel-bundler
npm run watch-docs
npm run build-docs
```
### Development
Make sure your os is linux. because we use shelljs

```sh
git clone https://github.com/kliksob/famicon.git
cd famicon
npm install
node build.js
```

---
_Source: https://npm.io/package/famicon · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
