1.0.9 • Published 5 years ago

silken v1.0.9

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Silken

NPM Version Node Version

Gracefully restart tool binding with pm2 for Node.JS app.

Installation

in your application

npm i silken -S

on your machine

npm i silken -g

Usage

in your application

const express = require('express');
const app = express();
app.use(silken(app));

on your machine

Usage: silk [options]

Options:
  -V, --version  output the version number
  restart <id>   restart app gracefully
  stop <id>      stop health check
  start <id>     start health check
  show <id>      show status
  list           list all
  list <id>      list by id
  -h, --help     output usage information

Notes

You can replace pm2 restart <id> with silk restart <id>

When you restart the app by silk

it goes through "stop health check -> waiting for handling finished -> restart app -> start health check -> restart ok"

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.0

9 years ago