layout-stack

0.1.1 • Public • Published

layout-stack NPM version

Create a layout stack based on the given layout templates.

Install

Install with npm

npm i layout-stack --save

Run tests

npm test

Usage

var stack = require('layout-stack');

API

.createStack

Build a layout stack.

  • name {String}: The name of the first layout to add to the stack.
  • layouts {Object}: Possible layout templates tha could be used in the stack.
  • options {Object}: Options to pass to assertLayout.
  • returns {Array}: The layout stack starting with the given name.
var stack = createStack('2-col-side-nav', layouts);

Contributing

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

Author

Brian Woodward

License

Copyright (c) 2014 Brian Woodward
Released under the MIT license


This file was generated by verb on November 18, 2014.

Package Sidebar

Install

npm i layout-stack

Weekly Downloads

3

Version

0.1.1

License

none

Last publish

Collaborators

  • doowb