static-feather-replace
Replace feather icons with svg in static html.
Last updated a year ago by nindaff .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install static-feather-replace 
SYNC missed versions from official npm registry.

static-feather-replace

Replace feather icons with svg in static html.

Installation

# 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

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

import staticFetherReplace from 'static-feather-replace';

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

API is the same as feather.replace({}) see: feather.replace() docs

Current Tags

  • 1.0.0                                ...           latest (a year ago)

1 Versions

  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |