# @0x-lerna-fork/collect-uncommitted

> Collect uncommitted changes to working tree for display in error messages

Latest version **3.16.3** (published 2019-07-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @0x-lerna-fork/collect-uncommitted
pnpm add @0x-lerna-fork/collect-uncommitted
yarn add @0x-lerna-fork/collect-uncommitted
bun add @0x-lerna-fork/collect-uncommitted
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: no vulnerabilities; high maintenance score; popular repo.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.16.3 |
| Published | 2019-07-22 |
| First published | 2019-07-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 6.9.0 |
| Dependencies | 4 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 36054 |
| Author | Daniel Stockman |
| Maintainers | albrow, fberger |
| Keywords | lerna, utils, git, tree |

## Links

- npm: https://www.npmjs.com/package/@0x-lerna-fork/collect-uncommitted
- Repository: https://github.com/lerna/lerna
- Homepage: https://github.com/lerna/lerna/tree/master/utils/collect-uncommitted#readme
- Issues: https://github.com/lerna/lerna/issues
- npm.io page: https://npm.io/package/@0x-lerna-fork/collect-uncommitted

## Dependencies (4)

- [chalk](https://npm.io/package/chalk.md) ^2.3.1
- [npmlog](https://npm.io/package/npmlog.md) ^4.1.2
- [figgy-pudding](https://npm.io/package/figgy-pudding.md) ^3.5.1
- [@0x-lerna-fork/child-process](https://npm.io/package/@0x-lerna-fork/child-process.md) 3.16.3

## Recent versions

- 3.16.3 (latest) — 2019-07-22
- 3.16.2 — 2019-07-22

## README

# `@0x-lerna-fork/collect-uncommitted`

> Check git working tree status and collect uncommitted changes for display

## Usage

```js
const collectUncommitted = require("@0x-lerna-fork/collect-uncommitted");

// values listed here are their defaults
const options = {
  cwd: process.cwd(),
  log: require("npmlog"),
};

(async () => {
  try {
    const results = await collectUncommitted(options);
    console.log(`Uncommitted changes on CWD ${options.cwd}: ${results.join("\n")}`);
  } catch (err) {
    console.error(err.message);
  }
})();
```

Install [lerna](https://www.npmjs.com/package/lerna) for access to the `lerna` CLI.

---
_Source: https://npm.io/package/@0x-lerna-fork/collect-uncommitted · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
