Skip to content

rgruesbeck/tape-repeater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tape-repeater

Stream tape to the terminal from anywhere.

example

Setup tape-repeater as the TAP reporter in your browser code.

var test = require('tape');
var repeater = require('tape-repeater');

repeater(test);

// tests...

Start the listener.

tape-repeater

usage

pipe output to a TAP reporter

pipe the output of tap-repeater to a pretty reporter.

tap-repeater | tap-difflet

print output in console

set options.log to true

// require...

repeater(test, { log: true });

test/listen remotely

change the listener URL to an ip address you want to listen from.

// require...

repeater(test, { ip: '198.168.1.2' });

start listener on machine @ 198.168.1.2

tape-repeater

API

repeater(test, {options})
  • options is an object with the following optional properties:
    • ip: 'localhost' ip address of the listener or your own server.
    • port: '9090' port of the listener.
    • log: false if repeater should also log tape output to the console.

About

Stream tape output to the terminal from anywhere.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published