Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yields/coverage

code coverage
https://github.com/yields/coverage

Last synced: 2 months ago
JSON representation

code coverage

Awesome Lists containing this project

README

        

# Coverage

code coverage in your browser

## Installation

```bash
$ component install yields/coverage
```

## Example

clone and run `$ make example`.

```html



yields-lru-cache


require('mocha')
mocha.setup({ ui: 'bdd' })




cov = require('coverage')('yields-lru-cache');

mocha.run(cov.render.bind(cov))

```

## API

### Coverage()

Initialize `Coverage` with `name`. (component name)

#### #render()

Render to `#coverage`

## License

(MIT)