# expose-gc

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

Latest version **1.0.0** (published 2018-07-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install expose-gc
pnpm add expose-gc
yarn add expose-gc
bun add expose-gc
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-07-24 |
| First published | 2018-07-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 0 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 21 |
| Author | Stefan-Gabriel Muscalu |
| Maintainers | stefangab95 |
| Keywords | expose, gc, runtime, expose-gc |

## Links

- npm: https://www.npmjs.com/package/expose-gc
- Repository: https://github.com/legraphista/expose-gc
- Homepage: https://github.com/legraphista/expose-gc#readme
- Issues: https://github.com/legraphista/expose-gc/issues
- npm.io page: https://npm.io/package/expose-gc

## Recent versions

- 1.0.0 (latest) — 2018-07-24

## README

# 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!
```js
require('expose-gc');

global.gc();
```

## I just want a function, no global please!
```
const gc = require('expose-gc/function');

gc();
```

---
_Source: https://npm.io/package/expose-gc · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
