gotwarlost / istanbul

Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
8.7k stars 786 forks source link

how to use istanbul as a library #942

Open tanay-pingalkar opened 3 years ago

tanay-pingalkar commented 3 years ago

there is part in readme about it but can anyone give me better doc for api of istanbul, how can i use Instrumenter and what is it.. What is collector and what to pass collector as argument. And how istanbul works internally