code: function _parseParams(str) {
    const params = {};
    const args = str.match(/(?:[\w.]+|["'][^=]*)\s*=\s*(?:[\w,-]+|["'][^'"](?:[^"\\]|\\.)*["'])/g) || [];
  
    args.forEach((a) => {
      const [key, val] = a.split('=');
      params[key.toLowerCase()] = _stripQuotes(val);
    });
  
    return params;
  }
docs: @private
  
  Turns a token into an object of params
  
  @param {string} str
  @return {Object}
  
  @example
  _parseParams('required=false placeholder="Your Name"')
  // returns { required: false, placeholder: 'Your Name' }
  
  @todo Find better way to parse and allow escaped quotes (including _stripQuotes).