JSPM

Found 217 results for graceful

restore-cursor

Gracefully restore the CLI cursor on exit

  • v5.1.0
  • 105.11
  • Published

read-pkg

Read a package.json file

  • v9.0.1
  • 103.21
  • Published

parse-json

Parse JSON with more helpful errors

  • v8.3.0
  • 102.41
  • Published

exit-hook

Run some code when the process exits

  • v4.0.0
  • 93.22
  • Published

pm2

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

  • v6.0.8
  • 86.87
  • Published

read-package-up

Read the closest package.json file

  • v11.0.0
  • 85.48
  • Published

home-or-tmp

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

  • v4.0.0
  • 83.18
  • Published

write-json-file

Stringify and write JSON to a file atomically

  • v6.0.0
  • 83.15
  • Published

async-exit-hook

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

  • v2.0.1
  • 81.33
  • Published

http-shutdown

Gracefully shutdown a running HTTP server.

  • v1.2.2
  • 79.64
  • Published

@breejs/later

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

  • v4.2.0
  • 76.45
  • Published

package-config

Get namespaced config from the closest package.json

  • v5.0.0
  • 76.39
  • Published

write-yaml-file

Stringify and write YAML to a file atomically

  • v5.0.0
  • 75.94
  • Published

close-with-grace

Exit your process, gracefully (if possible)

  • v2.2.0
  • 74.04
  • Published

read-ini-file

Read and parse an ini file

  • v4.0.0
  • 65.67
  • Published

write-package

Write a package.json file

  • v7.1.0
  • 64.08
  • Published

@gquittet/graceful-server

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

  • v5.2.15
  • 62.34
  • Published

@ladjs/graceful

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

  • v4.2.0
  • 60.24
  • 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
  • 59.17
  • Published

graceful

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

  • v2.0.0
  • 58.86
  • Published

tsconfig-resolver

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

    • v3.0.1
    • 58.06
    • Published

    loading-cli

    Terminal loading effect.

    • v1.1.2
    • 57.32
    • Published

    express-graceful-exit

    Allow graceful exits for express apps, supporting zero downtime deploys

    • v0.5.2
    • 53.33
    • Published

    node-graceful

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

    • v3.1.0
    • 52.67
    • Published

    gently-copy

    Copy files without overwriting

    • v3.2.0
    • 51.43
    • Published

    graceful-ncp

    Asynchronous recursive file copying (with graceful-fs)

    • v3.0.0
    • 50.58
    • Published

    @arcblock/pm2

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

    • v6.0.12
    • 50.32
    • 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
    • 50.02
    • Published

    @dnlup/fastify-traps

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

    • v3.1.0
    • 49.08
    • 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.02
    • Published

    graceful-fs-extra

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

    • v2.0.0
    • 46.79
    • Published

    @socket.io/pm2

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

    • v6.0.8
    • 46.72
    • Published

    write-json5-file

    Stringify and write JSON to a file atomically

    • v3.1.0
    • 46.04
    • Published

    write-ini-file

    Stringify and write ini to a file atomically

    • v4.0.1
    • 43.88
    • Published

    systemic

    A minimal dependency injection library for node

    • v4.1.2
    • 42.67
    • Published

    @scg82/exit-hook

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

    • v3.4.1
    • 39.58
    • Published

    graceful-instanceof

    The instanceof mechanism cross package/module versions.

    • v1.0.1
    • 34.80
    • Published

    gracefultools

    Graceful shutdown for ExpressJS

    • v2.1.2
    • 33.31
    • Published

    @ilpt/systemic-ts

    A minimal type-safe dependency injection library

    • v1.1.1
    • 32.17
    • Published

    @scdev/fine

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

    • v3.0.0
    • 29.38
    • Published

    nexit

    Tiny dependency free utility to exit NodeJs gracefully

    • v1.0.5
    • 28.48
    • 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.28
    • Published

    generate-ctrl-c-event

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

    • v2.0.2
    • 28.02
    • Published

    hapi-graceful-pm2

    hapi plugin to handle graceful pm2 reloads

    • v1.0.17
    • 27.74
    • Published

    gerard

    Graceful Recursive ReadDir

    • v0.2.0
    • 27.73
    • Published

    aeterno

    A daemonization tool written in javascript.

    • v1.0.0
    • 26.74
    • Published

    on-shutdown

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

    • v0.0.0
    • 26.31
    • Published

    pm2-beta

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

    • v6.0.4
    • 24.52
    • Published

    kill-with-style

    Kill procesess gracefully with retries, signals and all children

    • v1.1.0
    • 24.21
    • Published

    mos-read-pkg-up

    Read the closest package.json file

    • v1.0.0
    • 23.81
    • 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.60
    • Published

    mos-read-pkg

    Read a package.json file

    • v1.1.3
    • 23.43
    • Published

    graceful-logger

    A simple, slim, graceful logger for Nodejs

    • v0.4.3
    • 19.30
    • 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.50
    • Published

    exit-signal

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

    • v2.0.0
    • 17.77
    • Published

    @dwelle/pm2

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

    • v5.1.12
    • 17.72
    • Published

    graceful-playwright

    Gracefully handle timeout and network error with auto retry.

    • v1.5.1
    • 16.00
    • Published

    final-pm

    The Final Process Manager

    • v2.24.0
    • 15.81
    • 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.98
    • Published

    exorcise

    Cleanse as you exit.

    • v0.23.0
    • 13.68
    • Published

    egress

    shut your node.js apps more gracefully

    • v1.0.0
    • 13.03
    • 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.79
    • Published

    cluster-mode

    A cluster process management module for node.js applications.

    • v1.4.0
    • 12.68
    • Published

    yro

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

    • v1.0.0
    • 11.74
    • Published

    kamisama

    Cluster with automatic respawn and graceful shutdown

    • v1.0.12
    • 11.72
    • Published

    seppuku

    Allow your worker processes to die honourably

    • v0.1.6
    • 11.26
    • Published

    read-pkg-workspace

    Read the closest package.json files and find yarn workspaces

    • v0.1.1
    • 11.22
    • Published

    gp2

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

    • v1.0.1
    • 11.22
    • Published

    handle-quit

    Support graceful stop in your app

    • v2.0.0
    • 10.91
    • Published

    dateplus

    just easy to modify date

    • v0.2.1
    • 10.91
    • Published

    async-exit-hook-improved

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

    • v2.0.3
    • 10.34
    • Published

    gracefully-exit

    Finish all pending process before exiting gracefully

    • v0.5.0
    • 10.14
    • Published

    outstanding

    A task register for facilitating graceful shutdown

    • v1.1.0
    • 10.13
    • Published

    django-exceptions

    Handle and parse Django REST Framework validation messages with aplomb.

    • v0.2.0
    • 10.13
    • Published

    gulp-graceful-error

    allow failing tasks to continue the build while still failing

    • v1.1.1
    • 10.08
    • 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.84
    • Published

    hapi-death

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

    • v3.0.0
    • 9.65
    • 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.65
    • Published

    @qgustavor/later

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

    • v5.0.2
    • 9.29
    • Published

    parse-workspace-path

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

    • v0.1.1
    • 9.23
    • Published

    graceful-echarts

    A quick to use echarts packaging component

      • v0.0.5
      • 9.10
      • Published

      daruk-exit-hook

      Run some code when the process exits

      • v0.3.0
      • 8.92
      • Published

      exit-hook2

      Node.js cancellable exit-hooks

      • v1.0.8
      • 8.72
      • 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
      • 8.72
      • Published

      15v-pm2

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

      • v2.10.3
      • 8.68
      • Published

      grace

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

      • v0.2.5
      • 8.22
      • Published

      stop-agenda

      Gracefully stop Agenda and cancel recurring jobs

      • v0.0.6
      • 8.08
      • Published

      @web-native-js/pm2

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

      • v4.4.1
      • 8.00
      • Published

      @magiclab/pm2

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

      • v3.5.1
      • 7.84
      • Published

      tooltippy

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

      • v1.1.0
      • 7.51
      • Published

      goto-pm2

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

      • v4.4.6
      • 7.51
      • Published

      corpjs-system

      Describe your service resource components for graceful start and stop

      • v0.1.4
      • 7.47
      • Published

      gracedown

      Graceful shutdown, batteries included.

      • v1.1.0
      • 7.30
      • Published

      gracious

      Facilitate gracious application shutdown by allowing asynchronous code to finish

      • v1.0.0
      • 7.08
      • Published

      pm2_alert_sender

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

      • v3.1.8
      • 6.75
      • Published

      @getvim/pm2

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

      • v0.0.1
      • 6.75
      • Published

      guarding

      ## Usages

      • v1.2.0
      • 6.75
      • Published

      node-exit

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

      • v1.2.2
      • 6.52
      • Published

      workers-cluster

      start and stop workers cluster easy

      • v0.1.2
      • 6.40
      • Published

      leadballoon

      Graceful failure extensions for HTTP servers

      • v0.0.3
      • 6.39
      • Published

      @onephrase/pm2

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

      • v4.4.1
      • 6.39
      • Published

      app-ready

      Signal that your app is ready for use.

      • v0.1.0
      • 6.39
      • Published

      flan

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

      • v1.0.2
      • 6.21
      • Published

      @cutii/pm2

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

      • v2.9.1
      • 6.21
      • Published

      mu-koan-server

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

      • v1.0.0
      • 5.95
      • Published

      catchup

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

      • v1.0.0
      • 5.92
      • Published

      pre-exit

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

      • v1.0.0
      • 5.92
      • 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.74
      • Published

      pm2-fix

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

      • v2.9.6
      • 5.33
      • Published

      applife

      ♻️ Handle the lifecyle of your application

      • v1.3.8
      • 5.33
      • Published

      bernard

      Graceful exit manager

      • v0.0.1
      • 4.96
      • Published

      graceful-sd

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

      • v0.5.0
      • 4.93
      • Published

      reza-pm2

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

      • v5.4.3
      • 4.93
      • Published

      proprietor

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

      • v0.0.0
      • 4.34
      • Published

      rolly-retry

      Retries one or more functions and consecutively checks for success.

      • v2.1.7
      • 4.34
      • Published

      graceful-server

      Adds the ability to gracefully shutdown a server.

      • v1.0.1
      • 4.34
      • Published

      emptydir

      recursively delete files while preserving directories

      • v0.0.0
      • 4.11
      • Published

      safe-exit

      Shutdown Node.js applications gracefully.

      • v1.0.0
      • 4.04
      • Published

      pm4

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

      • v5.2.0
      • 4.04
      • Published

      @recalibratedsystems/pm2

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

      • v0.8.1
      • 4.00
      • Published

      graceful-close

      Close node 6+ server gracefully with timeout support

      • v1.0.6
      • 3.92
      • Published

      graceful-cron

      cron wrapper allow graceful shutdown

      • v1.0.0
      • 3.75
      • Published

      @edgeros/graceful

      Graceful exit when `uncaughtException` or `unhandledRejection` emit

        • v0.0.3
        • 3.75
        • Published

        graceful-timer

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

        • v0.1.0
        • 3.75
        • Published

        @savid/shutdown

        Graceful shutdown handling for NodeJS

        • v1.0.4
        • 3.73
        • Published

        graceful-hook

        Gracefully exit process while waiting for all services to finish.

        • v1.0.3
        • 3.73
        • Published

        pm2-notrack

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

        • v3.5.1
        • 3.73
        • Published

        callbag-graceful

        Callbag operator for graceful error handling

        • v1.0.0
        • 3.73
        • Published

        graceful-motion

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

        • v0.0.0
        • 2.54
        • Published

        cross-exit

        Gracefully terminate a script in Node.js or browsers.

        • v1.0.0
        • 2.54
        • 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

        docker-stop

        Gracefully shutdown your services and obide to dockers stop specification

          • v1.0.0
          • 2.36
          • Published

          interval-manager

          Interval Manager for handling graceful shutdown

          • v1.0.4
          • 2.36
          • Published

          nymble-middleware

          a collection of reusable connect/express middleware and middleware builders

          • v0.0.1
          • 2.36
          • 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.36
          • Published

          @domain.js/graceful

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

          • v0.2.0
          • 2.36
          • Published

          fault-tolerance

          Process errors and normalize the output

          • v1.3.1
          • 2.34
          • Published

          @grandeto/pm2-socket.io

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

          • v5.1.2
          • 2.34
          • Published

          graceful-recovery

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

            • v1.1.0
            • 2.34
            • Published

            @yblok13/pm2

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

            • v4.5.5
            • 2.34
            • Published

            shutgrace

            Graceful shutdown of Node.js server with SQL database.

              • v1.0.1
              • 2.29
              • Published

              pm2-exit-hook

              Deprecated, use async-exit-hook instead

              • v2.0.5
              • 2.20
              • Published

              @airiot/pm2

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

              • v5.3.1
              • 2.20
              • Published

              terminable

              Handle resources for graceful exit

              • v1.2.1
              • 2.18
              • Published

              @simbo/graceful-exit

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

              • v1.0.2
              • 0.00
              • Published

              like-terminable

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

              • v1.1.7
              • 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

              runsa-pm2

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

              • v5.1.2
              • 0.00
              • Published

              rmgr

              release resources gracefully

              • v0.3.1
              • 0.00
              • Published

              nocrash

              supervisor to ensure your process does not crash

              • v0.1.6
              • 0.00
              • Published

              graceful-critical

              Gracefully handle SIGTERM and SIGINT around critical sections.

              • v1.0.2
              • 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