Skip to content

fs without relying on jsdom #495

@xiaoshizixin

Description

@xiaoshizixin

I am developing a LaTeX plugin for a cross-platform H5 engine. I need the SVG functionality of MathJax-Node, but it relies on the fs module of jsdom. I don't know how to remove the fs module. Since the H5 engine is cross-platform, it does not support DOM or the fs module of Node.js. However, it can run standard JavaScript code. I use the Parcel bundling plugin to create a single JS file. I don't know how to use MathJax-Node to export SVG without relying on the fs module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions