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

erickmerchant/static-engine-collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

static-engine-collection

Dependency Status devDependency Status js-standard-style

This is a plugin for static-engine. It adds a property to each object in the array that is the result of static engine plugins. Call it with the name of the property and an array of plugins. It returns a function that can be used with static-engine.

var engine = require('static-engine')
var collection = require('static-engine-collection')
var pluginA = require('plugin-a')
var pluginB = require('plugin-b')
var pluginC = require('plugin-c')

engine([
  pluginA,
  collection('example', [pluginB, pluginC])
])

About

A plugin for static-engine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published