New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

numerax

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

numerax

Simple math notation to TeX math notation compiler.

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

numeraX

A compiler that compiles basic math notation to renderable TeX code. Just load up the file in your browser. (You first need to have JSEP)

You first need to download it.

  • You can download it from the releases
  • You can install it via npm install numerax
<script src="/path/to/jsep.js"></script>
<script src="/path/to/numeraX.js" ></script>

And then it's just very simple to use it:

// compiles to: "\frac{2}{3} + 4"
const awesomeTeX = numeraX.compile("2 / 3 + 4");

How to build?

run:

% npm run setup

then you can go with

% tsc -w

To have some fun in watch mode and when you were ready for the heavy use go with:

% num run build

to have it minified for you...


FAQs

Package last updated on 16 Nov 2016

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