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

gulp-alert

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-alert

  • 0.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

gulp-alert

installation

npm install gulp-alert

usage

import alert from 'gulp-alert'
gulp.src(['some', 'files'])
  .pipe(alert(options))
  .pipe(/* some other plugin */)
  // ...

options

  • options.command (beep): The command to run when an error occurs (I use it to play an error sound, but you could use it to display a notification etc.)
  • options.silent (false): If set to true, gulp-alert does call the options.command when an error occurs.
  • options.name (NO_NAME): The name used when logging the error to the screen. Use this to denote the pipeline you use gulp-alert in.
  • options.onError: if set, this function will be called with the error as first parameter whenever an error occurs.

License

This code is licensed under the ISC license

FAQs

Package last updated on 12 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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