smelukov / gettie

JS object props coverage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gettie

Donate

Gettie is a JS object coverage tool.

Originally it developed to extract redux store coverage to find out which store branches were not used till the application works.

Example

const state = {
  foo: 123,
  bar: [456, { baz: 789 }],
  quux: 123
};

console.log(state.quux);
console.log(state.bar[1].baz);

It helps to find out that branches foo and bar[0] from the state were not used. It may motivate you to think about what you can do to remove the unused branches.

For more information, please, see core package.

About

JS object props coverage

License:MIT License


Languages

Language:JavaScript 100.0%