# Install memlab with npm

memlab is a framework that analyzes memory and finds memory leaks in JavaScript applications. Version 2.0.4 via npm; verified 2026-07-11.

## Install

```sh
sudo av install npm:memlab
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g memlab
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:memlab
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/memlab>
- **Version:** 2.0.4
- **Source summary:** memlab is a framework that analyzes memory and finds memory leaks in JavaScript applications.
- **Homepage:** <https://facebook.github.io/memlab/>
- **Repository:** <https://github.com/facebook/memlab>
- **Upstream docs:** <https://facebook.github.io/memlab/>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/memlab/-/memlab-2.0.4.tgz>
- **Issue tracker:** <https://github.com/facebook/memlab/issues>
- **Published:** 2026-07-11T17:04:47.434Z
- **Last updated:** 2026-07-11T17:04:47.434Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- memlab (cli)
- memlab (alias)

## Dependencies

- @memlab/api
- @memlab/cli
- @memlab/core
- @memlab/e2e
- @memlab/heap-analysis
- @memlab/lens
- ansi
- babar
- chalk
- fs-extra
- minimist
- puppeteer
- puppeteer-core
- string-width
- util.promisify
- xvfb

## Build dependencies

- @types/fs-extra
- @types/jest
- @types/minimist
- @types/node
- jest
- ts-jest
- typescript

## Install behavior

- Post-install hook: not defined
- Lifecycle scripts: preinstall
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 2.0.4
- Package-manager updated: 2026-07-11
- Local data: ok
- Upstream repository: https://github.com/facebook/memlab
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for memlab. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.0.4
- **Version Count:** 73
- **Maintainers:** jacksongl, meta-memlab
- **Author:** Liang Gong
- **Publisher:** jacksongl
- **Integrity:** sha512-DPcdAUmEjsuQMUER7s7T1PYlBzwf5D0jY/hBPoU2cN6bcZNajYL+yOHYwhUiyteQEgiOJTD2v73VMnS9GFf0QQ==
- **Shasum:** 5aeae5a2e2bbca1204cd15fe0112195842946282
- **Unpacked Size:** 14,066
- **File Count:** 0
- **Created At:** 2022-06-16T00:18:52.519Z
- **Latest Published At:** 2026-07-11T17:04:47.434Z
- **Modified At:** 2026-07-11T17:04:47.537Z


## Related links

- [Web development packages](https://pkg.so/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [clinic](https://pkg.so/npm/clinic/) - Local package facts share a topical domain. Shared terms: analysis, cli, developer, developer-tools, heap.
- [0x](https://pkg.so/npm/0x/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, extra, fs-extra.
- [cypress](https://pkg.so/npm/cypress/) - Local package facts share a topical domain. Shared terms: chalk, cli, developer, developer-tools, e2e.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
