Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/axross/tap-notify
:bell: the Notifier for OS X, Linux and Windows as TAP reporter
https://github.com/axross/tap-notify
Last synced: 3 months ago
JSON representation
:bell: the Notifier for OS X, Linux and Windows as TAP reporter
- Host: GitHub
- URL: https://github.com/axross/tap-notify
- Owner: axross
- License: mit
- Created: 2015-11-14T04:31:33.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-07-18T15:33:09.000Z (over 5 years ago)
- Last Synced: 2024-05-01T20:30:05.533Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 140 KB
- Stars: 62
- Watchers: 3
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-tap - tap-notify - Notifier for macOS, Linux and Windows. (Reporters / JavaScript)
README
# tap-notify
[![npm version](https://badge.fury.io/js/tap-notify.svg)](http://badge.fury.io/js/tap-notify)
the Notifier for OS X, Linux and Windows as [TAP reporter](https://github.com/substack/tape#pretty-reporters)
![Screenshot](screenshot1.png)
![Screenshot](screenshot2.png)
## How to Use
You can use tap-notify in the same way as other [TAP reporters](https://github.com/substack/tape#pretty-reporters). I recommend to use as the first pipe.
```
npm install -g tap-notify
``````
tape ./*.test.js | tap-notify | tap-diff
```Or use with `createStream()`:
```javascript
var test = require('tape');
var tapDiff = require('tap-diff');
var tapNotify = require('tap-notify');test.createStream()
.pipe(tapNotify())
.pipe(tapDiff());process.argv.slice(2).forEach(function (file) {
require(path.resolve(file));
});
```## License
MIT