plasma

Load data from globs or files or directly from objects.

plasma

Load data from globs or files or directly from objects.

Install with npm

npm i plasma --save
  • template: Render templates from any engine. Make custom template types, use layouts on pages, partials or any custom template type, custom delimiters, helpers, middleware, routes, loaders, and lots more. Powers Assemble v0.6.0, Verb v0.3.0 and your application.
  • layouts: Wrap templates with layouts. Layouts can be nested and optionally use other layouts.
  • config-cache: General purpose JavaScript object storage methods.

Plasma

Create an instance of Plasma, optionally passing an object of data to initialize with.

  • data {Object}
var Plasma = require('plasma');
var plasma = new Plasma();
 
// load some data 
plasma.load(['*.json', 'data/*.yml']);
plasma.load({a: 'b', c: 'd'});

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Install dev dependencies.

npm i -d && npm test

Jon Schlinkert

Copyright (c) 2014-2015 Jon Schlinkert
Released under the MIT license


This file was generated by verb-cli on March 10, 2015.