Skip to content
The time has come! Banish the ads and declutter the build logs!
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github feat: add issue template Sep 7, 2019
.gitignore Initial Commit Aug 26, 2019 feat: add NOTE to README Aug 26, 2019
hookNpm.js feat: hide debug output, now only show installing message Sep 5, 2019
index.js feat: blacklist greenlock as well Aug 26, 2019
package.json 0.1.9 Sep 7, 2019
util.js feat: print debug log Sep 7, 2019


The time has come! Banish the ads and declutter the build logs!

How does it work?

After being installed globally, this module's postinstall script will patch the nodeJS files in such a way that:

  • When npm gets updated, it gets repatched
  • When a module tries to run a postinstall hook for ads, it will silently print it to the debug log


Simply install it globally using npm i -g npm-adblock

You can re-run it at any time using adblock-patch

When you don't notice it, it's working! :)

Otherwise, feel free to open an issue


While I don't hate people asking for funds, there should be an easy and clear opt-out method, like on the web, which I did not find

So I made this instead

You can’t perform that action at this time.