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

cnysa

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cnysa - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

2

package.json
{
"name": "cnysa",
"version": "0.4.0",
"version": "0.4.1",
"description": "A tool for understanding async-hooks",

@@ -5,0 +5,0 @@ "main": "index.js",

`cnysa` (unpronouncible) is a module that allows you to see information about what the `async_hooks` module is doing under the covers. `AsyncResources` and their lifecycle events are displayed neatly in rows (see bottom for examples).
__Note: This module currently uses the `colors` module.__
# Pre-Require Hook

@@ -70,5 +68,5 @@

```bash
node --require ./register -e " \
node --require cnysa/register -e " \
fs.readFile('package.json', (err, contents) => { \
require('.').Cnysa.get().mark('hi'); \
require('cnysa').Cnysa.get().mark('hi'); \
})"

@@ -75,0 +73,0 @@ ```

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