Skip to content

xymostech/node-kpathsea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-kpathsea (node-kpathsea)

Node native bindings to the Kpathsea library

Installation

npm install node-kpathsea

Building the native module requires you having the Kpathsea library and includes on your machine (which probably means you need some version of TeX Live installed).

Usage

import {Kpathsea, FILE_FORMAT} from "node-kpathsea";

const kpse = new Kpathsea("/usr/bin/tex");

kpse.findFile("cmr10", FILE_FORMAT.TFM)
// -> "/usr/share/texmf-dist/fonts/tfm/public/cm/cmr10.tfm"

License

MIT

About

Node native bindings to the kpathsea library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published