No Proscribed Meaning

    layoutize

    0.1.0 • Public • Published

    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();

    Keywords

    none

    Install

    npm i layoutize

    DownloadsWeekly Downloads

    3

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • aocenas