New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

daruk-monitor-middleware

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

daruk-monitor-middleware

A nodejs use typescript project

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

daruk-monitor-middleware

A monitor from v8-profiler-node8 for Daruk

Installation scaffolding


$ cnpm i -g daruk-monitor-middleware

How to use in your daruk project

Find your daruk config file

//daruk.config.ts
darukConfig.middleware = {
  'daruk-monitor-middleware': (mid: Function) => {
    return mid({
      auth: {
        name: 'monitor',
        password: 'monitor'
      }
    });
  }
};

//push it into the middleware list
darukConfig.middlewareOrder = ['daruk-monitor-middleware'];

Your can view the data from Api:

/monitor/profiler

/monitor/profiler/function

/monitor/profiler/mem

/monitor/profiler/mem-analytics

LICENSE

MIT License

Keywords

FAQs

Package last updated on 17 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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