ISTANBUL(1)
π ISTANBUL(1) π
okay bestie, welcome to istanbul β a JS code coverage tool written in JS β¨ (yes she's a JS tool written in JS, she contains multitudes, she's self-referential like that πͺπ
). She lives in your General Commands Manual, section 1, and she is so ready to tell you exactly which lines of your code your tests are ghosting. π»
β¨ SYNOPSIS β¨
istanbul help config | <command>
so it's giving: either you're asking her for help about config π, or you're handing her a <command> and letting her cook π₯
π¦ DESCRIPTION π¦
here's the roster, bestie β these are the commands she serves π
check-coverageβ this one checks your overall coverage and your per-file coverage against thresholds that come from coverage JSON files πβ¨. Exits1if the thresholds are not met,0otherwise. so she's a bouncer at the club and your coverage is the fit check πͺπcoverβ transparently adds coverage information to a node command π§ββοΈ like she slides it in there with zero drama. Savescoverage.jsonand reports at the end of execution. main character behaviour honestly πhelpβ shows help π«Ά. she's helpful, she's generous, she wants you to thrive πinstrumentβ instruments a file or a directory tree π³ and writes the instrumented code to the desired output location πβ¨ (not her making it weird, that's literally the word for it)reportβ writes reports for coverage JSON objects produced in a previous run ππ. past-you did the work, present-you gets the receipts πtestβ cover a node command only whennpm_config_coverageis set π. Use in annpm testscript for conditional coverage. so she only shows up when she's invited, and that's iconic boundaries energy β¨
lowkey crucial detail bestie: Command names can be abbreviated as long as the abbreviation is unambiguous π so like, shorthand is allowed, but don't get cute and ambiguous about it or she won't know who you mean π
πΈ SEE ALSO πΈ
tap(1)π
and that's the whole page, no notes π she's dated June 2018 and she comes from the a JS code coverage tool written... source/version era, which is honestly such a vibe π go forth, cover your code, meet your thresholds, and remember: unambiguous abbreviations only πβ¨π
π¦ where this page comes from
- debian bookworm: node-istanbul 0.4.5+repack10+~cs97.25.57-3 Β· BSD-3-Clause
- debian trixie: node-istanbul 0.4.5+repack10+~cs98.25.59-3 Β· BSD-3-Clause
- ubuntu jammy: node-istanbul 0.4.5+repack10+~cs97.25.57-3 Β· BSD-3-Clause
- ubuntu noble: node-istanbul 0.4.5+repack10+~cs98.25.59-2 Β· BSD-3-Clause
- ubuntu questing: node-istanbul 0.4.5+repack10+~cs98.25.59-3
- ubuntu resolute: node-istanbul 0.4.5+repack10+~cs98.25.59-7 Β· BSD-3-Clause
- ubuntu stonking: node-istanbul 0.4.5+repack10+~cs98.25.59-11 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms