Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Jul 24, 2015
  1. @rauchg

    Merge pull request #71 from raine/fix-null-undefined

    rauchg authored
    print null and undefined as blank
Commits on Jun 6, 2015
  1. @raine

    print null and undefined as blank

    raine authored
    fixes #70
Commits on Oct 23, 2014
  1. @rauchg

    Merge pull request #31 from FGRibreau/master

    rauchg authored
    Test with null/undefined as values or column name
  2. @FGRibreau
  3. @FGRibreau

    Merge branch 'master' of github.com:Automattic/cli-table

    FGRibreau authored
    Conflicts:
    	lib/index.js
Commits on Oct 22, 2014
  1. @rauchg

    Release 0.3.1

    rauchg authored
  2. @rauchg

    fix example for new paths

    rauchg authored
  3. @rauchg

    Merge pull request #49 from stevenvachon/master

    rauchg authored
    Safe colors, lighter production installs, travis badges
  4. @stevenvachon

    Corrections

    stevenvachon authored
  5. @rauchg

    Merge pull request #48 from ljharb/patch-1

    rauchg authored
    Add repository field to package.json
  6. @stevenvachon

    Version bump

    stevenvachon authored
  7. @stevenvachon

    Readme badges

    stevenvachon authored
  8. @stevenvachon
  9. @stevenvachon

    Safe colors

    stevenvachon authored
Commits on Aug 31, 2014
  1. @ljharb

    Add repository field to package.json

    ljharb authored
    It took me forever to locate this repo, since https://www.npmjs.org/package/cli-table doesn't point to it. Republishing the `npm` module will ensure that people can find the repo from the `npm` module.
Commits on Feb 23, 2014
  1. @rauchg

    Merge pull request #40 from tmsh/master

    rauchg authored
    In addition to 256-xterm ansi colors, handle 24-bit colors.
Commits on Feb 22, 2014
  1. In addition to 256-xterm ansi colors, handle 24-bit colors. E.g., of …

    Tom Harada authored
    …the form ESC[ … 38;2;<r>;<g>;<b>. Slight tweak in regex.
Commits on Feb 2, 2014
  1. @rauchg

    Merge pull request #33 from sonnym/travis_integration

    rauchg authored
    set up .travis.yml
  2. @rauchg

    Release 0.3.0

    rauchg authored
  3. @rauchg

    Merge pull request #36 from possibilities/fix/colors

    rauchg authored
    Upgrade colors to avoid npm broken-ness
  4. @possibilities
Commits on Jan 26, 2014
  1. @rauchg

    Merge pull request #27 from mal/patch-1

    rauchg authored
    Strip color codes that include ';'
Commits on Jan 25, 2014
  1. @mal

    Handle custom colored strings correctly

    mal authored
    Currently strlen ignores any color code that makes use of ';', this
    includes light colors as well as 256 color codes. This adjusts the regex
    to detect these other color types.
Commits on Dec 19, 2013
  1. @TooTallNate

    Merge pull request #34 from charleshimmer/leaking-global

    TooTallNate authored
    Fixing global leak of width variable.
  2. @charleshimmer
  3. @charleshimmer
Commits on Dec 6, 2013
  1. @FGRibreau
Commits on Dec 1, 2013
  1. @sonnym

    set up .travis.yml

    sonnym authored
Commits on Nov 8, 2013
  1. @FGRibreau
Commits on Jun 22, 2013
  1. @rauchg

    Merge pull request #24 from em-/no-decoration

    rauchg authored
    Print compact tables with no decorations
Commits on Mar 19, 2013
  1. @em-

    Omit horizontal decoration lines if empty

    em- authored
    This allows for more flexible compact layouts: even the compact mode can
    be redefined in terms of 'chars' settings by using the empty string for all the
    horizontal 'mid' characters.
    
    By using the following configuration:
     var table = new Table({
       chars: {
           'mid': ''
         , 'left-mid': ''
         , 'mid-mid': ''
         , 'right-mid': ''
       },
       style: {
           head: []
         , border: []
       }
     });
    
    it's now possible to get results like this (note the lack of the horizontal
    line between rows):
     ┌────────────┬─────┬──────┐
     │ foo        │ bar │ baz  │
     │ frobnicate │ bar │ quuz │
     └────────────┴─────┴──────┘
    
    By setting all chars to empty with the exception of 'middle' being set to a
    single space and by setting padding to zero, it's possible to get the
    most compact layout with no decorations:
     foo        bar baz
     frobnicate bar quuz
Commits on Mar 17, 2013
  1. @em-
  2. @em-

    Make line() return the generated string instead of appending it to ret

    em- authored
    This makes reasoning about the newly created line easier, to eg. skip
    empty lines.
  3. @em-

    Customize the vertical cell separator separately from the right one

    em- authored
    WARNING: this breaks compatibility if you rely on setting
    options.chars.right to set the vertical cell separator too.
    
    Given the following table:
     ┌────────┬────────┬────────┐
     │ foo    │ bar    │ baz    │
     └────────┴────────┴────────┘
    
    it's now possible to double the outer border only:
     ╔════════╤════════╤════════╗
     ║ foo    │ bar    │ baz    ║
     ╚════════╧════════╧════════╝
    
    just set the appropriate chars, using the new 'middle' property:
     var table = new Table({
       , style: {
           chars: {
             'top': '═'
           , 'top-mid': '╤'
           , 'top-left': '╔'
           , 'top-right': '╗'
           , 'bottom': '═'
           , 'bottom-mid': '╧'
           , 'bottom-left': '╚'
           , 'bottom-right': '╝'
           , 'left': '║'
           , 'left-mid': '╟'
           , 'mid': '─'
           , 'mid-mid': '┼'
           , 'right': '║'
           , 'right-mid': '╢'
           , 'middle': '│'
           }
         }
     });
Commits on Jan 26, 2013
  1. @rauchg

    Merge pull request #20 from thomd/bordercolor

    rauchg authored
    color styling of table border
Something went wrong with that request. Please try again.