New:Socket for Asana Is Now Available.Learn more
Get Started

@totemstan/mathjx

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@totemstan/mathjx

Extended mathjs

Source
npmnpm
Version
1.3.0
Version published
Weekly downloads
15
275%
Maintainers
1
Weekly downloads
 
Created
Source

MATHJX

Extends MathJS with the following program control-blocks:

if TEST
	DO
elseif TEST
	DO
:
else
	DO
end

switch TEST
	case TEST
		DO
	:
	default TEST
		DO
end

try
	DO
catch
	DO
end

for INDEX
	DO
end

while TEST
	DO
end

until TEST
	DO
end

when EVENT
	DO
end

def f=(x,y,...)
	DO
end

Inline functions are also supported using fat-arrows:

(x,y,...) => {
	DO
}

Usage

Acquire and optionally configure MATHJX as follows:

const $ = require("@totemstan/mathjx").config({
	key: value, 						// set key
	"key.key": value, 					// indexed set
	"key.key.": value					// indexed append
});

where configuration keys follow ENUMS deep copy conventions.

Manage

npm install @totemstan/mathjx	# Install
npm run start [ ? | $ | ...]	# Unit test
npm run verminor				# Roll minor version
npm run vermajor				# Roll major version
npm run redoc					# Regen documentation

Program Reference

Open/Close

MATHJX

Extends MathJS with program control-blocks. This module documented in accordance with jsdoc.

Requires: module:mathjs, module:enums, module:cp
Author: ACMESDS

Contacting, Contributing, Following

Feel free to

License

MIT

© 2012 ACMESDS

FAQs

Package last updated on 06 Oct 2022

Related posts