Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tbj

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tbj

Get rid of the 'Terminate batch job' prompts when running Node and NPM scripts.

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

This is a simple command line tool that eliminates the annoying "Terminate batch job (Y/N)?" messages when pressing Ctrl+C on npm scripts.

To use it, first install it as a developer dependency, or globally:

npm install -D tbj

Then, wrap any scripts in your package.json file with the tbj command. For instance:

"scripts": {
    "start": "tbj nodemon dist/index.js",
    "build": "tbj node bin/build.js"
}

Finally, running npm start or npm run <script> will allow you to press Ctrl+C and quietly stop the program - no more annoying prompts.

The only known caveat is that the underlying process is forcefully closed, so any custom graceful shutdown procedures won't be triggered.

FAQs

Package last updated on 08 Feb 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc