{"library":"one-double-zero","title":"One Double Zero","description":"One Double Zero is a code coverage tool focusing on relevance, accuracy, simplicity, flexibility, and speed. It offers a CLI tool named 'odz' that wraps any command to collect V8-based coverage data. As of version 1.1.1, it is actively maintained with frequent releases. Unlike other coverage tools like Istanbul or c8, One Double Zero aims for minimal configuration and high precision by leveraging native V8 coverage. It ships TypeScript types and supports both ESM and CommonJS.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install one-double-zero"],"cli":{"name":"odz","version":null}},"imports":["import odz from 'one-double-zero'","import type { CoverageResult } from 'one-double-zero'","import { runCoverage } from 'one-double-zero'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Install globally\nnpm i -g one-double-zero\n\n// Run a command with coverage\nodz node my-test.js\n\n// Programmatic usage\nimport { runCoverage } from 'one-double-zero';\n\nconst result = await runCoverage({\n  command: 'node',\n  args: ['my-test.js'],\n  include: ['src/**/*.js'],\n  exclude: ['node_modules']\n});\n\nconsole.log(result.lines); // e.g., { covered: 80, total: 100 }","lang":"typescript","description":"Demonstrates CLI usage and programmatic API to collect V8 coverage data with include/exclude patterns.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}