
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
@marknotton/gulp-tasks
Advanced tools
A private collection of Gulp tasks commonly used within internal projects.
Manage CLI and popup notification messages.
npm i @marknotton/notifier --save-dev
const notifier = require('@marknotton/notifier');
gulp.task('someTask', () => {
return gulp.src([...])
.pipe(plumber({errorHandler: notifier.error }))
.pipe(concat('ccombined.js))
.pipe(gulp.dest('/some/location/'))
.pipe(notifier.success())
});
| Option | Type | Default | Details |
|---|---|---|---|
| project | String | - | Project name. Will appear as a subheading |
| exclusions | String | - | Files that match any part of this string will be excluded from any notification |
| prefix | String | - | String to add before the notification message |
| suffix | String | - | String to add after the notification message |
| popups | Bool | true | Prevent popups from showing. Console logs will still be rendered. Remote servers won't need popups and may even cause errors. |
| success | String | ![]() | Icon to use on success messages. Can be relative to the project folder or an absolute URL |
| error | String | ![]() | Icon to use on error messages. Can be relative to the project folder or an absolute URL |
| messages | String | Files compiled successfully | The message you want to display. This can be a shorthand name that references an object key defined in the defaults function (see below) |
| extra | Array/String | - | Manually add extra files to log out, regardless of whether they are actually part of the stream |
A string will be defined as the message or message shorthand.
notifier.success('js', { project : 'My Project', ...})
Notice the use of a shorthand name as the first parameter. This will look for the keys in the default settings object. So you can list all your messages in one place.
You can preset the above options with the settings function. This will be refereed as your default options for every notifier instance.
notifier.settings({
project : 'My Project,
success : 'images/icon.png',
exclusions:'.map',
messages : {
js : 'Javascripts are all done!',
sass : 'Looking gooooood!'
}
});
FAQs
A private collection of Gulp tasks commonly used within internal projects.
The npm package @marknotton/gulp-tasks receives a total of 5 weekly downloads. As such, @marknotton/gulp-tasks popularity was classified as not popular.
We found that @marknotton/gulp-tasks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.