layoutize

create simple, Twitter Bootstrap based layouts fast

npm install layoutize
2 downloads in the last week
5 downloads in the last month

Create simple layouts fast

Example:

layoutize -i "o3,2,2|3,4"

Will create this output:

.row
  .span2.offset3
  .span2
.row
  .span3
  .span4

Or if you like plain html more:

layoutize -F html -i "o3,2,2|3,4"

<div class="row">
  <div class="span2 offset3"></div>
  <div class="span2"></div>
</div>
<div class="row">
  <div class="span3"></div>
  <div class="span4"></div>
</div>

Or in javascript:

var layoutize = require('layoutize');
var layout = layoutize('o3,2,2|3,4');
layout.html();
layout.jade();
npm loves you