
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-install-packages-plugin
Advanced tools
Provides install packages functionality for post-command-hook
Install packages plugin for post-command-hook.
Install packages plugin for post-command-hook gives you a possibility to install specified packages after some command have been executed using the install-packages library.
$ npm install --save post-command-hook post-command-hook-install-packages-plugin
const PostCommandHook = require("post-command-hook");
const InstallPackagesPlugin = require("post-command-hook-install-packages-plugin");
const postCommandHook = new PostCommandHook({
command: "npx",
args: ["create-react-app", "myapp"],
});
postCommandHook.use(new InstallPackagesPlugin(["redux", "react-redux"]));
(async () => {
await postCommandHook.run();
})();
Constructs an instance of InstallPackagesPlugin class providing packages - an array of packages to be installed.
Type: array
An array of packages to be installed.
Type: object
Install options to be passed to install-packages module. See api section in its README
Type: object
Plugin options
Type: boolean
If there was an error while installing packages handle it just log it to console without throwing an error
Type: string
Plugin name to be used when logging error messages, if not specified a random uid will be used as a plugin name
MIT © Rushan Alyautdinov
FAQs
Provides install packages functionality for post-command-hook
The npm package post-command-hook-install-packages-plugin receives a total of 2 weekly downloads. As such, post-command-hook-install-packages-plugin popularity was classified as not popular.
We found that post-command-hook-install-packages-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.