0.2.6 • Published 8 years ago

inline-io v0.2.6

Weekly downloads
1
License
MIT
Repository
github
Last release
8 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

8 years ago

0.2.5

9 years ago

0.2.4

9 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago