liudong
2023-05-29 340f156319b863525e50e900c58e59b86ecb3d5e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
  "_from": "stoppable@^1.1.0",
  "_id": "stoppable@1.1.0",
  "_inBundle": false,
  "_integrity": "sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==",
  "_location": "/stoppable",
  "_phantomChildren": {},
  "_requested": {
    "type": "range",
    "registry": true,
    "raw": "stoppable@^1.1.0",
    "name": "stoppable",
    "escapedName": "stoppable",
    "rawSpec": "^1.1.0",
    "saveSpec": null,
    "fetchSpec": "^1.1.0"
  },
  "_requiredBy": [
    "#DEV:/",
    "/node-red-node-test-helper"
  ],
  "_resolved": "https://registry.npmjs.org/stoppable/-/stoppable-1.1.0.tgz",
  "_shasum": "32da568e83ea488b08e4d7ea2c3bcc9d75015d5b",
  "_spec": "stoppable@^1.1.0",
  "_where": "/home/l/plc/node-red",
  "bugs": {
    "url": "https://github.com/hunterloftis/stoppable/issues"
  },
  "bundleDependencies": false,
  "deprecated": false,
  "description": "[![Build Status](https://travis-ci.org/hunterloftis/stoppable.svg?branch=master)](https://travis-ci.org/hunterloftis/stoppable)",
  "devDependencies": {
    "artillery": "^1.6.0-15",
    "awaiting": "^3.0.0",
    "chai": "^4.1.2",
    "mocha": "^5.0.5",
    "nyc": "^11.6.0",
    "requisition": "^1.7.0",
    "standard": "^11.0.1"
  },
  "engines": {
    "node": ">=4",
    "npm": ">=6"
  },
  "files": [
    "lib"
  ],
  "homepage": "https://github.com/hunterloftis/stoppable",
  "keywords": [
    "server",
    "net",
    "connect",
    "socket",
    "connection",
    "stop",
    "close",
    "disconnect",
    "disconnection",
    "http",
    "https",
    "tcp"
  ],
  "license": "MIT",
  "main": "lib/stoppable.js",
  "name": "stoppable",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/hunterloftis/stoppable.git"
  },
  "scripts": {
    "coverage": "nyc mocha --bail \"test/*.test.js\"",
    "lint": "standard --fix \"lib/**/*.js\" \"test/**/*.js\"",
    "perf:baseline": "node test/performance.js & sleep 2 && artillery quick -d 10 -r 1000 -o /dev/null -k http://localhost:8000",
    "perf:stoppable": "node test/performance.js 1 & sleep 2 && artillery quick -d 10 -r 1000 -o /dev/null -k http://localhost:8000",
    "spec": "nyc --check-coverage mocha --bail \"test/*.test.js\"",
    "test": "npm run lint && npm audit && npm run spec"
  },
  "version": "1.1.0"
}