Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yields/coverage
code coverage
https://github.com/yields/coverage
Last synced: 2 months ago
JSON representation
code coverage
- Host: GitHub
- URL: https://github.com/yields/coverage
- Owner: yields
- Created: 2013-12-03T04:43:27.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-21T19:47:48.000Z (over 10 years ago)
- Last Synced: 2024-10-19T21:46:54.465Z (2 months ago)
- Language: CSS
- Size: 219 KB
- Stars: 39
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
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)