util-array-object-or-both (npm): Validate and normalise user choice: array, object or both?
Keywords: array|both|choice|normalise|object|plain|user|util|validate