Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-notify

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-notify - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

2

index.js

@@ -18,3 +18,2 @@ var through = require("through2"),

var stream = this;
stream.pause();

@@ -27,3 +26,2 @@ report(reporter, file, options, templateOptions, function (err) {

}
stream.resume();
callback();

@@ -30,0 +28,0 @@ });

2

package.json
{
"name": "gulp-notify",
"version": "0.4.0",
"version": "0.4.1",
"description": "A plugin for Gulp to send messages to Mac Notification Center or Linux' notify-send",

@@ -5,0 +5,0 @@ "keywords": [

@@ -27,7 +27,17 @@ # gulp-notify [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url]

gulp.src("./src/test.ext")
.pipe(notify({
message: "Hello Gulp!"
}));
.pipe(notify("Hello Gulp!"));
```
Or with template
```javascript
var notify = require("gulp-notify");
gulp.src("./src/test.ext")
.pipe(notify("Found file: <%= file.relative %>!"));
```
See [examples](examples/gulpfile.js) for more og the API section for various inputs.
## API

@@ -38,2 +48,4 @@

A message to notify per data on stream.
The string can be a lodash template as
it is passed through [gulp-util.template](https://github.com/gulpjs/gulp-util#templatestring-data).

@@ -40,0 +52,0 @@ ### notify(Function)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc