JSPM

Found 217 results for graceful

restore-cursor

Gracefully restore the CLI cursor on exit

  • v5.1.0
  • 106.29
  • Published

parse-json

Parse JSON with more helpful errors

  • v8.3.0
  • 105.23
  • Published

read-pkg

Read a package.json file

  • v9.0.1
  • 104.23
  • Published

exit-hook

Run some code when the process exits

  • v4.0.0
  • 93.50
  • Published

pm2

Production process manager for Node.JS applications with a built-in load balancer.

  • v6.0.10
  • 87.69
  • Published

home-or-tmp

Get the user home directory with fallback to the system temp directory

  • v4.0.0
  • 85.18
  • Published

read-package-up

Read the closest package.json file

  • v11.0.0
  • 84.21
  • Published

write-json-file

Stringify and write JSON to a file atomically

  • v6.0.0
  • 81.79
  • Published

async-exit-hook

Run some code when the process exits (supports async hooks and pm2 clustering)

  • v2.0.1
  • 80.13
  • Published

http-shutdown

Gracefully shutdown a running HTTP server.

  • v1.2.2
  • 78.56
  • Published

@breejs/later

Maintained fork of later. Determine later (or previous) occurrences of recurring schedules

  • v4.2.0
  • 76.82
  • Published

package-config

Get namespaced config from the closest package.json

  • v5.0.0
  • 76.66
  • Published

write-yaml-file

Stringify and write YAML to a file atomically

  • v5.0.0
  • 74.88
  • Published

close-with-grace

Exit your process, gracefully (if possible)

  • v2.2.0
  • 74.29
  • Published

read-ini-file

Read and parse an ini file

  • v4.0.0
  • 67.54
  • Published

write-package

Write a package.json file

  • v7.1.0
  • 64.47
  • Published

@gquittet/graceful-server

Tiny (~5k), dependency-free Node.JS library to make your API more graceful

  • v5.2.15
  • 61.50
  • Published

bree

The best job scheduler for Node.js and JavaScript with cron, dates, ms, later, and human-friendly support. Works in Node v12.17.0+, uses worker threads to spawn sandboxed processes, and supports async/await, retries, throttling, concurrency, and cancelab

  • v9.2.4
  • 60.77
  • Published

graceful

Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.

  • v2.0.0
  • 60.65
  • Published

@ladjs/graceful

Gracefully exit HTTP servers (Express/Koa/Fastify/etc), databases (Mongo/Mongoose), Bree job schedulers, and custom handlers.

  • v4.2.0
  • 60.31
  • Published

tsconfig-resolver

