# exitzero

> make a CLI command always return an exit status of 0. This can be useful in combination with a `watch` process to ensure things keep running.

Latest version **1.0.1** (published 2015-02-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install exitzero
pnpm add exitzero
yarn add exitzero
bun add exitzero
```

Provides the command `exitzero`.

## 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.1 |
| Published | 2015-02-01 |
| First published | 2015-01-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Dan Flettre |
| Maintainers | flet |
| Keywords | cli, nofail, failonerror, fail, on, error, task, build |

## Links

- npm: https://www.npmjs.com/package/exitzero
- Repository: https://github.com/Flet/exitzero
- Issues: https://github.com/Flet/exitzero/issues
- npm.io page: https://npm.io/package/exitzero

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-02-01
- 1.0.0 — 2015-01-18

## README

# exitzero

make a CLI command always return an exit status of 0. This can be useful in combination with a `watch` process to ensure things keep running if the target command returns a non-zero exit status.

## Installation

```sh
npm install exitzero --global
```

## Example
```sh
flet@lappy:~$ ls nonexist
ls: cannot access nonexist: No such file or directory
flet@lappy:~$ echo $?
2
flet@lappy:~$ exitzero ls nonexist
ls: cannot access nonexist: No such file or directory
flet@lappy:~$ echo $?
0
```


## Tests

```sh
npm install
npm test
```

## Dependencies

None

## Dev Dependencies

- [nixt](https://github.com/vesln/nixt): Simple and powerful testing for command-line apps
- [tape](https://github.com/substack/tape): tap-producing test harness for node and browsers


## License

ISC

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