Socket
Socket
Sign inDemoInstall

timeout-cli

Package Overview
Dependencies
5
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

timeout-cli

GNU timeout but cross-platform


Version published
Weekly downloads
1.2K
increased by129.66%
Maintainers
1
Install size
9.77 MB
Created
Weekly downloads
 

Readme

Source

timeout-cli: GNU timeout for node

This utility reimplements GNU timeout, but for operating systems that don't support it, like macOS and Windows.

To Install:

npm i -g timeout-cli

Usage:

Usage: timeout -- some-cmd arg1 arg2 arg3
Execute a command and exit if it doesn't terminate in a certain amount of time

Options:
  -t, --timeout     is a floating point number with an optional suffix: 's' for
                    seconds (the default), 'm' for minutes, 'h' for hours or 'd'
                    for days.                                           [string]
  -o, --on-timeout  if set, command will be executed when a timeout occurs
                                                                        [string]
  -v, --version     Print the current version number and exit

Keywords

FAQs

Last updated on 06 Mar 2017

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc