You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

latex2pdf

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

latex2pdf

A NodeJS module to convert LaTeX to a pdf file

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
8
-11.11%
Maintainers
1
Weekly downloads
 
Created
Source

latex2pdf

latex2pdf is a Nodejs module for converting latex files to pdf files.

Installation

npm install latex2pdf

Usage

const latex2pdf = require("latex2pdf");

latex2pdf.convert("test.tex",(err)=>{
    if(err) console.log(err);
    console.log("Done !");
})

//Specify an output directory and filename, a timeout and whether to log debugging messages or not
latex2pdf.convert("test.tex",{output:"/dir/name.pdf",timeout:2000,debug:false},(err)=>{
    if(err) console.log(err);
    console.log("Done !");
})

License

MIT

Keywords

node

FAQs

Package last updated on 09 Sep 2022

Did you know?

Socket

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.

Install

Related posts