MCPcopy Create free account
hub / github.com/expressjs/morgan / createColorLineStream

Function createColorLineStream

test/morgan.js:1733–1737  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

1731}
1732
1733function createColorLineStream (callback) {
1734 return createLineStream(function onLine (line) {
1735 callback(expandColorCharacters(line))
1736 })
1737}
1738
1739function createLineStream (callback) {
1740 return split().on('data', callback)

Callers 1

morgan.jsFile · 0.85

Calls 2

createLineStreamFunction · 0.85
expandColorCharactersFunction · 0.85

Tested by

no test coverage detected