
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
post-command-hook-add-gitignore-plugin
Advanced tools
Automatically adds .gitignore file plugin for post-command-hook
Add Gitignore plugin for post-command-hook.
Add Gitignore plugin for post-command-hook automatically creates .gitignore file (with predefined items as a content by default) after some command have been executed.
$ npm install --save-dev post-command-hook post-command-hook-add-gitignore-plugin
const PostCommandHook = require("post-command-hook");
const AddGitignorePlugin = require("post-command-hook-add-gitignore-plugin");
const postCommandHook = new PostCommandHook({
command: "echo",
args: ["Setup"],
});
postCommandHook.use(new AddGitignorePlugin());
(async () => {
await postCommandHook.run();
})();
Constructs an instance of AddGitignorePlugin class.
Adds specified item to include it to the .gitignore file.
Type: string
Adds specified items to the patterns so they are going to be included in the generated .gitignore file.
Type: array
Array of strings to be appended to the patterns.
Overrides patterns array with specified items.
Type: array
Array of strings to override patterns array with.
MIT © Rushan Alyautdinov
FAQs
Automatically adds .gitignore file plugin for post-command-hook
The npm package post-command-hook-add-gitignore-plugin receives a total of 0 weekly downloads. As such, post-command-hook-add-gitignore-plugin popularity was classified as not popular.
We found that post-command-hook-add-gitignore-plugin 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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.