ii

inline-io

Replaces link tags with inline style tags

Showing:

Popularity

Downloads/wk

2

GitHub Stars

3

Maintenance

Last Commit

4yrs ago

Contributors

1

Package

Dependencies

3

Size (min+gzip)

95.4KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Inline

Replaces link tags with inline style tags.

Install

npm i inline-io -g

Use

As standalone

Usage: inline-io <file>

As module

npm i instal-io --save
var inline  = require('inline-io'),
    path    = require('path'),
    name    = 'test/index.html',
    dir     = path.dirname(name);

fs.readFile(name, function(error, data) {
    if (error)
        console.log(error);
    else
        inline(data, dir, function(error, result) {
            console.log(error || result);
        });
});

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100