Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jill64/v8-resolver
🔱 Revive Chaotic Raw V8 Coverage
https://github.com/jill64/v8-resolver
convert coverage node v8
Last synced: 2 months ago
JSON representation
🔱 Revive Chaotic Raw V8 Coverage
- Host: GitHub
- URL: https://github.com/jill64/v8-resolver
- Owner: jill64
- License: mit
- Created: 2024-02-08T09:06:45.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-10-29T17:43:21.000Z (2 months ago)
- Last Synced: 2024-10-30T00:37:45.545Z (2 months ago)
- Topics: convert, coverage, node, v8
- Language: TypeScript
- Homepage: https://npmjs.com/package/@jill64/v8-resolver
- Size: 352 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @jill64/v8-resolver
🔱 Revive Chaotic Raw V8 Coverage
Convert from V8 coverage of JS files built from multiple sources to V8 coverage of source files.
## Installation
```sh
npm i @jill64/v8-resolver
```## Usage
```js
import { resolve } from '@jill64/v8-resolver'const result = await resolve(/* ... Node V8 Coverage Data ... */)
```## Convert from file path
```js
import { resolve, fromPath } from '@jill64/v8-resolver'const result = await resolve(fromPath('/path/to/coverage-file.json'))
```## Merge Results
```js
import { resolve, merge } from '@jill64/v8-resolver'const resolved = await resolve(/* ... */)
const merged = merge(resolved)
```## License
[MIT](LICENSE)