kidnap-console (npm): Capture and store a function's log outputs and return value, and stops its output from reaching the CLI. Makes console log testing a breeze.
Keywords: testing|unit testing|test|unit test|tdd|test-driven development|trap|traps|trapping|stub|mock|stubbing|stubs|mocks|mocking|console|terminal|log|logs|logging|consoles|terminals|cli|command line interface|command line|log capture|log testing|console-log|console-log-testing|javascript|mocha|test-driven-development|typescript|unit-testing