Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smelukov/gettie
JS object props coverage
https://github.com/smelukov/gettie
coverage js redux state
Last synced: 2 months ago
JSON representation
JS object props coverage
- Host: GitHub
- URL: https://github.com/smelukov/gettie
- Owner: smelukov
- License: mit
- Created: 2020-11-13T15:04:29.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-13T07:19:29.000Z (over 3 years ago)
- Last Synced: 2024-09-21T22:20:02.172Z (3 months ago)
- Topics: coverage, js, redux, state
- Language: JavaScript
- Homepage:
- Size: 188 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Gettie
[![Donate](https://img.shields.io/badge/Donate-PayPal-brightgreen)](https://www.paypal.com/paypalme/smelukov)
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
```js
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](packages/core) package.