
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
gulp-recipe
Advanced tools
=============
Package manager for gulp recipes.
Many projects require the same gulp tasks with simple tweaks. This system is designed to make it easy to share and reuse gulp tasks.
NOTE: This documentation is still being written. If you click on a link and it doesn't go anywhere, it's likely because that portion of the docs hasn't been written yet. If there are parts of the docs you'd like us to focus on, feel free to ask!
gulpfile.js
var gulp = require('gulp');
var recipe = require('gulp-recipe');
// No defining dependencies in package.json or writing of basic gulp tasks.
// gulp-recipe will download and install the task and all dependencies for you!
gulp.task('lint', recipe.make('eslint', {
src: [
'path/to/my/js',
'!node_modules/**'
]
}));
gulp-recipe is dependent upon
The source is available for download from GitHub
For use in gulpfile, you can install using npm
npm install gulp-recipe
To publish your own recipes, install globally using npm
npm install -g gulp-recipe
In gulpfile:
var gulp = require('gulp');
var recipe = require('gulp-recipe');
gulp.task('lint', recipe.make('eslint', {
src: [
'path/to/my/js',
'!node_modules/**'
]
));
recipe [options] [command]
-h, --help output usage information
-V, --version output the version number
-ep, --exec-path path to execute on
recipe config [cmd]
This command lets you set, get, or delete config data from .reciperc config files
global: (config.get('prefix')[default: '/usr/local'])/etc/.reciperc
per-user: '$HOME/.reciperc'
per-project: '/path/to/project/.reciperc'
recipe config get [options] <key>
get value in config file
-g, --global use global config file
-p, --project use project config file
-u, --user use user config file
<key> The property path to the value you want to get
get auth data from config
recipe config get auth
get deep path from config
recipe config get some.path.in.config.object
recipe config set [options] <key> <value>
set value in config file
-g, --global use global config file
-p, --project use project config file
-u, --user use user config file
<key> The property path to the value you want to set
<value> The value you want to set
get auth data from config
recipe config get auth
get deep path from config
recipe config get some.path.in.config.object
recipe config delete [options] <key>
delete value from config file
-g, --global use global config file
-p, --project use project config file
-u, --user use user config file
<key> The property path to the value you want to delete
delete auth data from config
recipe config delete auth
delete deep path from config
recipe config delete some.path.in.config.object
recipe publish [options] <path>
publish a recipe
-g, --global use global config file
-p, --project use project config file
-u, --user use user config file
<path> The file path to the package you want to publish
publish current working directory
recipe publish
publish a specific directory
recipe publish ./some/path/to/dir
FAQs
Package manager for gulp recipes
We found that gulp-recipe 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.