
Security News
TeamPCP Is Systematically Targeting Security Tools Across the OSS Ecosystem
TeamPCP is targeting security tools across the OSS ecosystem, turning scanners and CI pipelines into infostealers to access enterprise secrets.
node-hooks
Advanced tools
An NPM for git hooks.
hook-module: Any module in npm that meets the hook-module specification.hook-module specification: A set of guidelines that define what it means to be a hook-module. View here.npm: node package manager. This can be (and is) used for more things than node modules.npm-module: a bit of code that can be downloaded via npm.package.json: a required file for npm-modules defined here.npm install -g node-hooks
git init
hooks install
hooks add new-hook
HooksThe hook-module sepcs should cover some of the basics while the hook-module best practices doc will help you avoid trip ups.
Working on that. See the TODO list below.
Installs hooks into the current working directory, seeding the required hooks.json and package.json files if needed.
It will also add node-hooks to the projects project.json devDependencies and node_modules folder so that all developers on the project will use the same hooks even if they don't have node-hooks installed locally.
Uninstall hooks from the current working directory. Removes hooks.json, but does not touch package.json or the node_module directory.
Adds an npm module to the local hooks project if the hook module's package.json fits the hook-module specification below. By default the module will be added to the hook specified in the module's package.json "default-hook" parameter and to the project's package.json devDependencies parameter.
hooks-module specification. Requires the --hook optionRemoves a hook-module from the default hooks.
Runs a hook.
hooks skip hook-module to skip globalsRemove a modules from the project (hooks remove --all-hooks) and forces a skip if its installed on a global level
Lists the module hooks as they are currently set up in the active project
does an npm search for modules tagged git-hooks
FAQs
An NPM for git hooks.
The npm package node-hooks receives a total of 33 weekly downloads. As such, node-hooks popularity was classified as not popular.
We found that node-hooks 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
TeamPCP is targeting security tools across the OSS ecosystem, turning scanners and CI pipelines into infostealers to access enterprise secrets.

Security News
TypeScript 6.0 introduces new standard APIs, modern default settings, and deprecations as it prepares projects for the upcoming TypeScript 7.0 release.

Security News
/Research
Newly published Trivy Docker images (0.69.4, 0.69.5, and 0.69.6) were found to contain infostealer IOCs and were pushed to Docker Hub without corresponding GitHub releases.