Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
mathml2omml
Advanced tools
Convert MathML to the OOML format used in DOCX files without XSLT.
You can use it like this:
import {mml2omml} from "mathml2omml"
const mml = '<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
<mn>2</mn>
<mo>+</mo>
<mn>2</mn>
<mo>=</mo>
<mn>4</mn>
</mrow>
</semantics>
</math>'
const omml = mml2omml(mml)
console.log(omml)
> <m:oMath xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math">
> <m:r>
> <m:t xml:space="preserve">2+2=4</m:t>
> </m:r>
> </m:oMath>
LGPL v.3.0 or later.
The xml parser/stringifier in the parse-stringify
-folder is based upon html-parse-stringify (MIT).
License of test files depends on source of files.
Some test fixtures fall under other licenses/copyrights. See the LICENSE and copyright.txt files in the different test fixture folders.
Remaining test fixtures fall under the same license and copyright as the source code.
FAQs
a MathML to OMML converter
The npm package mathml2omml receives a total of 78 weekly downloads. As such, mathml2omml popularity was classified as not popular.
We found that mathml2omml 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.