🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

auto-restarter

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-restarter

An auto restarter program for Node.js

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
2
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

Auto Restarter

This is a tiny tool to restart automatically a Node.js program when the program ends.

Install

npm install -g auto-restarter

Usage

Syntax: auto-restarter <file> [msBeforeRestart]

Examples

  • This will keep started a file named test.js:
    auto-restarter test.js
    
  • This will keep started a file named test.js, waiting 2 seconds between each restart:
    auto-restarter test.js 2000
    

License

MIT License

Copyright (c) 2021 Gauthier THOMAS

FAQs

Package last updated on 25 Jan 2024

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