treefarmer / embed-table Goto Github PK
View Code? Open in Web Editor NEWEasily make nice looking text tables for Discord's embed fields and descriptions.
Home Page: https://www.npmjs.com/package/embed-table
License: MIT License
Easily make nice looking text tables for Discord's embed fields and descriptions.
Home Page: https://www.npmjs.com/package/embed-table
License: MIT License
The package is setup as an ES Module, with no support for CommonJS. Projects using CommonJS use require() for importing, which is not supported for ES Modules.
When I was trying to install v4.0.5 (was using v3.0.0), the command failed with the error sh: 1: tsc: not found
. Through this error, I made the assumption I had to had typescript installed globally and, sure enough, once I did install it with npm i -g typescript
, installation went without further issues.
First of all thanks for the wonderful tool. I'm trying to make use of this.
In my case, titleIndexes
will have to be dynamically populated based on the max length of the data. I was able to successfully make columnIndexes
dynamic but it is not adjusting well with the titleIndexes
. Please refer to the below screenshot.
Hope you can understand what I mean from the screenshot.
Hi, while trying to transpile with tsc I get this error.
node_modules/embed-table/dist/structures/Row.d.ts:1:25 - error TS2307: Cannot find module 'index.js' or its corresponding type declarations.
1 import { RowData } from 'index.js';
~~~~~~~~~~
Using:
Hi! I see you are using my TypeDoc plugin!
I want to make sure you know that, as you use it, the plugin doesn't do anything: all options are now opt-in and you are not opting for any option.
Check this section of the README for more details: https://github.com/Drarig29/typedoc-plugin-extras#arguments
I can get the titleIndexes and columnIndexes pretty much alligned on desktop, but checking my mobile app, the indents are a different size so the data is now off. Any suggestions for fixing this will help my OCD :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.