Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

why-is-node-running

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

why-is-node-running - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

.github/workflows/publish.yml

4

example.js

@@ -1,2 +0,2 @@

import why from './index.js'
import whyIsNodeRunning from './index.js'
import net from 'node:net'

@@ -14,3 +14,3 @@

setTimeout(function () {
why()
whyIsNodeRunning()
}, 100)

@@ -1,4 +0,4 @@

import why from './index.js'
import whyIsNodeRunning from './index.js'
import siginfo from 'siginfo'
siginfo(why, true)
siginfo(whyIsNodeRunning, true)
{
"name": "why-is-node-running",
"type": "module",
"version": "3.0.0",
"version": "3.1.0",
"description": "Node is running but you don't know why? why-is-node-running is here to help you.",
"exports": {
".": "./index.js",
"./includes": "./include.js"
".": {
"types": "./index.d.ts",
"default": "./index.js"
},
"./include": "./include.js"
},

@@ -10,0 +13,0 @@ "dependencies": {

@@ -22,3 +22,3 @@ # why-is-node-running

```js
import why from 'why-is-node-running' // should be your first import
import whyIsNodeRunning from 'why-is-node-running' // should be your first import
import net from 'node:net'

@@ -36,3 +36,3 @@

setTimeout(function () {
why() // logs out active handles that are keeping node running
whyIsNodeRunning() // logs out active handles that are keeping node running
}, 100)

@@ -83,3 +83,9 @@ ```

Alternatively if you do not want to install the package globally, you can run it with `npx`:
```bash
npx why-is-node-running /path/to/some/file.js
```
```
probing module /path/to/some/file.js

@@ -86,0 +92,0 @@ kill -SIGUSR1 31115 for logging

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc