static-engine-read

1.9.2 • Public • Published

static-engine-read

Dependency Status devDependency Status js-standard-style

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/*')
])

Readme

Keywords

Package Sidebar

Install

npm i static-engine-read

Weekly Downloads

1

Version

1.9.2

License

MIT

Last publish

Collaborators

  • erickmerchant