diff --git a/README.md b/README.md index b2f858d..8a53ddb 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,10 @@ which means that every "err" string will be in red and every line containing "er _New presets are very welcome. If you don't like default or you would like to share yours, please create PR with json file._ +Available presets: +- default +- npmlog + ### Running behind nginx Using the `--url-path` option `frontail` can run behind nginx with the example configuration diff --git a/preset/npmlog.json b/preset/npmlog.json new file mode 100644 index 0000000..a7375ad --- /dev/null +++ b/preset/npmlog.json @@ -0,0 +1,15 @@ +{ + "words": { + "verb": "color: blue; background-color: black;", + "info": "color: green;", + "http": "color: green; background-color: black;", + "WARN": "color: black; background-color: yellow; font-style: normal;", + "error": "color: red;", + "ERR!": "color: red; background-color: black;" + }, + "lines": { + "WARN": "font-style: italic;", + "ERR!": "font-weight: bold;" + } +} +