conditional-reduce

Construct a JavaScript expression that returns a value based on an enumerated list of possible values

Browse on unpkg