UNPKG

capture-stdout

Version:

Small efficient ES6 class that captures all stdout calls and stores the calls as an array of strings. Very useful for confirming expected output behavior during tests.

5 lines (4 loc) 49 B
# gitignore node_modules package-lock.json .idea