code: function getType(node) {
      const tagLoaders = {
          script: 'javascript',
          style: 'text/css'
      };
  
      return get(node, 'attrs.type', tagLoaders[node.tag]);
  }
docs: Get tag type property
  @param {object} node
  @returns {string}