Git Product home page Git Product logo

table-layout's Issues

empty columns

i'd expect this input to include the empty lines, but they are stripped

[ { column: 'one' },
  { column: '' },
  { column: '' },
  { column: 'two' }

output

 one
 two

instantiation fails in ionic

I'm using command-line-args and command-line-usage in my Ionic 4 browser app. It appears there is no process.stdout / stderr defined when using Ionic so table-layout fails on instantiation.
Changing the following:
let ttyWidth = (process && (process.stdout.columns || process.stderr.columns)) || 0
to:
let ttyWidth = (process.stdout && (process.stdout.columns || process.stderr.columns)) || 0

solves it. I think process will always be available?!
Thanks for the beautiful libs @75lb

Remove core-js?

Don't want to be a nag about this :P but since 0.12 is now out of maintenance, can it be dropped from support? It'd be great to excise core-js from our dependencies.

cell-width incorrect when containing multi-byte characters

cells containing multibyte characters like emoji or Chinese text have different widths to the others

| bicischio-bikes                | Get real-time info on stations. Bikes       |
|                                | available -docks available                  |
| biella-bikes                   | Get real-time info on stations. Bikes       |
|                                | available -docks available                  |
| bif                            | A toolkit for static websites               |
| bifypack                       | 基于gulp和browserify的项目构建工具                    |
| bigi-bikes                     | Get real-time info on stations. Bikes       |
|                                | available -docks available                  |
| bigstraw                       | Get a bunch of git resources, fast          |

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.