# tap-browser-el **Repository Path**: mirrors_Jam3/tap-browser-el ## Basic Information - **Project Name**: tap-browser-el - **Description**: A tap/tape reporter which adds a dom element to the dom and can be styled easily - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # tap-browser-el [![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges) ![tap-brower-el default stypes](images/defaultStyles.jpg) A tap/tape reporter which adds a dom element to the dom ## Usage [![NPM](https://nodei.co/npm/tap-browser-el.png)](https://www.npmjs.com/package/tap-browser-el) `tap-browser-el` will override `console.log` and watch what's being pushed to it and parse any tap/tape content. Example: ```javascript require('tap-browser-el')( { // you can optionally pass in el // by default a
will be created on body el: someDomElementWhichTapContentWillBeWrittenTo, // if you want tap output to console pass in true // if you don't then pass in false outPutToConsole: true, // you can pass in styles to override default styles // if css is not passed default styles will be applied // // to apply no inline styles pass `false` css: { // pass in selector to apply css to parts // may seem redundant but it makes this module // more '.tap-test.pass': { background: '#0F0' }, '.tap-test.fail': { background: '#F00' } }, // this is a callback you can pass for when one test is finished one part // of the test onFinishedTestPart: function() {}. // this is a callback you can pass for when one test is finished onFinishedTest: function() {}, // this is a callback you can pass for when everything is finished onFinished: function() {} }); ``` If you want to see more examples check the [test folder](./test/). ## License MIT, see [LICENSE.md](http://github.com/Jam3/tap-browser-el/blob/master/LICENSE.md) for details.