Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

avajs/tap-emitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tap-emitter Build Status

My premium module

This is pre-alpha code - not ready for any practical use yet.

Install

$ npm install --save tap-emitter

Usage

const tapEmitter = require('tap-emitter');

tapEmitter('unicorns');
//=> 'unicorns & rainbows'

API

tapEmitter(input, [options])

input

Type: string

Lorem ipsum.

options

foo

Type: boolean
Default: false

Lorem ipsum.

Dev

Build commands

  • npm run tap - Runs node-tap with some simple fixtures. Useful for checking how it's done in node-tap.
  • node index.js - Spits out some fake tap data using this library. Useful for checking how this libraries output is displayed in multiple reporters.
  • npm run spec - Runs node index.js and pipes it to the spec reporter from tap-mocha-reporter

License

MIT © James Talmage