1. tap-dev-tool
prettifies TAP in the browser's console
tap-dev-tool
Package: tap-dev-tool
Created by: Jam3
Last modified: Mon, 27 Jun 2022 03:49:21 GMT
Version: 1.3.0
License: MIT
Downloads: 188
Repository: https://github.com/Jam3/tap-dev-tool

Install

npm install tap-dev-tool
yarn add tap-dev-tool

tap-dev-tool

experimental

(Click for a live demo)

Prettify TAP output in Chrome/FireFox DevTools console. Works best with tape.

fail

Comes in the form of a Browserify plugin, so you don't need to change your source code during development. PRs for other integrations (Babel, Webpack) welcome.

Install

You can install with npm:

 npm install tap-dev-tool --save-dev

Usage

NPM

browserify

The preferred way of using this is with a plugin during development. After installing, you can use it with browserify like this:

 browserify index.js --plugin tap-dev-tool > bundle.js

Works well during development with watchify and budo.

require hook

If you don't want to use the plugin, you can require the tool somewhere at the start of your application.

 require('tap-dev-tool/register')

var test = require('tape')

test('should do something', function (t) { 
  ...
})

See Also

License

MIT, see LICENSE.md for details.

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code