0.2.2 • Published 11 years ago

tran-log v0.2.2

Weekly downloads
2
License
MIT
Repository
github
Last release
11 years ago

log NPM version build status Test coverage

Pretty print log file

You may also interested in another log parser

Installation

npm install tran-log

Usage

var log = require('tran-log');
var format = '^#{\\w+:type}$';
var rules = {
    type: 'yellow'
};
var pattern = new log.Pattern(format, rules);
var groups = pattern.apply('This_word_will_be_yellow');
console.log(groups.join());

License

MIT

0.2.2

11 years ago

0.2.1

11 years ago

0.1.3

11 years ago

0.1.4

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.1

11 years ago