Walk up the tree to resolve `tsconfig.json` configuration objects.

    • v3.0.1
    • 59.74
    • Published

    loading-cli

    Terminal loading effect.

    • v1.1.2
    • 57.86
    • Published

    express-graceful-exit

    Allow graceful exits for express apps, supporting zero downtime deploys

    • v0.5.2
    • 54.74
    • Published

    node-graceful

    Graceful process exit manager. allows waiting on multiple async services.

    • v3.1.0
    • 53.84
    • Published

    gently-copy

    Copy files without overwriting

    • v3.2.0
    • 50.91
    • Published

    graceful-ncp

    Asynchronous recursive file copying (with graceful-fs)

    • v3.0.0
    • 50.80
    • Published

    @dnlup/fastify-traps

    A Fastify plugin to close the server gracefully on SIGINT and SIGTERM signals

    • v3.1.0
    • 49.87
    • Published

    @arcblock/pm2

    Production process manager for Node.JS applications with a built-in load balancer.

    • v6.0.12
    • 49.78
    • Published

    @mintplex-labs/bree

    A fork of BreeJS/bree. A Node.js and JavaScript task scheduler with cron, dates, ms, later, and human-friendly support. Works in Node v12.17.0+, uses worker threads or process forks, and supports async/await, retries, throttling, concurrency, and cancela

    • v9.2.5
    • 49.60
    • Published

    graceful-fs-extra

    Extra methods for the fs object (with graceful-ncp)

    • v2.0.0
    • 48.09
    • Published

    @socket.io/pm2

    Production process manager for Node.JS applications with a built-in load balancer.

    • v6.0.8
    • 47.46
    • Published

    load-text-file

    [Strips UTF-8 BOM](https://github.com/sindresorhus/strip-bom), uses [`graceful-fs`](https://github.com/isaacs/node-graceful-fs), and returns Promises.

    • v2.0.0
    • 47.44
    • Published

    write-json5-file

    Stringify and write JSON to a file atomically

    • v3.1.0
    • 46.77
    • Published

    write-ini-file

    Stringify and write ini to a file atomically

    • v4.0.1
    • 44.61
    • Published

    systemic

    A minimal dependency injection library for node

    • v4.1.2
    • 42.08
    • Published

    @scg82/exit-hook

    Execute a callback when the process exits, passing the exit code (ESM/CJS)

    • v3.4.1
    • 40.55
    • Published

    graceful-instanceof

    The instanceof mechanism cross package/module versions.

    • v1.0.1
    • 35.18
    • Published

    gracefultools

    Graceful shutdown for ExpressJS

    • v2.1.2
    • 32.74
    • Published

    @ilpt/systemic-ts

    A minimal type-safe dependency injection library

    • v1.1.1
    • 32.71
    • Published

    @scdev/fine

    Graceful shutdown Node.js application, this module helps handling process exit signals and closing pending jobs

    • v3.0.0
    • 29.72
    • Published

    hapi-graceful-pm2

    hapi plugin to handle graceful pm2 reloads

    • v1.0.17
    • 29.07
    • Published

    spawnpoint

    Agnostic JS framework that empowers devs to focus on quickly building apps, rather than focusing on application config, health-checks, application structure, or architecture to build a 12 factor app in Docker.

    • v2.2.1
    • 28.31
    • Published

    nexit

    Tiny dependency free utility to exit NodeJs gracefully

    • v1.0.5
    • 28.09
    • Published

    generate-ctrl-c-event

    Generate ctrl-c (or ctrl-break) events on Windows by calling `Kernel32::GenerateConsoleCtrlEvent()`

    • v2.0.2
    • 27.74
    • Published

    gerard

    Graceful Recursive ReadDir

    • v0.2.0
    • 27.62
    • Published

    @simbo/graceful-exit

    Gracefully terminate a Node.js process with predictable exit codes, clear console output, and optional teardown steps.

    • v1.1.0
    • 27.51
    • Published

    on-shutdown

    A lightweight, zero-dependency Node.js utility for registering graceful shutdown handlers.

    • v0.0.0
    • 27.29
    • Published

    aeterno

    A daemonization tool written in javascript.

    • v1.0.0
    • 27.20
    • Published

    pm2-beta

    Production process manager for Node.JS applications with a built-in load balancer.

    • v6.0.4
    • 25.20
    • Published

    mos-read-pkg-up

    Read the closest package.json file

    • v1.0.0
    • 23.85
    • Published

    mos-read-pkg

    Read a package.json file

    • v1.1.3
    • 23.69
    • Published

    @cooperwfloyd/fancyfetch

    A simple, lightweight and isomorphic extension of the Fetch API that allows for graceful error handling and response validation, automatic retries, and the ability to bring your own Fetch API package.

    • v1.4.2
    • 23.04
    • Published

    kill-with-style

    Kill procesess gracefully with retries, signals and all children

    • v1.1.0
    • 21.49
    • Published

    @dwelle/pm2

    Production process manager for Node.JS applications with a built-in load balancer.

    • v5.1.12
    • 19.81
    • Published

    exit-signal

    A Node.js library for handling graceful process exits and shutdown signals.

    • v2.0.0
    • 19.27
    • Published

    graceful-logger

    A simple, slim, graceful logger for Nodejs

    • v0.4.3
    • 19.03
    • Published

    exorcise

    Cleanse as you exit.

    • v0.23.0
    • 18.74
    • Published

    react-graceful-unmount

    A higher order component to make sure the react component passed as argument always unmounts properly, even if React does not have the time to call componentWillUnmount function.

    • v1.0.7
    • 18.46
    • Published

    graceful-playwright

    Gracefully handle timeout and network error with auto retry.

    • v1.5.1
    • 16.25
    • Published

    final-pm

    The Final Process Manager

    • v2.24.0
    • 15.54
    • Published

    graceful-echarts

    A quick to use echarts packaging component

      • v0.0.5
      • 15.09
      • Published

      daruk-exit-hook

      Run some code when the process exits

      • v0.3.0
      • 14.53
      • Published

      async-interval-job

      setInterval for promises and async functions. Support graceful shutdown and prevent multiple executions from overlapping in time.

      • v1.2.0
      • 13.83
      • Published

      egress

      shut your node.js apps more gracefully

      • v1.0.0
      • 13.70
      • Published

      cluster-mode

      A cluster process management module for node.js applications.

      • v1.4.0
      • 13.50
      • Published

      graceful-deploy

      Gracefully deploy a node.js service with zero downtime, letting existing requests finish up while a new deployed process handles new incoming requests

      • v0.3.0
      • 12.51
      • Published

      django-exceptions

      Handle and parse Django REST Framework validation messages with aplomb.

      • v0.2.0
      • 11.89
      • Published

      async-exit-hook-improved

      Run some code when the process exits (supports async hooks and pm2 clustering)

      • v2.0.3
      • 11.81
      • Published

      yro

      Production process manager for Node.JS applications with a built-in load balancer.

      • v1.0.0
      • 11.62
      • Published

      kamisama

      Cluster with automatic respawn and graceful shutdown

      • v1.0.12
      • 11.52
      • Published

      pm2-fix

      Production process manager for Node.JS applications with a built-in load balancer.

      • v2.9.6
      • 11.38
      • Published

      goto-pm2

      Production process manager for Node.JS applications with a built-in load balancer.

      • v4.4.6
      • 11.21
      • Published

      outstanding

      A task register for facilitating graceful shutdown

      • v1.1.0
      • 11.12
      • Published

      read-pkg-workspace

      Read the closest package.json files and find yarn workspaces

      • v0.1.1
      • 11.03
      • Published

      gp2

      Production process manager for Node.JS applications with a built-in load balancer.

      • v1.0.1
      • 11.03
      • Published

      gracefully-exit

      Finish all pending process before exiting gracefully

      • v0.5.0
      • 10.83
      • Published

      handle-quit

      Support graceful stop in your app

      • v2.0.0
      • 10.83
      • Published

      seppuku

      Allow your worker processes to die honourably

      • v0.1.6
      • 10.83
      • Published

      parse-workspace-path

      > Parses arbitrary path string considering the presence of packages and workspaces

      • v0.1.1
      • 10.42
      • Published

      like-terminable

      Handle resources like process, cluster, servers and req/res for gracefully exit

      • v1.1.7
      • 10.14
      • Published

      @qgustavor/later

      ES Modules fork of later. Determine later (or previous) occurrences of recurring schedules

      • v5.0.2
      • 9.99
      • Published

      graceful-shutdown-manager

      All in one solution to gracefully shutdown your application through a simple delayed shutdown process. Also allows code reloading and program restarting, instead of using a not so graceful process manager line nodemon.

      • v2.3.2
      • 9.99
      • Published

      quiexercitationem

      The best job scheduler for Node.js and JavaScript with cron, dates, ms, later, and human-friendly support. Works in Node v12.11.0+, uses worker threads to spawn sandboxed processes, and supports async/await, retries, throttling, concurrency, and cancelab

      • v1.0.2
      • 9.97
      • Published

      gulp-graceful-error

      allow failing tasks to continue the build while still failing

      • v1.1.1
      • 9.94
      • Published

      dateplus

      just easy to modify date

      • v0.2.1
      • 9.83
      • Published

      hapi-death

      Help Hapi.js die gracefully by intercepting SIGINT and SIGTERM and calling server.stop()

      • v3.0.0
      • 9.52
      • Published

      drover

      Drover is native nodejs solution that takes away pain when orchestrating composite application and providers all-in-one point for graceful cluster control

      • v1.0.0
      • 9.52
      • Published

      exit-hook2

      Node.js cancellable exit-hooks

      • v1.0.8
      • 8.96
      • Published

      fault-tolerance

      Process errors and normalize the output

      • v1.3.1
      • 8.82
      • Published

      @onephrase/pm2

      Production process manager for Node.JS applications with a built-in load balancer.

      • v4.4.1
      • 8.79
      • Published

      graceful-critical

      Gracefully handle SIGTERM and SIGINT around critical sections.

      • v1.0.2
      • 8.68
      • Published

      gracious

      Facilitate gracious application shutdown by allowing asynchronous code to finish

      • v1.0.0
      • 8.60
      • Published

      15v-pm2

      Production process manager for Node.JS applications with a built-in load balancer.

      • v2.10.3
      • 8.53
      • Published

      @web-native-js/pm2

      Production process manager for Node.JS applications with a built-in load balancer.

      • v4.4.1
      • 8.13
      • Published

      app-ready

      Signal that your app is ready for use.

      • v0.1.0
      • 8.10
      • Published

      workers-cluster

      start and stop workers cluster easy

      • v0.1.2
      • 8.00
      • Published

      rmgr

      release resources gracefully

      • v0.3.1
      • 8.00
      • Published

      gracedown

      Graceful shutdown, batteries included.

      • v1.1.0
      • 8.00
      • Published

      stop-agenda

      Gracefully stop Agenda and cancel recurring jobs

      • v0.0.6
      • 8.00
      • Published

      tooltippy

      💬 Graceful CSS-only tooltips in under 1kb gzipped.

      • v1.1.0
      • 7.72
      • Published

      @magiclab/pm2

      Production process manager for Node.JS applications with a built-in load balancer.

      • v3.5.1
      • 7.71
      • Published

      corpjs-system

      Describe your service resource components for graceful start and stop

      • v0.1.4
      • 7.36
      • Published

      safe-exit

      Shutdown Node.js applications gracefully.

      • v1.0.0
      • 7.23
      • Published

      pm2_alert_sender

      Production process manager for Node.JS applications with a built-in load balancer.

      • v3.1.8
      • 6.65
      • Published

      @getvim/pm2

      Production process manager for Node.JS applications with a built-in load balancer.

      • v0.0.1
      • 6.65
      • Published

      guarding

      ## Usages

      • v1.2.0
      • 6.65
      • Published

      grace

      Graceful application with domains, cluster, error handling and Express support

      • v0.2.5
      • 6.54
      • Published

      node-exit

      Broadcast exit event to listener before the actual exit handler is called

      • v1.2.2
      • 6.54
      • Published

      @yblok13/pm2

      Production process manager for Node.JS applications with a built-in load balancer.

      • v4.5.5
      • 6.44
      • Published

      leadballoon

      Graceful failure extensions for HTTP servers

      • v0.0.3
      • 6.42
      • Published

      flan

      A sweet facade on top of a process.disconnect-based graceful collapse.

      • v1.0.2
      • 6.28
      • Published

      mu-koan-server

      Graceful shutdown decorator for node's http(s) server

      • v1.0.0
      • 6.11
      • Published

      catchup

      Graceful error handling. Because core `domain` module is deprecated. This share almost the same API.

      • v1.0.0
      • 5.83
      • Published

      pre-exit

      A utility package which allows you to clean up before node exits

      • v1.0.0
      • 5.83
      • Published

      pariaturfacere

      The best job scheduler for Node.js and JavaScript with cron, dates, ms, later, and human-friendly support. Works in Node v10+ and browsers (thanks to bthreads polyfill), uses workers to spawn sandboxed processes, and supports async/await, retries, thrott

      • v1.2.1
      • 5.64
      • Published

      @cutii/pm2

      Production process manager for Node.JS applications with a built-in load balancer.

      • v2.9.1
      • 5.24
      • Published

      @edgeros/graceful

      Graceful exit when `uncaughtException` or `unhandledRejection` emit

        • v0.0.3
        • 5.10
        • Published

        bernard

        Graceful exit manager

        • v0.0.1
        • 5.10
        • Published

        graceful-sd

        A library to help with shutting down servers and other node processes gracefully.

        • v0.5.0
        • 4.87
        • Published

        reza-pm2

        Production process manager for Node.JS applications with a built-in load balancer.

        • v5.4.3
        • 4.87
        • Published

        proprietor

        Manages the configuration and execution of a set of processes for a host

        • v0.0.0
        • 4.27
        • Published

        graceful-server

        Adds the ability to gracefully shutdown a server.

        • v1.0.1
        • 4.27
        • Published

        rolly-retry

        Retries one or more functions and consecutively checks for success.

        • v2.1.7
        • 4.27
        • Published

        emptydir

        recursively delete files while preserving directories

        • v0.0.0
        • 4.12
        • Published

        graceful-recovery

        Save your server session/state to disk and recover from crashes, shutdowns and restarts

          • v1.1.0
          • 4.06
          • Published

          applife

          ♻️ Handle the lifecyle of your application

          • v1.3.8
          • 4.05
          • Published

          pm4

          Production process manager for Node.JS applications with a built-in load balancer.

          • v5.2.0
          • 4.00
          • Published

          docker-stop

          Gracefully shutdown your services and obide to dockers stop specification

            • v1.0.0
            • 4.00
            • Published

            graceful-close

            Close node 6+ server gracefully with timeout support

            • v1.0.6
            • 3.96
            • Published

            @airiot/pm2

            Production process manager for Node.JS applications with a built-in load balancer.

            • v5.3.1
            • 3.86
            • Published

            graceful-timer

            [![NPM version][npm-image]][npm-url] [![npm download][download-image]][download-url]

            • v0.1.0
            • 3.86
            • Published

            @savid/shutdown

            Graceful shutdown handling for NodeJS

            • v1.0.4
            • 3.68
            • Published

            graceful-hook

            Gracefully exit process while waiting for all services to finish.

            • v1.0.3
            • 3.68
            • Published

            pm2-notrack

            Production process manager for Node.JS applications with a built-in load balancer.

            • v3.5.1
            • 3.68
            • Published

            callbag-graceful

            Callbag operator for graceful error handling

            • v1.0.0
            • 3.68
            • Published

            graceful-motion

            Implements physics based limits on the change of a position to achieve graceful motion.

            • v0.0.0
            • 2.49
            • Published

            cross-exit

            Gracefully terminate a script in Node.js or browsers.

            • v1.0.0
            • 2.49
            • Published

            @zecar/pm2-socketio

            Production process manager for Node.JS applications with a built-in load balancer.

            • v5.4.2
            • 2.41
            • Published

            ofa-shutdown

            ofa graceful shut down plugin

            • v1.0.2
            • 2.41
            • Published

            @grandeto/pm2-socket.io

            Production process manager for Node.JS applications with a built-in load balancer.

            • v5.1.2
            • 2.38
            • Published

            @lechuhuuha/graceful

            Gracefully exit HTTP servers (Express/Koa/Fastify/etc), databases (Mongo/Mongoose), Bree job schedulers, and custom handlers.

            • v3.2.3-1
            • 2.34
            • Published

            @domain.js/graceful

            domain.js graceful 通用模块,实现优雅退出重启

            • v0.2.0
            • 2.34
            • Published

            interval-manager

            Interval Manager for handling graceful shutdown

            • v1.0.4
            • 2.34
            • Published

            nymble-middleware

            a collection of reusable connect/express middleware and middleware builders

            • v0.0.1
            • 2.34
            • Published

            shutgrace

            Graceful shutdown of Node.js server with SQL database.

              • v1.0.1
              • 2.32
              • Published

              runsa-pm2

              Production process manager for Node.JS applications with a built-in load balancer.

              • v5.1.2
              • 2.32
              • Published

              graceful-cron

              cron wrapper allow graceful shutdown

              • v1.0.0
              • 2.26
              • Published

              pm2-exit-hook

              Deprecated, use async-exit-hook instead

              • v2.0.5
              • 2.26
              • Published

              terminable

              Handle resources for graceful exit

              • v1.2.1
              • 2.15
              • Published

              @recalibratedsystems/pm2

              Production process manager for Node.JS applications with a built-in load balancer.

              • v0.8.1
              • 0.00
              • Published

              shutdownmanager

              waits for OS signal and gracefully closes services passed to it on the signal before returning.

              • v1.0.1
              • 0.00
              • Published

              nocrash

              supervisor to ensure your process does not crash

              • v0.1.6
              • 0.00
              • Published

              super-graceful-shutdown

              The super-graceful-shutdown npm package provides a super graceful way to shutdown an Express server application.

              • v1.0.0-development
              • 0.00
              • Published

              simply-graceful

              Simple graceful shutdown, liveness and readiness probe manager for NodeJS services

              • v1.0.3
              • 0.00
              • Published

              cluster-adapter-pm2

              Production process manager for Node.JS applications with a built-in load balancer.

              • v5.3.0
              • 0.00
              • Published