https://github.com/oresoftware/tap-emitter
https://github.com/oresoftware/tap-emitter
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oresoftware/tap-emitter
- Owner: ORESoftware
- License: mit
- Created: 2017-12-13T01:12:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-30T05:31:55.000Z (over 7 years ago)
- Last Synced: 2025-05-18T16:54:47.607Z (9 months ago)
- Language: JavaScript
- Size: 75.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# tap-emitter [](https://travis-ci.org/avajs/tap-emitter)
> My premium module
**This is pre-alpha code** - not ready for any practical use yet.
## Install
```
$ npm install --save tap-emitter
```
## Usage
```js
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](https://github.com/jamestalmage)