0.2.6 • Published 7 years ago

inline-io v0.2.6

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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

0.2.6

7 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.3

9 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago