Socket
Socket
Sign inDemoInstall

expose-gc

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

expose-gc

Expose GC at runtime without access to comamnd node flags in command line


Version published
Weekly downloads
16K
decreased by-15.8%
Maintainers
1
Weekly downloads
 
Created
Source

Expose GC at runtime!

Have your cake and eat it too

If for some reason you don't have access to how node is started or you haven't bothered with setting v8 flags, this module exposes the real gc for you.

Install

npm i expose-gc

I want my GC to be global!

require('expose-gc');

global.gc();

I just want a function, no global please!

const gc = require('expose-gc/function');

gc();

Keywords

FAQs

Package last updated on 24 Jul 2018

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