Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

erickmerchant/static-engine-read

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A plugin for static-engine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published