static-feather-replace
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

/static-feather-replace/

    Package Sidebar

    Install

    npm i static-feather-replace

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    13.2 kB

    Total Files

    17

    Last publish

    Collaborators

    • nindaff