
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
gulp-message
Advanced tools
Emit clean, readable log messages from gulp tasks
npm install --save gulp-message
Javascript:
const message = require('gulp-message');
Typescript / ES6:
import * as message from 'gulp-message';
Types are bundled with the published package and will be automatically imported.
gulp.task('foo', () => {
message.warn(`Well that's not quite right...`);
});
message.error(string)Emit an error message.
message.warn(string)Emit an warning message.
message.info(string)Emit an info message.
message.debug(string)Emit an debug message.
logger(opts)Create a custom log emitter.
| Option | Description | Default |
|---|---|---|
| prefix | A prefix to append to all outgoing messages - either a string, or [string, style] tuple | '' |
| style | The style to apply to the message body | none |
| writer | The log message emitter | gutil.log |
Example:
const tableFlip = message.logger({
prefix: '(ノಠ益ಠ)ノ彡┻━┻'
})
tableFlip('Breath in, breath out.')
=> '(ノಠ益ಠ)ノ彡┻━┻ Breathe in, breathe out.'
FAQs
Emit clean, readable log messages from gulp tasks
The npm package gulp-message receives a total of 602 weekly downloads. As such, gulp-message popularity was classified as not popular.
We found that gulp-message demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.