Giter Club home page Giter Club logo

Comments (4)

ayonious avatar ayonious commented on August 24, 2024 1

I have updated some docs to make it more clear that index is not needed. Feel free to open it up again if needed

from console-table-printer.

ayonious avatar ayonious commented on August 24, 2024

hi @DanKaplanSES index is not required. You can try out yourself. Here are other examples of this:

https://console-table.netlify.app/docs/doc-computed-function
https://console-table.netlify.app/docs/doc-emojis-special-chars

from console-table-printer.

ayonious avatar ayonious commented on August 24, 2024

but I see your point and yes its a better example without using this particular name, which can imply something like this.

from console-table-printer.

DanKaplanSES avatar DanKaplanSES commented on August 24, 2024

but I see your point and yes its a better example without using this particular name, which can imply something like this.

Great! Thank you for considering this.

I'd like to add some additional context that may be unnecessary, but might explain how I came to my assumption: I found this library because console.table() lacked some features I wanted.

Incidentally, console.table() automatically includes an index column in its output. Because many console-table-printer examples manually include a column with the same name, I thought the console-table-printer index column may be required as an enhancement to console.table(), allowing you to specify an index separate from insertion order.

I want to reiterate I (now) understand that is not the case, but I thought it might help to shed some insight into my thought process.

Thanks again!

from console-table-printer.

Related Issues (20)

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.