Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
gulp-dogen
Advanced tools
Readme
dogen is meant to be the scaffold-on-the-fly tool. Creating templates of files & directories of files for scaffolding should be easy. Sometimes, there's a need to copy & paste & change group of files (aka Modules). Currently, tools like yeoman provide impressive scaffold utilities, but sometimes there's a need to update the generators according to your project's guidelines - and that's not possible with yeoman. You're relied on the generator's author or creating your own. That's why I created dogen.
Be The Master of you own generators.
$ npm install --save-dev gulp-dogen
var gulp = require('gulp');
var dogen = require('gulp-dogen');
dogen.config({
templatesPath: 'gulp/templates',
gulp: gulp
});
// This will create this gulp task as:
// gulp dogen --endpoint the-name-to-be-scaffolded
dogen.task('endpoint', 'src/server/api/');
dogen.task('ngmodule', 'src/client/app/');
dogen.task('ngservice', 'src/client/common/services/');
Then in terminal, you can start using this gulp task:
gulp dogen --endpoint guitars
This task will do the following:
Sometimes, a sub destination path is required under the destination that was configured in the task function.
The dogen shell task can have a 2nd argument, "path" which will be concatenated as a suffix to the destination value of the task.
The following task:
gulp dogen --endpoint guitars --path music
places the new generated files/directories at: src/client/api/music.
Please note: the path value can be any nested path including several directories.
The examples directory includes a template of endpoint.
dogen relies on 2 simple variables:
The concept of simplicity in dogen is that you should put the name-of-flag anywhere in the file's & directories names and contents - so it will be replaced with the value of the-name-to-be-scaffolded.
dogen task method return a gulp task that can be used like a standard gulp task.
gulp dogen --list
displays all the localy available generators in the console.
MIT © orizens
FAQs
a fast & easy scaffold cli for any development (based on gulp)
The npm package gulp-dogen receives a total of 21 weekly downloads. As such, gulp-dogen popularity was classified as not popular.
We found that gulp-dogen 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.
Research
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.