-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🚀 Feature: add color #176
Comments
Huh, does the Node.js A hunch: are you maybe thinking of the browser console table? That would be out of scope for this lib, which is just Node.js-focused. |
I am using Alacritty with Git Bash (comes when you install Git) as the shell on Windows 10 🤷♂️ I am doing [{"amount":5.0,"date":"2024-10-22","email":"the###@###.com"}] blue rectangles over text to obscure email address 🕵️♀️ |
Uh oh! @whyboris, the image you shared is missing helpful alt text. Check #176 (comment). Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image. Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs. |
Ah, you're right! This also happens on my stock macOS VS Code: import { table } from "console-table-without-index";
const data = [{ "amount": 5.0, "date": "2024-10-22", "email": "the###@###.com" }]
console.table(data);
console.log(table(data)); This'll have to use a package like |
@all-contributors please add @whyboris for ideas.
|
I've put up a pull request to add @whyboris! 🎉 |
Adds @whyboris as a contributor for ideas. This was requested by JoshuaKGoldberg [in this comment](#176 (comment)) --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Bug Report Checklist
main
branch of the repository.Overview
Compared to
console.table(myTable);
the output of this library does not colorize the column entriesAdditional Info
It would be lovely to match the colors of
console.table
(feel free to change colors however you'd like).Feels like it may be somewhat straight-forward with:
ps - It would be maybe nice not to include the
'
around strings 🤷♂️The text was updated successfully, but these errors were encountered: