Convert an alternating case string to a JSON object
npm install alternating-case-to-objectA function to convert ALTERNATINGcase strings to objects.
``javascript
const alternatingCaseToObject = require('alternating-case-to-object');
const config = alternatingCaseToObject('KEYvalueSECONDthingALLOWEDyesTHINGS100');
/*
config is
{
key: 'value',
second: 'thing',
allowed: true,
things: 100
}
*/
``