aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/why-is-node-running/README.md
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-14 14:46:37 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-14 14:46:37 -0800
commitafa87af01c79a9baa539f2992d32154d2a4739bd (patch)
tree92c7416db734270a2fee1d72ee9cc119379ff8e1 /vanilla/node_modules/why-is-node-running/README.md
parent3b927e84d200402281f68181cd4253bc77e5528d (diff)
downloadneko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.gz
neko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.bz2
neko-afa87af01c79a9baa539f2992d32154d2a4739bd.zip
task: delete vanilla js prototype\n\n- Removed vanilla/ directory and web/dist/vanilla directory\n- Updated Makefile, Dockerfile, and CI workflow to remove vanilla references\n- Cleaned up web/web.go to remove vanilla embed and routes\n- Verified build and tests pass\n\nCloses NK-2tcnmq
Diffstat (limited to 'vanilla/node_modules/why-is-node-running/README.md')
-rw-r--r--vanilla/node_modules/why-is-node-running/README.md104
1 files changed, 0 insertions, 104 deletions
diff --git a/vanilla/node_modules/why-is-node-running/README.md b/vanilla/node_modules/why-is-node-running/README.md
deleted file mode 100644
index d5e4c54..0000000
--- a/vanilla/node_modules/why-is-node-running/README.md
+++ /dev/null
@@ -1,104 +0,0 @@
-# why-is-node-running
-
-Node is running but you don't know why? `why-is-node-running` is here to help you.
-
-## Installation
-
-Node 8 and above:
-
-```bash
-npm i why-is-node-running -g
-```
-
-Earlier Node versions (no longer supported):
-
-```bash
-npm i why-is-node-running@v1.x -g
-```
-
-## Usage
-
-```js
-const log = require('why-is-node-running') // should be your first require
-const net = require('net')
-
-function createServer () {
- const server = net.createServer()
- setInterval(function () {}, 1000)
- server.listen(0)
-}
-
-createServer()
-createServer()
-
-setTimeout(function () {
- log() // logs out active handles that are keeping node running
-}, 100)
-```
-
-Save the file as `example.js`, then execute:
-
-```bash
-node ./example.js
-```
-
-Here's the output:
-
-```
-There are 5 handle(s) keeping the process running
-
-# Timeout
-/home/maf/dev/node_modules/why-is-node-running/example.js:6 - setInterval(function () {}, 1000)
-/home/maf/dev/node_modules/why-is-node-running/example.js:10 - createServer()
-
-# TCPSERVERWRAP
-/home/maf/dev/node_modules/why-is-node-running/example.js:7 - server.listen(0)
-/home/maf/dev/node_modules/why-is-node-running/example.js:10 - createServer()
-
-# Timeout
-/home/maf/dev/node_modules/why-is-node-running/example.js:6 - setInterval(function () {}, 1000)
-/home/maf/dev/node_modules/why-is-node-running/example.js:11 - createServer()
-
-# TCPSERVERWRAP
-/home/maf/dev/node_modules/why-is-node-running/example.js:7 - server.listen(0)
-/home/maf/dev/node_modules/why-is-node-running/example.js:11 - createServer()
-
-# Timeout
-/home/maf/dev/node_modules/why-is-node-running/example.js:13 - setTimeout(function () {
-```
-
-**Important Note!**
-`unref`ed timers do not prevent the Node process from exiting. If you are running with Node v11.0.0 and above, `unref`ed timers will not be listed in the above list. Unfortunately, this is not supported in node versions below v11.0.0.
-
-## CLI
-
-You can also run `why-is-node-running` as a standalone if you don't want to include it inside your code. Sending `SIGUSR1`/`SIGINFO` signal to the process will produce the log. (`Ctrl + T` on macOS and BSD systems)
-
-```bash
-why-is-node-running /path/to/some/file.js
-```
-
-```
-probing module /path/to/some/file.js
-kill -SIGUSR1 31115 for logging
-```
-
-To trigger the log:
-
-```
-kill -SIGUSR1 31115
-```
-
-## Require CLI Option
-
-You can also use the node `-r` option to include `why-is-node-running`:
-
-```bash
-node -r why-is-node-running/include /path/to/some/file.js
-```
-
-The steps are otherwise the same as the above CLI section
-
-## License
-
-MIT