
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
equation-editor-react
Advanced tools

By Douwe den Blanken (v0xnihili)
To see this package in action, a demo is available here. It is possible to type an equation and see the output in LaTeX underneath the editor in pink.
When embedding the EquationEditor component into your project, you have four properties you have
to set. value and onChange speak for themselves, while autoCommands contains a list of commands
for which you only have to type the name of the command with a \ in front of it. The same goes for
the autoOperatorNames but then for operators.
import React, { useState } from "react";
import EquationEditor from "equation-editor-react";
const Example = () => {
const [equation, setEquation] = useState("y=x");
console.log(equation);
return (
<EquationEditor
value={equation}
onChange={setEquation}
autoCommands="pi theta sqrt sum prod alpha beta gamma rho"
autoOperatorNames="sin cos tan"
/>
)
};
export default Example;
FAQs
Equation editor based on Mathquill for React web apps
The npm package equation-editor-react receives a total of 215 weekly downloads. As such, equation-editor-react popularity was classified as not popular.
We found that equation-editor-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.