
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
htmltabletolatex
Advanced tools
Converter html tables tables in latex
$ npm install htmltabletolatex --save
// httl = HtmlTableToLatex
var httl = require('htmltabletolatex').HTTL;
httl.latex("mytables.html").then(latex => {
// console.log("Latex tables:", latex);
httl.save('latex.tex', latex.join('\n'), (err, success) => {});
});
<table>
<caption>Table: usuario </caption>
<tr>
<th>Name</th>
<th>Data Type</th>
<th>Nullable</th>
<th>PK</th>
<th>FK</th>
<th>Default</th>
<th>Comment</th>
</tr>
<tr>
<td>user_idUsuario</td>
<td>VARCHAR(45)</td>
<td>Yes</td>
<td>Yes</td>
<td>No</td>
<td></td>
<td></td>
</tr>
<tr>
<td>user_Correo</td>
<td>VARCHAR(45)</td>
<td>Yes</td>
<td>No</td>
<td>No</td>
<td></td>
<td></td>
</tr>
</table>
\begin{center}
\caption{tableTableUsuario}
\label{labelTableUsuario}
\begin{tabular}{ |l|l|l|l|l|l|l| }
\hline
Name & DataType & Nullable & PK & FK & Default & Comment \\
UserIdUsuario & VARCHAR(45) & Yes & Yes & No & & \\ \hline
UserCorreo & VARCHAR(45) & Yes & No & No & & \\ \hline
\end{tabular}
\end{center}
HtmlTableToLatex
Param | Type | Description | Default |
---|---|---|---|
minLengthColumnsByRow | number | Take into account only columns by minimum size in text | 3 |
separator | string | Table columns size. i.e: l, c, r | l |
lines | boolean | Show lines | true |
var HtmlTableToLatex = require('htmltabletolatex').HtmlTableToLatex;
var httl = new HtmlTableToLatex(2, 'l', false);
You can also change the parameters without the need of a constructor:
var httl = require('htmltabletolatex').HTTL;
httl.lines = false;
httl.minLengthColumnsByRow = 2;
httl.separator = 'l';
# Fork it this repo
# Install typescript cli
$ git clone https://github.com/<your-username>/HtmlTableToLatex.git
$ cd HtmlTableToLatex
# Edit & transpile file index.ts
# Commit + push + Pull request
This software is released under the MIT License.
FAQs
Converter html tables tables in latex
The npm package htmltabletolatex receives a total of 1 weekly downloads. As such, htmltabletolatex popularity was classified as not popular.
We found that htmltabletolatex demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.