switchjs aims to solve [these problems](https://toddmotto.com/deprecating-the-switch-statement-for-object-literals/) with switches
npm install switchjs
typescript let {switch}