{
  "manifest": {
    "name": "v8-to-istanbul",
    "version": "8.1.1",
    "description": "convert from v8 coverage format to istanbul's format",
    "main": "index.js",
    "types": "index.d.ts",
    "scripts": {
      "fix": "standard --fix",
      "snapshot": "TAP_SNAPSHOT=1 tap test/*.js",
      "test": "c8 --reporter=html --reporter=text tap --no-coverage test/*.js",
      "posttest": "standard",
      "coverage": "c8 report --check-coverage"
    },
    "repository": {
      "type": "git",
      "url": "https://github.com/istanbuljs/v8-to-istanbul.git"
    },
    "keywords": [
      "istanbul",
      "v8",
      "coverage"
    ],
    "standard": {
      "ignore": [
        "**/test/fixtures"
      ]
    },
    "author": {
      "name": "Ben Coe",
      "email": "ben@npmjs.com"
    },
    "license": "ISC",
    "dependencies": {
      "@types/istanbul-lib-coverage": "^2.0.1",
      "convert-source-map": "^1.6.0",
      "source-map": "^0.7.3"
    },
    "devDependencies": {
      "@types/node": "^16.0.0",
      "c8": "^7.2.1",
      "semver": "^7.3.2",
      "should": "13.2.3",
      "standard": "^16.0.4",
      "tap": "^15.1.6"
    },
    "engines": {
      "node": ">=10.12.0"
    },
    "files": [
      "lib/*.js",
      "index.js",
      "index.d.ts"
    ],
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-v8-to-istanbul-8.1.1-77b752fd3975e31bbcef938f85e9bd1c7a8d60ed-integrity/node_modules/v8-to-istanbul/package.json",
    "readmeFilename": "README.md",
    "readme": "# v8-to-istanbul\n\n[![Build Status](https://travis-ci.org/istanbuljs/v8-to-istanbul.svg?branch=master)](https://travis-ci.org/istanbuljs/v8-to-istanbul)\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)\n![nycrc config on GitHub](https://img.shields.io/nycrc/istanbuljs/v8-to-istanbul)\n\nconverts from v8 coverage format to [istanbul's coverage format](https://github.com/gotwarlost/istanbul/blob/master/coverage.json.md).\n\n## Usage\n\n```js\nconst v8toIstanbul = require('v8-to-istanbul')\n// the path to the original source-file is required, as its contents are\n// used during the conversion algorithm.\nconst converter = v8toIstanbul('./path-to-instrumented-file.js')\nawait converter.load() // this is required due to the async source-map dependency.\n// provide an array of coverage information in v8 format.\nconverter.applyCoverage([\n  {\n    \"functionName\": \"\",\n    \"ranges\": [\n      {\n        \"startOffset\": 0,\n        \"endOffset\": 520,\n        \"count\": 1\n      }\n    ],\n    \"isBlockCoverage\": true\n  },\n  // ...\n])\n// output coverage information in a form that can\n// be consumed by Istanbul.\nconsole.info(JSON.stringify(converter.toIstanbul()))\n\n// cleanup resources allocated in \"load\" (i.e. by the source-map dependency),\n// the converter may not be used anymore afterwards\nconverter.destroy() \n```\n\n## Ignoring Uncovered Lines\n\nSometimes you might find yourself wanting to ignore uncovered lines\nin your application (for example, perhaps you run your tests in Linux, but\nthere's code that only executes on Windows).\n\nTo ignore lines, use the special comment `/* c8 ignore next */`.\n\n### ignoring the next line\n\n```js\nconst myVariable = 99\n/* c8 ignore next */\nif (process.platform === 'win32') console.info('hello world')\n```\n\n### ignoring the next N lines\n\n```js\nconst myVariable = 99\n/* c8 ignore next 3 */\nif (process.platform === 'win32') {\n  console.info('hello world')\n}\n```\n\n### ignoring all lines until told\n\n```js\n/* c8 ignore start */\nfunction dontMindMe() {\n  // ...\n}\n/* c8 ignore stop */\n```\n\n### ignoring the same line as the comment\n\n```js\nconst myVariable = 99\nconst os = process.platform === 'darwin' ? 'OSXy' /* c8 ignore next */ : 'Windowsy' \n```\n\n## Testing\n\nTo execute tests, simply run:\n\n```bash\nnpm test\n```\n",
    "licenseText": "Copyright (c) 2017, Contributors\n\nPermission to use, copy, modify, and/or distribute this software\nfor any purpose with or without fee is hereby granted, provided\nthat the above copyright notice and this permission notice\nappear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE\nLIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES\nOR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\nWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,\nARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-8.1.1.tgz#77b752fd3975e31bbcef938f85e9bd1c7a8d60ed",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-8.1.1.tgz",
    "hash": "77b752fd3975e31bbcef938f85e9bd1c7a8d60ed",
    "integrity": "sha512-FGtKtv3xIpR6BYhvgH8MI/y78oT7d8Au3ww4QIxymrCtZEh5b8gCw2siywE+puhEmuWKDtmfrvF5UlB298ut3w==",
    "registry": "npm",
    "packageName": "v8-to-istanbul",
    "cacheIntegrity": "sha512-FGtKtv3xIpR6BYhvgH8MI/y78oT7d8Au3ww4QIxymrCtZEh5b8gCw2siywE+puhEmuWKDtmfrvF5UlB298ut3w== sha1-d7dS/Tl14xu875OPhem9HHqNYO0="
  },
  "registry": "npm",
  "hash": "77b752fd3975e31bbcef938f85e9bd1c7a8d60ed"
}