Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mathjslab

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathjslab - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

8

package.json
{
"name": "mathjslab",
"version": "1.1.0",
"version": "1.1.1",
"description": "MathJSLab - An interpreter with language syntax like MATLAB/Octave. ISBN 978-65-00-82338-7",

@@ -58,6 +58,6 @@ "main": "build/mathjslab.js",

"@types/jest": "29.5.5",
"@types/node": "^20.8.0",
"@types/supertest": "^2.0.13",
"@types/node": "^20.8.2",
"@types/supertest": "^2.0.14",
"@types/webpack": "^5.28.3",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"eslint": "^8.50.0",

@@ -64,0 +64,0 @@ "eslint-config-prettier": "^9.0.0",

@@ -6,3 +6,2 @@ # MathJSLab

[![MIT License](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://github.com/sergiolindau/mathjslab/blob/master/LICENSE)
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/sergiolindau/mathjslab/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/sergiolindau/mathjslab/tree/main)

@@ -28,5 +27,4 @@ > An interpreter with language syntax like [MATLAB®](https://www.mathworks.com/)/[Octave](https://www.gnu.org/software/octave/) written in [Typescript](https://www.typescriptlang.org/).

Other components besides the [parser](https://en.wikipedia.org/wiki/Parsing)
are the evaluator and the [MathML](https://www.w3.org/Math/) unparser, which
computes the inputs and generates mathematical representations of the inputs
and results, respectively.
are the evaluator, which computes the inputs, and the [MathML](https://www.w3.org/Math/)
unparser, that generates mathematical representations of the inputs and results.

@@ -68,2 +66,9 @@ This software is intended for educational purposes, to provide teachers and

The basic API is an instantiation of `Evaluator` with optional configuration.
Import MathJSLab API:
```typescript
import { Evaluator, TEvaluatorConfig } from 'mathjslab';
```
Initialize evaluator with:

@@ -92,2 +97,21 @@

## Using UNPKG CDN
You can optimize your application, reducing the size of your bundle, loading
MathJSLab via the [UNPKG](https://www.unpkg.com/) [CDN](https://en.wikipedia.org/wiki/Content_delivery_network).
```html
<head>
...
<script defer type="module" src="https://www.unpkg.com/mathjslab"></script>
...
</head>
```
The module will be loaded with `mathjslab` name. You can initialize evaluator with:
```typescript
let evaluator = mathjslab.Evaluator.initialize(EvaluatorConfiguration);
```
## Contributing

@@ -132,3 +156,3 @@

>
>Copyright &copy; 2016-2023 Sergio Lindau
>Copyright &copy; 2016-2023 Sergio Lindau, ISBN 978-65-00-82338-7
>

@@ -135,0 +159,0 @@ >Permission is hereby granted, free of charge, to any person obtaining a copy

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc