This package has been deprecated

Author message:

Use static-engine-read instead.

static-engine-content

7.4.0 • Public • Published

static-engine-content

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-content');
var pluginA = require('plugin-a');

engine([
    pluginA,
    content('./content/*')
]);

/static-engine-content/

    Package Sidebar

    Install

    npm i static-engine-content

    Weekly Downloads

    4

    Version

    7.4.0

    License

    MIT

    Last publish

    Collaborators

    • erickmerchant