# flora-colossus

> Walks your node_modules tree

Latest version **3.0.2** (published 2025-07-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install flora-colossus
pnpm add flora-colossus
yarn add flora-colossus
bun add flora-colossus
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 3.0.2 |
| Published | 2025-07-14 |
| First published | 2018-01-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=22.12.0 |
| Dependencies | 1 |
| Unpacked size | 21.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Samuel Attard |
| Maintainers | marshallofsound |
| Keywords | node_modules, walker |

## Links

- npm: https://www.npmjs.com/package/flora-colossus
- Repository: https://github.com/MarshallOfSound/flora-colossus
- Homepage: https://github.com/MarshallOfSound/flora-colossus#readme
- Issues: https://github.com/MarshallOfSound/flora-colossus/issues
- npm.io page: https://npm.io/package/flora-colossus

## Dependencies (1)

- [debug](https://npm.io/package/debug.md) ^4.4.1

## Recent versions

- 3.0.2 (latest) — 2025-07-14
- 3.0.1 — 2025-07-14
- 2.0.0 — 2022-11-04
- 1.0.1 — 2019-06-12
- 1.0.0 — 2018-04-07
- 0.0.3 — 2018-04-03
- 0.0.2 — 2018-01-02
- 0.0.1 — 2018-01-02

## README

Flora Colossus
-----------

> Walk your node_modules tree

## Installation

```bash
npm i --save-dev flora-colossus
```

## API

### Enum: `DepType`

```js
import { DepType } from 'flora-colossus';

// DepType.PROD --> Production dependency
// DepType.OPTIONAL --> Optional dependency
// DepType.DEV --> Development dependency
// DepType.DEV_OPTIONAL --> Optional dependency of a development dependency
// DepType.ROOT --> The root module
```

####

### Class: `Walker`

```js
import { Walker } from 'flora-colossus';

// modulePath is the root folder of your module
const walker = new Walker(modulePath);
```

#### `walker.walkTree()`

Returns `Promise<Module[]>`

Will walk your entire node_modules tree reporting back an array of "modules", each
module has a "path", "name" and "depType".  See the typescript definition file
for more information.

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