# istanbul-coveralls

> A simple alias for istanbul + coveralls

Latest version **1.0.3** (published 2015-06-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install istanbul-coveralls
pnpm add istanbul-coveralls
yarn add istanbul-coveralls
bun add istanbul-coveralls
```

Provides the command `istanbul-coveralls`.

## 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.3 |
| Published | 2015-06-04 |
| First published | 2014-08-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 21 |
| Author | Shinnosuke Watanabe |
| Maintainers | shinnn |
| Keywords | istanbul, coveralls, command, command-line, cli, coverage, report, integration, lcov, shorten, alias |

## Links

- npm: https://www.npmjs.com/package/istanbul-coveralls
- Repository: https://github.com/shinnn/istanbul-coveralls
- Homepage: https://github.com/shinnn/istanbul-coveralls#readme
- Issues: https://github.com/shinnn/istanbul-coveralls/issues
- npm.io page: https://npm.io/package/istanbul-coveralls

## Dependencies (5)

- [chalk](https://npm.io/package/chalk.md) ^1.0.0
- [rimraf](https://npm.io/package/rimraf.md) ^2.3.4
- [sum-up](https://npm.io/package/sum-up.md) ^1.0.1
- [minimist](https://npm.io/package/minimist.md) ^1.1.1
- [coveralls](https://npm.io/package/coveralls.md) ^2.11.2

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2015-06-04
- 1.0.2 — 2015-02-28
- 1.0.1 — 2014-10-03
- 1.0.0 — 2014-08-27
- 0.0.0 — 2014-08-27

## README

# istanbul-coveralls 

[![NPM version](https://img.shields.io/npm/v/istanbul-coveralls.svg)](https://www.npmjs.com/package/istanbul-coveralls)
[![Build Status](https://travis-ci.org/shinnn/istanbul-coveralls.svg?branch=master)](https://travis-ci.org/shinnn/istanbul-coveralls)
[![Coverage Status](https://img.shields.io/coveralls/shinnn/istanbul-coveralls.svg)](https://coveralls.io/r/shinnn/istanbul-coveralls?branch=master)
[![Dependency Status](https://david-dm.org/shinnn/istanbul-coveralls.svg)](https://david-dm.org/shinnn/istanbul-coveralls)
[![devDependency Status](https://david-dm.org/shinnn/istanbul-coveralls/dev-status.svg)](https://david-dm.org/shinnn/istanbul-coveralls#info=devDependencies)

A simple alias for [istanbul](https://github.com/gotwarlost/istanbul) + [node-coveralls](https://github.com/cainus/node-coveralls)

```sh
istanbul cover test.js && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage
```

↓

```sh
istanbul cover test.js && istanbul-coveralls
```

## Installation

[Use npm](https://docs.npmjs.com/cli/install).

```sh
npm install --save-dev istanbul istanbul-coveralls
```

## Usage

1. Write a coverage information file under `./coverage` by using [`istanbul cover` command](https://github.com/gotwarlost/istanbul#the-cover-command) or [the API of istanbul](https://github.com/gotwarlost/istanbul#api).
2. Run `istanbul-coveralls` command. See [the docs of node-coveralls](https://github.com/cainus/node-coveralls#usage) for more information about its usage.

### Option

#### `--no-rm`

By default, it removes `./coverage` after coverage reporting. If `--no-rm` flag is enabled, it doesn't remove the directory.

```sh
istanbul cover test.js && istanbul-coveralls --no-rm
```

## Example

### [Mocha](http://mochajs.org/)

```sh
istanbul cover ./node_modules/.bin/_mocha && ./node_modules/.bin/istanbul-coveralls
```

If you run the test as a [npm script](https://docs.npmjs.com/misc/scripts), [you can omit directory names from the command](https://docs.npmjs.com/misc/scripts#path).

```sh
istanbul cover _mocha && istanbul-coveralls
```

## License

Copyright (c) 2014 - 2015 [Shinnosuke Watanabe](https://github.com/shinnn)

Licensed under [the MIT LIcense](./LICENSE).

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