This is a plugin for static-engine. It takes a string that's passed to glob. It adds an object to the array for every file found. Each of those objects has two properties, file
which is the file found, and content
that is the content of that file.
var engine = require('static-engine')
var content = require('static-engine-read')
var pluginA = require('plugin-a')
engine([
pluginA,
content('./content/*')
])