# static-feather-replace

> Replace feather icons with svg in static html.

Latest version **1.0.1** (published 2021-02-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install static-feather-replace
pnpm add static-feather-replace
yarn add static-feather-replace
bun add static-feather-replace
```

Provides the commands `feather-replace`, `static-feather-replace`.

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-02-17 |
| First published | 2019-02-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 12.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Nicholas Pisacane |
| Maintainers | nindaff |

## Links

- npm: https://www.npmjs.com/package/static-feather-replace
- Repository: https://github.com/nickpisacane/static-feather-replace
- Homepage: https://github.com/nickpisacane/static-feather-replace#readme
- Issues: https://github.com/nickpisacane/static-feather-replace/issues
- npm.io page: https://npm.io/package/static-feather-replace

## Dependencies (7)

- [jest](https://npm.io/package/jest.md) 23.6.0
- [jsdom](https://npm.io/package/jsdom.md) ^13.2.0
- [yargs](https://npm.io/package/yargs.md) ^13.1.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^7.0.1
- [get-stdin](https://npm.io/package/get-stdin.md) ^6.0.0
- [typescript](https://npm.io/package/typescript.md) ^3.3.3
- [feather-icons](https://npm.io/package/feather-icons.md) ^4.17.0

## Recent versions

- 1.0.1 (latest) — 2021-02-17
- 1.0.0 — 2019-02-14

## README

# static-feather-replace

Replace feather icons with svg in static html.

# Installation

```sh
# Global
yarn global add static-feather-replace
# OR
npm i -g static-feather-replace

# Local
yarn add -D static-feather-replace
# OR
npm -i -D static-feather-replace
```

# Usage

## CLI

```sh
feather-replace input.html >> output.html
feather-replace input.html --outFile output.html
cat input.html | feather-replace >> output.html
feather-replace input.html --data-attribute "bar" --outFile output.html
```

## Library

```ts
import staticFetherReplace from 'static-feather-replace';

staticFeatherRplace('<html></html>', {'data-added-attribute': 'foo'});
```

API is the same as `feather.replace({})` see: [feather.replace() docs](https://github.com/feathericons/feather#featherreplaceattrs)

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