static-engine-collection

6.0.0 • Public • Published

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])
])

Readme

Keywords

Package Sidebar

Install

npm i static-engine-collection

Weekly Downloads

0

Version

6.0.0

License

MIT

Last publish

Collaborators

  • erickmerchant