{"_id":"@mathjax/src","_rev":"13-a3b83ec8945175111f5d02374c648ebb","name":"@mathjax/src","dist-tags":{"latest":"4.1.3"},"versions":{"4.0.0-rc.4":{"name":"@mathjax/src","version":"4.0.0-rc.4","keywords":["MathJax","math","svg","HTML","MathML","TeX","AsciiMath"],"license":"Apache-2.0","_id":"@mathjax/src@4.0.0-rc.4","maintainers":[{"name":"mjadmin","email":"manager@mathjax.org"},{"name":"zorkow","email":"Volker.Sorge@gmail.com"},{"name":"dpvc","email":"dpvc33@gmail.com"}],"homepage":"https://github.com/mathjax/Mathjax-src#readme","bugs":{"url":"http://github.com/mathjax/MathJax/issues"},"dist":{"shasum":"0d09a0f56365d26331286e84f50a44043327ee10","tarball":"https://registry.npmjs.org/@mathjax/src/-/src-4.0.0-rc.4.tgz","fileCount":4221,"integrity":"sha512-oRFauAXbQUFozwH+sAZY3NwLBIzf2vdibO9UmmdoJVL3HbpphB/NkyTX9iD87JM1ZorOFPUvfMrLqDfwSdH8fg==","signatures":[{"sig":"MEUCIQDQJmZJQu6VRz/Pc1To93ul06UfmlRAPk+zPsttJYqwkQIgeFVQsJ7F/rqCatYGtOII88GNfsx4lk2PR41dSP48kh0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32468571},"main":"components/mjs/node-main/node-main.js","type":"module","_from":"file:mathjax-src-4.0.0-rc.4.tgz","exports":{".":{"import":"./bundle/node-main.mjs","require":"./bundle/node-main.cjs"},"./*":"./*","./js/*":{"import":"./mjs/*","require":"./cjs/*"},"./es5/*":"./bundle/*","./source":{"import":"./components/mjs/node-main/node-main.mjs","require":"./components/cjs/node-main/node-main.cjs"},"./require.mjs":"./bundle/require.mjs","./components/js/*":{"import":"./components/mjs/*","require":"./components/cjs/*"},"./components/src/*":{"import":"./components/mjs/*","require":"./components/cjs/*"}},"imports":{"#js/*":"@mathjax/src/mjs/*","#sre/*":"speech-rule-engine/js/*","#menu/*":"mj-context-menu/js/*","#root/*":"@mathjax/src/mjs/components/mjs/*","#mhchem/*":"mhchemparser/esm/*","#source/*":"@mathjax/src/components/mjs/*","#default-font/*":"@mathjax/mathjax-newcm-font/mjs/*"},"scripts":{"lint":"check() { eslint ${1:-ts/}; }; check","test":"cd testsuite && pnpm -s test --verbose","build":"pnpm -s build-mjs","clean":"pnpm -s clean:mod cjs && pnpm -s cjs:bundle:clean && pnpm -s clean:mod mjs && pnpm -s clean:dir bundle","format":"check() { prettier --check ${1:-\"ts/**/*.{ts,tsx}\"}; }; check","compile":"pnpm -s compile-mjs","lab:sre":"pnpm -s log:single 'Making lab/sre'; node components/bin/makeAll --terse lab/build","test:gh":"cd testsuite && pnpm -s test --silent","use-cjs":"echo '{\n  \"extends\": \"./tsconfig/cjs.json\"\n}' > tsconfig.json","use-mjs":"echo '{\n  \"extends\": \"./tsconfig/mjs.json\"\n}' > tsconfig.json","copy:mj2":"copy() { pnpm -s log:single 'Copying legacy code AsciiMath'; pnpm copyfiles -u 1 'ts/input/asciimath/legacy/**/*' $1; }; copy","copy:pkg":"copy() { pnpm -s log:single \"Copying package.json to $1\"; pnpm copyfiles -u 2 components/bin/package.json $1; }; copy","link:src":"pnpm -s log:single 'Setting symbolic link'; node components/bin/link-full","lint:fix":"fix() { eslint --fix ${1:-ts/}; }; fix","log:comp":"log() { echo \\\\033[32m$1\\\\033[0m; }; log","make-one":"make() { components/bin/makeAll --no-subdirs $3 $4 --${2:-mjs} components/${2-:mjs}/$1; }; make","build-all":"pnpm -s build-mjs ; echo ; pnpm -s build-cjs","build-cjs":"pnpm -s cjs:build","build-mjs":"pnpm -s mjs:build","cjs:build":"pnpm -s log:header 'Building cjs'; pnpm -s cjs:src:build && pnpm -s cjs:components:build","clean:dir":"clean() { pnpm -s log:single \"Cleaning $1 directory\"; pnpm rimraf $1; }; clean","clean:lib":"clean() { pnpm -s log:single \"Cleaning $1 component libs\"; pnpm rimraf -g components/$1'/**/lib'; }; clean","clean:mod":"clean() { pnpm -s log:comp \"Cleaning $1 module\"; pnpm -s clean:dir $1 && pnpm -s clean:lib $1; }; clean","copy:html":"copy() { pnpm -s log:single 'Copying sre auxiliary files'; pnpm copyfiles -u 1 'ts/a11y/sre/*.html' 'ts/a11y/sre/require.*' $1; }; copy","copy:mml3":"copy() { pnpm -s log:single 'Copying legacy code MathML3'; pnpm copyfiles -u 1 ts/input/mathml/mml3/mml3.sef.json $1; }; copy","mjs:build":"pnpm -s log:header 'Building mjs'; pnpm -s mjs:src:build && pnpm -s mjs:components:build","mml3-xslt":"pnpm -s mml3:pre:xslt && pnpm -s mml3:make:xslt && pnpm -s mml3:post:xslt","format:fix":"fix() { prettier --write ${1:-\"ts/**/*.{ts,tsx}\"}; }; fix","log:header":"log() { echo '============='; echo $1; echo '============='; }; log","log:single":"log() { echo \\\\033[34m--$1\\\\033[0m; }; log","cjs:compile":"pnpm -s cjs:copy:components && pnpm -s cjs:copy:ts && pnpm -s cjs:compile:tsc","cjs:copy:ts":"pnpm -s log:single 'Moving cjs files from ts' && pnpm copyfiles -u 1 'ts/**/*.cjs' cjs","compile-cjs":"pnpm -s cjs:compile","compile-mjs":"pnpm -s mjs:compile","copy:assets":"pnpm -s log:comp 'Copying assets'; copy() { pnpm -s copy:mj2 $1 && pnpm -s copy:mml3 $1 && pnpm -s copy:html $1; }; copy","mjs:compile":"pnpm -s log:single 'Compiling mjs typescript files'; pnpm tsc --project tsconfig/mjs.json && pnpm tsc --project tsconfig/worker.json","cjs:src:build":"pnpm -s log:comp 'Building cjs sources'; pnpm -s link:src && pnpm clean:dir cjs && pnpm -s cjs:compile && pnpm -s copy:assets cjs && pnpm -s copy:pkg cjs","mjs:src:build":"pnpm -s log:comp 'Building mjs sources'; pnpm -s link:src && pnpm -s clean:dir mjs && pnpm -s mjs:compile && pnpm -s copy:assets mjs","mml3:pre:xslt":"grep '^\\s*\\(<\\|or\\|xmlns\\|excl\\|\">\\)' ts/input/mathml/mml3/mml3.ts > /tmp/mml3.xsl","mml3:make:xslt":"pnpm xslt3 -t -xsl:/tmp/mml3.xsl -export:ts/input/mathml/mml3/mml3.sef.json -nogo","mml3:post:xslt":"pnpm rimraf /tmp/mml3.xsl","cjs:compile:tsc":"pnpm -s log:single 'Compiling cjs typescript files' && pnpm tsc --project tsconfig/worker-cjs.json && pnpm tsc --project tsconfig/cjs.json","make-components":"pnpm -s make-mjs-components","cjs:bundle:clean":"pnpm clean:dir bundle-cjs","cjs:bundle:finalize":"pnpm -s log:single 'Finalize cjs bundle'; echo '{\n  \"type\": \"commonjs\"\n}' > bundle-cjs/package.json;","cjs:components:copy":"pnpm copyfiles -u 2 -e 'components/mjs/**/*.js' 'components/mjs/**/*' components/cjs","cjs:components:make":"make() { pnpm -s log:single 'Making cjs components'; components/bin/makeAll --cjs --terse --bundle-cjs $1 components/cjs; }; make","cjs:copy:components":"pnpm -s log:single 'Moving cjs files from components' && pnpm copyfiles -u 2 'components/mjs/**/*.cjs' 'components/mjs/**/*.d.cts' components/cjs","make-cjs-components":"pnpm -s cjs:components:make && pnpm -s cjs:bundle:finalize","make-mjs-components":"pnpm -s mjs:components:make","mjs:bundle:finalize":"pnpm -s log:single 'Finalize mjs bundle'; echo '{\n  \"type\": \"commonjs\"\n}' > bundle/package.json;","mjs:components:make":"pnpm -s log:single 'Making mjs components'; components/bin/makeAll --mjs --terse components/mjs","cjs:components:build":"pnpm -s log:comp 'Building cjs components'; pnpm -s cjs:components:src:build && pnpm clean:dir bundle-cjs && pnpm -s cjs:components:make --build","cjs:components:clean":"pnpm -s log:single \"Cleaning cjs components\"; pnpm rimraf components/cjs","mjs:components:build":"pnpm -s log:comp 'Compiling mjs component files'; pnpm clean:lib mjs && pnpm clean:dir bundle && pnpm mjs:components:make && pnpm mjs:bundle:finalize","cjs:components:compile":"pnpm -s log:single 'Compiling component files'; pnpm tsc --project tsconfig/components.json","cjs:components:finalize":"pnpm -s log:comp 'Finalize cjs components'; pnpm -s cjs:components:copy && pnpm -s copy:pkg components/cjs && pnpm -s clean:lib cjs","cjs:components:src:build":"pnpm -s log:comp 'Building cjs components sources'; pnpm cjs:components:clean && pnpm cjs:components:compile && pnpm cjs:components:finalize","=============================================================================== cjs":"","=============================================================================== log":"","=============================================================================== mjs":"","=============================================================================== copy":"","=============================================================================== misc":"","=============================================================================== mml3":"","=============================================================================== clean":"","=============================================================================== aliases":"","=============================================================================== code hygene":""},"_npmUser":{"name":"mjadmin","actor":{"name":"mjadmin","type":"user","email":"manager@mathjax.org"},"email":"manager@mathjax.org"},"_resolved":"/tmp/c6fc4781a3fa2c1b9ae63a63b348fba3/mathjax-src-4.0.0-rc.4.tgz","_integrity":"sha512-oRFauAXbQUFozwH+sAZY3NwLBIzf2vdibO9UmmdoJVL3HbpphB/NkyTX9iD87JM1ZorOFPUvfMrLqDfwSdH8fg==","repository":{"url":"git+https://github.com/mathjax/Mathjax-src.git","type":"git"},"_npmVersion":"10.8.2","description":"Beautiful and accessible math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers and in server-side node applications. This package includes the source code as well as ","directories":{},"lint-staged":{"ts/**/*.ts":["pnpm format:fix","pnpm lint:fix"]},"_nodeVersion":"20.19.2","dependencies":{"mhchemparser":"^4.2.1","mj-context-menu":"^0.9.1","speech-rule-engine":"5.0.0-alpha.8","@mathjax/mathjax-newcm-font":"4.0.0-rc.4"},"_hasShrinkwrap":false,"devDependencies":{"diff":"^5.2.0","husky":"^9.1.7","xslt3":"^2.7.0","eslint":"^9.28.0","rimraf":"^5.0.10","webpack":"^5.99.9","prettier":"^3.5.3","copyfiles":"^2.4.1","@eslint/js":"^9.28.0","typescript":"^5.8.3","lint-staged":"^15.5.2","webpack-cli":"^5.1.4","@xmldom/xmldom":"^0.8.10","typescript-tools":"^0.3.1","typescript-eslint":"^8.33.1","wicked-good-xpath":"^1.3.0","eslint-plugin-jsdoc":"^48.11.0","eslint-formatter-unix":"^8.40.0","terser-webpack-plugin":"^5.3.14","eslint-plugin-prettier":"^5.4.1"},"_npmOperationalInternal":{"tmp":"tmp/src_4.0.0-rc.4_1750891649130_0.8321265734675669","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"@mathjax/src","version":"4.0.0","keywords":["MathJax","math","svg","HTML","MathML","TeX","AsciiMath"],"license":"Apache-2.0","_id":"@mathjax/src@4.0.0","maintainers":[{"name":"mjadmin","email":"manager@mathjax.org"},{"name":"zorkow","email":"Volker.Sorge@gmail.com"},{"name":"dpvc","email":"dpvc33@gmail.com"}],"homepage":"https://github.com/mathjax/Mathjax-src#readme","bugs":{"url":"http://github.com/mathjax/MathJax/issues"},"dist":{"shasum":"30b3990c00a4d9eb77b7dec15dc3427c5546fb8f","tarball":"https://registry.npmjs.org/@mathjax/src/-/src-4.0.0.tgz","fileCount":4234,"integrity":"sha512-i7oYVLkHTskfTqxBzrbvcJN8ptGChWb6bx2LZsCySk7QWf61JqaMYX5N7M0qr8tnYqRmN5DDedkRda7wDuTdBA==","signatures":[{"sig":"MEQCIECILbP8bZIqojMbrhhvTSExAxMgiVs+OGLxqadZAA8TAiAY7fhX6BC/UTBvfE7vNKI3HW+5ZYWygfHpL2P4DK7fVA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32763111},"main":"components/mjs/node-main/node-main.js","type":"module","_from":"file:mathjax-src-4.0.0.tgz","exports":{".":{"import":"./bundle/node-main.mjs","require":"./bundle/node-main.cjs"},"./*":"./*","./js/*":{"import":"./mjs/*","require":"./cjs/*"},"./es5/*":"./bundle/*","./source":{"import":"./components/mjs/node-main/node-main.mjs","require":"./components/cjs/node-main/node-main.cjs"},"./require.mjs":"./bundle/require.mjs","./components/js/*":{"import":"./components/mjs/*","require":"./components/cjs/*"},"./components/src/*":{"import":"./components/mjs/*","require":"./components/cjs/*"}},"imports":{"#js/*":"@mathjax/src/mjs/*","#sre/*":"speech-rule-engine/js/*","#menu/*":"mj-context-menu/js/*","#root/*":"@mathjax/src/mjs/components/mjs/*","#mhchem/*":"mhchemparser/esm/*","#source/*":"@mathjax/src/components/mjs/*","#default-font/*":"@mathjax/mathjax-newcm-font/mjs/*"},"scripts":{"lint":"check() { eslint ${1:-ts/}; }; check","test":"cd testsuite && pnpm -s test --verbose","build":"pnpm -s build-mjs","clean":"pnpm -s clean:mod cjs && pnpm -s cjs:bundle:clean && pnpm -s clean:mod mjs && pnpm -s clean:dir bundle","format":"check() { prettier --check ${1:-\"ts/**/*.{ts,tsx}\"}; }; check","compile":"pnpm -s compile-mjs","lab:sre":"pnpm -s log:single 'Making lab/sre'; node components/bin/makeAll --terse lab/build","test:gh":"cd testsuite && pnpm -s test --silent","use-cjs":"echo '{\n  \"extends\": \"./tsconfig/cjs.json\"\n}' > tsconfig.json","use-mjs":"echo '{\n  \"extends\": \"./tsconfig/mjs.json\"\n}' > tsconfig.json","copy:mj2":"copy() { pnpm -s log:single 'Copying legacy code AsciiMath'; pnpm copyfiles -u 1 'ts/input/asciimath/legacy/**/*' $1; }; copy","copy:pkg":"copy() { pnpm -s log:single \"Copying package.json to $1\"; pnpm copyfiles -u 2 components/bin/package.json $1; }; copy","link:src":"pnpm -s log:single 'Setting symbolic link'; node components/bin/link-full","lint:fix":"fix() { eslint --fix ${1:-ts/}; }; fix","log:comp":"log() { echo \\\\033[32m$1\\\\033[0m; }; log","make-one":"make() { components/bin/makeAll --no-subdirs $3 $4 --${2:-mjs} components/${2-:mjs}/$1; }; make","build-all":"pnpm -s build-mjs ; echo ; pnpm -s build-cjs","build-cjs":"pnpm -s cjs:build","build-mjs":"pnpm -s mjs:build","cjs:build":"pnpm -s log:header 'Building cjs'; pnpm -s cjs:src:build && pnpm -s cjs:components:build","clean:dir":"clean() { pnpm -s log:single \"Cleaning $1 directory\"; pnpm rimraf $1; }; clean","clean:lib":"clean() { pnpm -s log:single \"Cleaning $1 component libs\"; pnpm rimraf -g components/$1'/**/lib'; }; clean","clean:mod":"clean() { pnpm -s log:comp \"Cleaning $1 module\"; pnpm -s clean:dir $1 && pnpm -s clean:lib $1; }; clean","copy:html":"copy() { pnpm -s log:single 'Copying sre auxiliary files'; pnpm copyfiles -u 1 'ts/a11y/sre/*.html' 'ts/a11y/sre/require.*' $1; }; copy","copy:mml3":"copy() { pnpm -s log:single 'Copying legacy code MathML3'; pnpm copyfiles -u 1 ts/input/mathml/mml3/mml3.sef.json $1; }; copy","mjs:build":"pnpm -s log:header 'Building mjs'; pnpm -s mjs:src:build && pnpm -s mjs:components:build","mml3-xslt":"pnpm -s mml3:pre:xslt && pnpm -s mml3:make:xslt && pnpm -s mml3:post:xslt","format:fix":"fix() { prettier --write ${1:-\"ts/**/*.{ts,tsx}\"}; }; fix","log:header":"log() { echo '============='; echo $1; echo '============='; }; log","log:single":"log() { echo \\\\033[34m--$1\\\\033[0m; }; log","cjs:compile":"pnpm -s cjs:copy:components && pnpm -s cjs:copy:ts && pnpm -s cjs:compile:tsc","cjs:copy:ts":"pnpm -s log:single 'Moving cjs files from ts' && pnpm copyfiles -u 1 'ts/**/*.cjs' cjs","compile-cjs":"pnpm -s cjs:compile","compile-mjs":"pnpm -s mjs:compile","copy:assets":"pnpm -s log:comp 'Copying assets'; copy() { pnpm -s copy:mj2 $1 && pnpm -s copy:mml3 $1 && pnpm -s copy:html $1; }; copy","mjs:compile":"pnpm -s log:single 'Compiling mjs typescript files'; pnpm tsc --project tsconfig/mjs.json && pnpm tsc --project tsconfig/worker.json","cjs:src:build":"pnpm -s log:comp 'Building cjs sources'; pnpm -s link:src && pnpm clean:dir cjs && pnpm -s cjs:compile && pnpm -s copy:assets cjs && pnpm -s copy:pkg cjs","mjs:src:build":"pnpm -s log:comp 'Building mjs sources'; pnpm -s link:src && pnpm -s clean:dir mjs && pnpm -s mjs:compile && pnpm -s copy:assets mjs","mml3:pre:xslt":"grep '^\\s*\\(<\\|or\\|xmlns\\|excl\\|\">\\)' ts/input/mathml/mml3/mml3.ts > /tmp/mml3.xsl","mml3:make:xslt":"pnpm xslt3 -t -xsl:/tmp/mml3.xsl -export:ts/input/mathml/mml3/mml3.sef.json -nogo","mml3:post:xslt":"pnpm rimraf /tmp/mml3.xsl","cjs:compile:tsc":"pnpm -s log:single 'Compiling cjs typescript files' && pnpm tsc --project tsconfig/worker-cjs.json && pnpm tsc --project tsconfig/cjs.json","make-components":"pnpm -s make-mjs-components","cjs:bundle:clean":"pnpm clean:dir bundle-cjs","cjs:bundle:finalize":"pnpm -s log:single 'Finalize cjs bundle'; echo '{\n  \"type\": \"commonjs\"\n}' > bundle-cjs/package.json;","cjs:components:copy":"pnpm copyfiles -u 2 -e 'components/mjs/**/*.js' 'components/mjs/**/*' components/cjs","cjs:components:make":"make() { pnpm -s log:single 'Making cjs components'; components/bin/makeAll --cjs --terse --bundle-cjs $1 components/cjs; }; make","cjs:copy:components":"pnpm -s log:single 'Moving cjs files from components' && pnpm copyfiles -u 2 'components/mjs/**/*.cjs' 'components/mjs/**/*.d.cts' components/cjs","make-cjs-components":"pnpm -s cjs:components:make && pnpm -s cjs:bundle:finalize","make-mjs-components":"pnpm -s mjs:components:make","mjs:bundle:finalize":"pnpm -s log:single 'Finalize mjs bundle'; echo '{\n  \"type\": \"commonjs\"\n}' > bundle/package.json;","mjs:components:make":"pnpm -s log:single 'Making mjs components'; components/bin/makeAll --mjs --terse components/mjs","cjs:components:build":"pnpm -s log:comp 'Building cjs components'; pnpm -s cjs:components:src:build && pnpm clean:dir bundle-cjs && pnpm -s cjs:components:make --build","cjs:components:clean":"pnpm -s log:single \"Cleaning cjs components\"; pnpm rimraf components/cjs","mjs:components:build":"pnpm -s log:comp 'Compiling mjs component files'; pnpm clean:lib mjs && pnpm clean:dir bundle && pnpm mjs:components:make && pnpm mjs:bundle:finalize","cjs:components:compile":"pnpm -s log:single 'Compiling component files'; pnpm tsc --project tsconfig/components.json","cjs:components:finalize":"pnpm -s log:comp 'Finalize cjs components'; pnpm -s cjs:components:copy && pnpm -s copy:pkg components/cjs && pnpm -s clean:lib cjs","cjs:components:src:build":"pnpm -s log:comp 'Building cjs components sources'; pnpm cjs:components:clean && pnpm cjs:components:compile && pnpm cjs:components:finalize","=============================================================================== cjs":"","=============================================================================== log":"","=============================================================================== mjs":"","=============================================================================== copy":"","=============================================================================== misc":"","=============================================================================== mml3":"","=============================================================================== clean":"","=============================================================================== aliases":"","=============================================================================== code hygene":""},"_npmUser":{"name":"mjadmin","email":"manager@mathjax.org"},"_resolved":"/tmp/0c14bdac559e1cf9254d39d45fff9ef6/mathjax-src-4.0.0.tgz","_integrity":"sha512-i7oYVLkHTskfTqxBzrbvcJN8ptGChWb6bx2LZsCySk7QWf61JqaMYX5N7M0qr8tnYqRmN5DDedkRda7wDuTdBA==","repository":{"url":"git+https://github.com/mathjax/Mathjax-src.git","type":"git"},"_npmVersion":"10.8.2","description":"Beautiful and accessible math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers and in server-side node applications. This package includes the source code as well as ","directories":{},"lint-staged":{"ts/**/*.ts":["pnpm format:fix","pnpm lint:fix"]},"_nodeVersion":"20.19.4","dependencies":{"mhchemparser":"^4.2.1","mj-context-menu":"^0.9.1","speech-rule-engine":"5.0.0-beta.1","@mathjax/mathjax-newcm-font":"4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"diff":"^5.2.0","husky":"^9.1.7","xslt3":"^2.7.0","eslint":"^9.28.0","rimraf":"^5.0.10","typedoc":"^0.28.5","webpack":"^5.99.9","prettier":"^3.5.3","copyfiles":"^2.4.1","@eslint/js":"^9.28.0","typescript":"^5.8.3","lint-staged":"^15.5.2","webpack-cli":"^5.1.4","@xmldom/xmldom":"^0.8.10","typescript-tools":"^0.3.1","typescript-eslint":"^8.33.1","wicked-good-xpath":"^1.3.0","eslint-plugin-jsdoc":"^48.11.0","eslint-formatter-unix":"^8.40.0","terser-webpack-plugin":"^5.3.14","eslint-plugin-prettier":"^5.4.1"},"_npmOperationalInternal":{"tmp":"tmp/src_4.0.0_1754335123472_0.1448945447436778","host":"s3://npm-registry-packages-npm-production"}},"4.1.0":{"name":"@mathjax/src","version":"4.1.0","keywords":["MathJax","math","svg","HTML","MathML","TeX","AsciiMath"],"license":"Apache-2.0","_id":"@mathjax/src@4.1.0","maintainers":[{"name":"mjadmin","email":"manager@mathjax.org"},{"name":"zorkow","email":"Volker.Sorge@gmail.com"},{"name":"dpvc","email":"dpvc33@gmail.com"}],"homepage":"https://github.com/mathjax/Mathjax-src#readme","bugs":{"url":"http://github.com/mathjax/MathJax/issues"},"dist":{"shasum":"44de3d21c9cf3aa0d1a39d4a11d2f0dc86a5bd05","tarball":"https://registry.npmjs.org/@mathjax/src/-/src-4.1.0.tgz","fileCount":4259,"integrity":"sha512-xnBL2E5uNHR82iLiUVJXYicKh/Jbq2I1+8yCpcBfJqLEM6CrAR9zBpYYkAFtC/Myvykd5U5uMmRrtr49AKk0TA==","signatures":[{"sig":"MEUCIQDhlmVIi1U+VOtTUBzxBbusSk0ySwyHeL5HUHgAo/OpIAIgCyA3lkMr0fbj5lc2b7mnyrlhtvHZ4ndVwznNmXSumno=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33563455},"main":"components/mjs/node-main/node-main.js","type":"module","_from":"file:mathjax-src-4.1.0.tgz","exports":{".":{"import":"./bundle/node-main.mjs","require":"./bundle/node-main.cjs"},"./*":"./*","./js/*":{"import":"./mjs/*","require":"./cjs/*"},"./es5/*":"./bundle/*","./source":{"import":"./components/mjs/node-main/node-main.mjs","require":"./components/cjs/node-main/node-main.cjs"},"./require.mjs":"./bundle/require.mjs","./components/js/*":{"import":"./components/mjs/*","require":"./components/cjs/*"},"./components/src/*":{"import":"./components/mjs/*","require":"./components/cjs/*"}},"imports":{"#js/*":"@mathjax/src/mjs/*","#sre/*":"speech-rule-engine/js/*","#menu/*":"mj-context-menu/js/*","#root/*":"@mathjax/src/mjs/components/mjs/*","#mhchem/*":"mhchemparser/esm/*","#source/*":"@mathjax/src/components/mjs/*","#default-font/*":"@mathjax/mathjax-newcm-font/mjs/*"},"scripts":{"lint":"check() { eslint ${1:-ts/}; }; check","test":"cd testsuite && pnpm -s test --verbose","build":"pnpm -s build-mjs","clean":"pnpm -s clean:mod cjs && pnpm -s cjs:bundle:clean && pnpm -s clean:mod mjs && pnpm -s clean:dir bundle","format":"check() { prettier --check ${1:-\"ts/**/*.{ts,tsx}\"}; }; check","compile":"pnpm -s compile-mjs","lab:sre":"pnpm -s log:single 'Making lab/sre'; node components/bin/makeAll --terse lab/build","test:gh":"cd testsuite && pnpm -s test --silent","use-cjs":"echo '{\n  \"extends\": \"./tsconfig/cjs.json\"\n}' > tsconfig.json","use-mjs":"echo '{\n  \"extends\": \"./tsconfig/mjs.json\"\n}' > tsconfig.json","copy:mj2":"copy() { pnpm -s log:single 'Copying legacy code AsciiMath'; pnpm copyfiles -u 1 'ts/input/asciimath/legacy/**/*' $1; }; copy","copy:pkg":"copy() { pnpm -s log:single \"Copying package.json to $1\"; pnpm copyfiles -u 2 components/bin/package.json $1; }; copy","link:src":"pnpm -s log:single 'Setting symbolic link'; node components/bin/link-full","lint:fix":"fix() { eslint --fix ${1:-ts/}; }; fix","log:comp":"log() { echo \u001b[32m$1\u001b[0m; }; log","make-one":"make() { node components/bin/makeAll --no-subdirs $3 $4 --${2:-mjs} components/${2-:mjs}/$1; }; make","build-all":"pnpm -s build-mjs ; echo ; pnpm -s build-cjs","build-cjs":"pnpm -s cjs:build","build-mjs":"pnpm -s mjs:build","cjs:build":"pnpm -s log:header 'Building cjs'; pnpm -s cjs:src:build && pnpm -s cjs:components:build","clean:dir":"clean() { pnpm -s log:single \"Cleaning $1 directory\"; pnpm rimraf $1; }; clean","clean:lib":"clean() { pnpm -s log:single \"Cleaning $1 component libs\"; pnpm rimraf -g components/$1'/**/lib'; }; clean","clean:mod":"clean() { pnpm -s log:comp \"Cleaning $1 module\"; pnpm -s clean:dir $1 && pnpm -s clean:lib $1; }; clean","copy:html":"copy() { pnpm -s log:single 'Copying sre auxiliary files'; pnpm copyfiles -u 1 'ts/a11y/sre/*.html' 'ts/a11y/sre/require.*' $1; }; copy","copy:mml3":"copy() { pnpm -s log:single 'Copying legacy code MathML3'; pnpm copyfiles -u 1 ts/input/mathml/mml3/mml3.sef.json $1; }; copy","mjs:build":"pnpm -s log:header 'Building mjs'; pnpm -s mjs:src:build && pnpm -s mjs:components:build","mml3-xslt":"pnpm -s mml3:pre:xslt && pnpm -s mml3:make:xslt && pnpm -s mml3:post:xslt","format:fix":"fix() { prettier --write ${1:-\"ts/**/*.{ts,tsx}\"}; }; fix","log:header":"log() { echo '\u001b[1m============='; echo $1; echo '=============\u001b[0m'; }; log","log:single":"log() { echo \u001b[94m--$1\u001b[0m; }; log","cjs:compile":"pnpm -s cjs:copy:components && pnpm -s cjs:copy:ts && pnpm -s cjs:compile:tsc","cjs:copy:ts":"pnpm -s log:single 'Moving cjs files from ts' && pnpm copyfiles -u 1 'ts/**/*.cjs' cjs","compile-cjs":"pnpm -s cjs:compile","compile-mjs":"pnpm -s mjs:compile","copy:assets":"pnpm -s log:comp 'Copying assets'; copy() { pnpm -s copy:mj2 $1 && pnpm -s copy:mml3 $1 && pnpm -s copy:html $1; }; copy","mjs:compile":"pnpm -s log:single 'Compiling mjs typescript files'; pnpm tsc --project tsconfig/mjs.json && pnpm tsc --project tsconfig/worker.json","cjs:src:build":"pnpm -s log:comp 'Building cjs sources'; pnpm -s link:src && pnpm clean:dir cjs && pnpm -s cjs:compile && pnpm -s copy:assets cjs && pnpm -s copy:pkg cjs","mjs:src:build":"pnpm -s log:comp 'Building mjs sources'; pnpm -s link:src && pnpm -s clean:dir mjs && pnpm -s mjs:compile && pnpm -s copy:assets mjs","mml3:pre:xslt":"grep '^\\s*\\(<\\|or\\|xmlns\\|excl\\|\">\\)' ts/input/mathml/mml3/mml3.ts > /tmp/mml3.xsl","mml3:make:xslt":"pnpm xslt3 -t -xsl:/tmp/mml3.xsl -export:ts/input/mathml/mml3/mml3.sef.json -nogo","mml3:post:xslt":"pnpm rimraf /tmp/mml3.xsl","cjs:compile:tsc":"pnpm -s log:single 'Compiling cjs typescript files' && pnpm tsc --project tsconfig/worker-cjs.json && pnpm tsc --project tsconfig/cjs.json","make-components":"pnpm -s make-mjs-components","cjs:bundle:clean":"pnpm clean:dir bundle-cjs","cjs:bundle:finalize":"pnpm -s log:single 'Finalize cjs bundle'; echo '{\n  \"type\": \"commonjs\"\n}' > bundle-cjs/package.json;","cjs:components:copy":"pnpm copyfiles -u 2 -e 'components/mjs/**/*.js' 'components/mjs/**/*' components/cjs","cjs:components:make":"make() { pnpm -s log:single 'Making cjs components'; node components/bin/makeAll --cjs --terse --bundle-cjs $1 components/cjs; }; make","cjs:copy:components":"pnpm -s log:single 'Moving cjs files from components' && pnpm copyfiles -u 2 'components/mjs/**/*.cjs' 'components/mjs/**/*.d.cts' components/cjs","make-cjs-components":"pnpm -s cjs:components:make && pnpm -s cjs:bundle:finalize","make-mjs-components":"pnpm -s mjs:components:make","mjs:bundle:finalize":"pnpm -s log:single 'Finalize mjs bundle'; echo '{\n  \"type\": \"commonjs\"\n}' > bundle/package.json;","mjs:components:make":"pnpm -s log:single 'Making mjs components'; node components/bin/makeAll --mjs --terse components/mjs","cjs:components:build":"pnpm -s log:comp 'Building cjs components'; pnpm -s cjs:components:src:build && pnpm clean:dir bundle-cjs && pnpm -s cjs:components:make --build","cjs:components:clean":"pnpm -s log:single \"Cleaning cjs components\"; pnpm rimraf components/cjs","mjs:components:build":"pnpm -s log:comp 'Compiling mjs component files'; pnpm clean:lib mjs && pnpm clean:dir bundle && pnpm mjs:components:make && pnpm mjs:bundle:finalize","cjs:components:compile":"pnpm -s log:single 'Compiling component files'; pnpm tsc --project tsconfig/components.json","cjs:components:finalize":"pnpm -s log:comp 'Finalize cjs components'; pnpm -s cjs:components:copy && pnpm -s copy:pkg components/cjs && pnpm -s clean:lib cjs","cjs:components:src:build":"pnpm -s log:comp 'Building cjs components sources'; pnpm cjs:components:clean && pnpm cjs:components:compile && pnpm cjs:components:finalize","=============================================================================== cjs":"","=============================================================================== log":"","=============================================================================== mjs":"","=============================================================================== copy":"","=============================================================================== misc":"","=============================================================================== mml3":"","=============================================================================== clean":"","=============================================================================== aliases":"","=============================================================================== code hygene":""},"_npmUser":{"name":"mjadmin","email":"manager@mathjax.org"},"_resolved":"/tmp/610cdfaa6a84314fe643c304de3c81d9/mathjax-src-4.1.0.tgz","_integrity":"sha512-xnBL2E5uNHR82iLiUVJXYicKh/Jbq2I1+8yCpcBfJqLEM6CrAR9zBpYYkAFtC/Myvykd5U5uMmRrtr49AKk0TA==","repository":{"url":"git+https://github.com/mathjax/Mathjax-src.git","type":"git"},"_npmVersion":"10.8.2","description":"Beautiful and accessible math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers and in server-side node applications. This package includes the source code as well as ","directories":{},"lint-staged":{"ts/**/*.ts":["pnpm format:fix","pnpm lint:fix"]},"_nodeVersion":"20.19.6","dependencies":{"mhchemparser":"^4.2.1","mj-context-menu":"^1.0.0","speech-rule-engine":"5.0.0-beta.3","@mathjax/mathjax-newcm-font":"4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"diff":"^8.0.2","husky":"^9.1.7","xslt3":"^2.7.0","eslint":"^9.39.2","rimraf":"^6.1.2","typedoc":"^0.28.15","webpack":"^5.103.0","prettier":"^3.7.4","copyfiles":"^2.4.1","@eslint/js":"^9.39.2","typescript":"^5.9.3","lint-staged":"^16.2.7","webpack-cli":"^6.0.1","@xmldom/xmldom":"^0.8.11","typescript-tools":"^0.3.1","typescript-eslint":"^8.50.0","wicked-good-xpath":"^1.3.0","eslint-plugin-jsdoc":"^61.5.0","eslint-formatter-unix":"^9.0.1","terser-webpack-plugin":"^5.3.16","eslint-plugin-prettier":"^5.5.4"},"_npmOperationalInternal":{"tmp":"tmp/src_4.1.0_1765825700045_0.7860461124493572","host":"s3://npm-registry-packages-npm-production"}},"4.1.1":{"name":"@mathjax/src","version":"4.1.1","keywords":["MathJax","math","svg","HTML","MathML","TeX","AsciiMath"],"license":"Apache-2.0","_id":"@mathjax/src@4.1.1","maintainers":[{"name":"mjadmin","email":"manager@mathjax.org"},{"name":"zorkow","email":"Volker.Sorge@gmail.com"},{"name":"dpvc","email":"dpvc33@gmail.com"}],"homepage":"https://github.com/mathjax/Mathjax-src#readme","bugs":{"url":"http://github.com/mathjax/MathJax/issues"},"dist":{"shasum":"288884a9b414ae79a78ae7d72bd7c4ebea26b82f","tarball":"https://registry.npmjs.org/@mathjax/src/-/src-4.1.1.tgz","fileCount":4264,"integrity":"sha512-YW01BuT+un9l4ZADYZ3K+VCVImEuwI82376gfua3Ycjsp7r0TvXeU61Z5M8rRlGY2jrTjBMskcw98LHV6zIC6A==","signatures":[{"sig":"MEUCIHG1tUhIsPhDbvt6I6GTolKwLJQIsk8cAVbql7MyPv8CAiEA5h5qqnNz0QBfhQWQKRypobwDE07Z+ZxfVh/w+/4dcsc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mathjax%2fsrc@4.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33689589},"main":"components/mjs/node-main/node-main.js","type":"module","exports":{".":{"import":"./bundle/node-main.mjs","require":"./bundle/node-main.cjs"},"./*":"./*","./js/*":{"import":"./mjs/*","require":"./cjs/*"},"./es5/*":"./bundle/*","./source":{"import":"./components/mjs/node-main/node-main.mjs","require":"./components/cjs/node-main/node-main.cjs"},"./require.mjs":"./bundle/require.mjs","./components/js/*":{"import":"./components/mjs/*","require":"./components/cjs/*"},"./components/src/*":{"import":"./components/mjs/*","require":"./components/cjs/*"}},"gitHead":"ea4a5a068b611925b89e717c8eec9e46b5e9d5e2","imports":{"#js/*":"@mathjax/src/mjs/*","#sre/*":"speech-rule-engine/js/*","#menu/*":"mj-context-menu/js/*","#root/*":"@mathjax/src/mjs/components/mjs/*","#mhchem/*":"mhchemparser/esm/*","#source/*":"@mathjax/src/components/mjs/*","#default-font/*":"@mathjax/mathjax-newcm-font/mjs/*"},"scripts":{"lint":"check() { eslint ${1:-ts/}; }; check","test":"cd testsuite && pnpm -s test --verbose","build":"pnpm -s build-mjs","clean":"pnpm -s clean:mod cjs && pnpm -s cjs:bundle:clean && pnpm -s clean:mod mjs && pnpm -s clean:dir bundle","format":"check() { prettier --check ${1:-\"ts/**/*.{ts,tsx}\"}; }; check","compile":"pnpm -s compile-mjs","lab:sre":"pnpm -s log:single 'Making lab/sre'; node components/bin/makeAll --terse lab/build","test:gh":"cd testsuite && pnpm -s test --silent","use-cjs":"echo '{\n  \"extends\": \"./tsconfig/cjs.json\"\n}' > tsconfig.json","use-mjs":"echo '{\n  \"extends\": \"./tsconfig/mjs.json\"\n}' > tsconfig.json","copy:mj2":"copy() { pnpm -s log:single 'Copying legacy code AsciiMath'; pnpm copyfiles -u 1 'ts/input/asciimath/legacy/**/*' $1; }; copy","copy:pkg":"copy() { pnpm -s log:single \"Copying package.json to $1\"; pnpm copyfiles -u 2 components/bin/package.json $1; }; copy","link:src":"pnpm -s log:single 'Setting symbolic link'; node components/bin/link-full","lint:fix":"fix() { eslint --fix ${1:-ts/}; }; fix","log:comp":"log() { echo \u001b[32m$1\u001b[0m; }; log","make-one":"make() { node components/bin/makeAll --no-subdirs $3 $4 --${2:-mjs} components/${2-:mjs}/$1; }; make","build-all":"pnpm -s build-mjs ; echo ; pnpm -s build-cjs","build-cjs":"pnpm -s cjs:build","build-mjs":"pnpm -s mjs:build","cjs:build":"pnpm -s log:header 'Building cjs'; pnpm -s cjs:src:build && pnpm -s cjs:components:build","clean:dir":"clean() { pnpm -s log:single \"Cleaning $1 directory\"; pnpm rimraf $1; }; clean","clean:lib":"clean() { pnpm -s log:single \"Cleaning $1 component libs\"; pnpm rimraf -g components/$1'/**/lib'; }; clean","clean:mod":"clean() { pnpm -s log:comp \"Cleaning $1 module\"; pnpm -s clean:dir $1 && pnpm -s clean:lib $1; }; clean","copy:html":"copy() { pnpm -s log:single 'Copying sre auxiliary files'; pnpm copyfiles -u 1 'ts/a11y/sre/*.html' 'ts/a11y/sre/require.*' $1; }; copy","copy:mml3":"copy() { pnpm -s log:single 'Copying legacy code MathML3'; pnpm copyfiles -u 1 ts/input/mathml/mml3/mml3.sef.json $1; }; copy","mjs:build":"pnpm -s log:header 'Building mjs'; pnpm -s mjs:src:build && pnpm -s mjs:components:build","mml3-xslt":"pnpm -s mml3:pre:xslt && pnpm -s mml3:make:xslt && pnpm -s mml3:post:xslt","format:fix":"fix() { prettier --write ${1:-\"ts/**/*.{ts,tsx}\"}; }; fix","log:header":"log() { echo '\u001b[1m============='; echo $1; echo '=============\u001b[0m'; }; log","log:single":"log() { echo \u001b[94m--$1\u001b[0m; }; log","cjs:compile":"pnpm -s cjs:copy:components && pnpm -s cjs:copy:ts && pnpm -s cjs:compile:tsc","cjs:copy:ts":"pnpm -s log:single 'Moving cjs files from ts' && pnpm copyfiles -u 1 'ts/**/*.cjs' cjs","compile-cjs":"pnpm -s cjs:compile","compile-mjs":"pnpm -s mjs:compile","copy:assets":"pnpm -s log:comp 'Copying assets'; copy() { pnpm -s copy:mj2 $1 && pnpm -s copy:mml3 $1 && pnpm -s copy:html $1; }; copy","mjs:compile":"pnpm -s log:single 'Compiling mjs typescript files'; pnpm tsc --project tsconfig/mjs.json && pnpm tsc --project tsconfig/worker.json","cjs:src:build":"pnpm -s log:comp 'Building cjs sources'; pnpm -s link:src && pnpm clean:dir cjs && pnpm -s cjs:compile && pnpm -s copy:assets cjs && pnpm -s copy:pkg cjs","mjs:src:build":"pnpm -s log:comp 'Building mjs sources'; pnpm -s link:src && pnpm -s clean:dir mjs && pnpm -s mjs:compile && pnpm -s copy:assets mjs","mml3:pre:xslt":"grep '^\\s*\\(<\\|or\\|xmlns\\|excl\\|\">\\)' ts/input/mathml/mml3/mml3.ts > /tmp/mml3.xsl","mml3:make:xslt":"pnpm xslt3 -t -xsl:/tmp/mml3.xsl -export:ts/input/mathml/mml3/mml3.sef.json -nogo","mml3:post:xslt":"pnpm rimraf /tmp/mml3.xsl","cjs:compile:tsc":"pnpm -s log:single 'Compiling cjs typescript files' && pnpm tsc --project tsconfig/worker-cjs.json && pnpm tsc --project tsconfig/cjs.json","make-components":"pnpm -s make-mjs-components","cjs:bundle:clean":"pnpm clean:dir bundle-cjs","cjs:bundle:finalize":"pnpm -s log:single 'Finalize cjs bundle'; echo '{\n  \"type\": \"commonjs\"\n}' > bundle-cjs/package.json;","cjs:components:copy":"pnpm copyfiles -u 2 -e 'components/mjs/**/*.js' 'components/mjs/**/*' components/cjs","cjs:components:make":"make() { pnpm -s log:single 'Making cjs components'; node components/bin/makeAll --cjs --terse --bundle-cjs $1 components/cjs; }; make","cjs:copy:components":"pnpm -s log:single 'Moving cjs files from components' && pnpm copyfiles -u 2 'components/mjs/**/*.cjs' 'components/mjs/**/*.d.cts' components/cjs","make-cjs-components":"pnpm -s cjs:components:make && pnpm -s cjs:bundle:finalize","make-mjs-components":"pnpm -s mjs:components:make","mjs:bundle:finalize":"pnpm -s log:single 'Finalize mjs bundle'; echo '{\n  \"type\": \"commonjs\"\n}' > bundle/package.json;","mjs:components:make":"pnpm -s log:single 'Making mjs components'; node components/bin/makeAll --mjs --terse components/mjs","cjs:components:build":"pnpm -s log:comp 'Building cjs components'; pnpm -s cjs:components:src:build && pnpm clean:dir bundle-cjs && pnpm -s cjs:components:make --build","cjs:components:clean":"pnpm -s log:single \"Cleaning cjs components\"; pnpm rimraf components/cjs","mjs:components:build":"pnpm -s log:comp 'Compiling mjs component files'; pnpm clean:lib mjs && pnpm clean:dir bundle && pnpm mjs:components:make && pnpm mjs:bundle:finalize","cjs:components:compile":"pnpm -s log:single 'Compiling component files'; pnpm tsc --project tsconfig/components.json","cjs:components:finalize":"pnpm -s log:comp 'Finalize cjs components'; pnpm -s cjs:components:copy && pnpm -s copy:pkg components/cjs && pnpm -s clean:lib cjs","cjs:components:src:build":"pnpm -s log:comp 'Building cjs components sources'; pnpm cjs:components:clean && pnpm cjs:components:compile && pnpm cjs:components:finalize","=============================================================================== cjs":"","=============================================================================== log":"","=============================================================================== mjs":"","=============================================================================== copy":"","=============================================================================== misc":"","=============================================================================== mml3":"","=============================================================================== clean":"","=============================================================================== aliases":"","=============================================================================== code hygene":""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d54e3186-41bf-4a0f-85ab-bf8587b79b03"}},"repository":{"url":"git+https://github.com/mathjax/Mathjax-src.git","type":"git"},"_npmVersion":"11.6.2","description":"Beautiful and accessible math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers and in server-side node applications. This package includes the source code as well as ","directories":{},"lint-staged":{"ts/**/*.ts":["pnpm format:fix","pnpm lint:fix"]},"_nodeVersion":"24.13.0","dependencies":{"mhchemparser":"^4.2.1","mj-context-menu":"^1.0.0","speech-rule-engine":"5.0.0-beta.6","@mathjax/mathjax-newcm-font":"4.1.1"},"_hasShrinkwrap":false,"devDependencies":{"diff":"^8.0.3","husky":"^9.1.7","xslt3":"^2.7.0","eslint":"^9.39.2","rimraf":"^6.1.3","typedoc":"^0.28.17","webpack":"^5.105.2","prettier":"^3.8.1","copyfiles":"^2.4.1","@eslint/js":"^9.39.2","typescript":"^5.9.3","lint-staged":"^16.2.7","webpack-cli":"^6.0.1","@xmldom/xmldom":"^0.8.11","typescript-tools":"^0.3.1","typescript-eslint":"^8.56.0","wicked-good-xpath":"^1.3.0","eslint-plugin-jsdoc":"^62.5.5","eslint-formatter-unix":"^9.0.1","terser-webpack-plugin":"^5.3.16","eslint-plugin-prettier":"^5.5.5"},"_npmOperationalInternal":{"tmp":"tmp/src_4.1.1_1771538355553_0.0832616232300134","host":"s3://npm-registry-packages-npm-production"}},"4.1.2":{"name":"@mathjax/src","version":"4.1.2","keywords":["MathJax","math","svg","HTML","MathML","TeX","AsciiMath"],"license":"Apache-2.0","_id":"@mathjax/src@4.1.2","maintainers":[{"name":"mjadmin","email":"manager@mathjax.org"},{"name":"zorkow","email":"Volker.Sorge@gmail.com"},{"name":"dpvc","email":"dpvc33@gmail.com"}],"homepage":"https://github.com/mathjax/Mathjax-src#readme","bugs":{"url":"http://github.com/mathjax/MathJax/issues"},"dist":{"shasum":"9bd4ddfc28919d52e02d3065cb070b3fd1332c36","tarball":"https://registry.npmjs.org/@mathjax/src/-/src-4.1.2.tgz","fileCount":4287,"integrity":"sha512-7z3mQCQu4YqC1XyO4hMRkNTO49+5ZN8VtvBYKx+aGIXuGrlUvEAQZzeN/gf3tqZuVU4AI2yf1nYrrL1+BrSxIQ==","signatures":[{"sig":"MEYCIQDWhJHU3eQfSTxaNwcGZ7QmJWbJfZk747z0NSGZZ+O6oAIhANhRIwwy4lyu957ZdSGopTxDxRyyH0fgWZuuUaO93kjT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mathjax%2fsrc@4.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33673860},"main":"components/mjs/node-main/node-main.js","type":"module","_from":"file:mathjax-src-4.1.2.tgz","exports":{".":{"import":"./bundle/node-main.mjs","require":"./bundle/node-main.cjs"},"./*":"./*","./js/*":{"import":"./mjs/*","require":"./cjs/*"},"./es5/*":"./bundle/*","./source":{"import":"./components/mjs/node-main/node-main.mjs","require":"./components/cjs/node-main/node-main.cjs"},"./require.mjs":"./bundle/require.mjs","./components/js/*":{"import":"./components/mjs/*","require":"./components/cjs/*"},"./components/src/*":{"import":"./components/mjs/*","require":"./components/cjs/*"}},"imports":{"#js/*":"@mathjax/src/mjs/*","#sre/*":"speech-rule-engine/js/*","#menu/*":"mj-context-menu/js/*","#root/*":"@mathjax/src/mjs/components/mjs/*","#mhchem/*":"mhchemparser/esm/*","#source/*":"@mathjax/src/components/mjs/*","#default-font/*":"@mathjax/mathjax-newcm-font/mjs/*"},"scripts":{"lint":"check() { eslint ${1:-ts/}; }; check","test":"cd testsuite && pnpm -s test --verbose","build":"pnpm -s build-mjs","clean":"pnpm -s clean:mod cjs && pnpm -s cjs:bundle:clean && pnpm -s clean:mod mjs && pnpm -s clean:dir bundle","format":"check() { prettier --check ${1:-\"ts/**/*.{ts,tsx}\"}; }; check","compile":"pnpm -s compile-mjs","lab:sre":"pnpm -s log:single 'Making lab/sre'; node components/bin/makeAll --terse lab/build","test:gh":"cd testsuite && pnpm -s test --silent","use-cjs":"echo '{\n  \"extends\": \"./tsconfig/cjs.json\"\n}' > tsconfig.json","use-mjs":"echo '{\n  \"extends\": \"./tsconfig/mjs.json\"\n}' > tsconfig.json","copy:mj2":"copy() { pnpm -s log:single 'Copying legacy code AsciiMath'; pnpm copyfiles -u 1 'ts/input/asciimath/legacy/**/*' $1; }; copy","copy:pkg":"copy() { pnpm -s log:single \"Copying package.json to $1\"; pnpm copyfiles -u 2 components/bin/package.json $1; }; copy","link:src":"pnpm -s log:single 'Setting symbolic link'; node components/bin/link-full","lint:fix":"fix() { eslint --fix ${1:-ts/}; }; fix","log:comp":"log() { echo \u001b[32m$1\u001b[0m; }; log","make-one":"make() { node components/bin/makeAll --no-subdirs $3 $4 --${2:-mjs} components/${2-:mjs}/$1; }; make","build-all":"pnpm -s build-mjs ; echo ; pnpm -s build-cjs","build-cjs":"pnpm -s cjs:build","build-mjs":"pnpm -s mjs:build","cjs:build":"pnpm -s log:header 'Building cjs'; pnpm -s cjs:src:build && pnpm -s cjs:components:build","clean:dir":"clean() { pnpm -s log:single \"Cleaning $1 directory\"; pnpm rimraf $1; }; clean","clean:lib":"clean() { pnpm -s log:single \"Cleaning $1 component libs\"; pnpm rimraf -g components/$1'/**/lib'; }; clean","clean:mod":"clean() { pnpm -s log:comp \"Cleaning $1 module\"; pnpm -s clean:dir $1 && pnpm -s clean:lib $1; }; clean","copy:html":"copy() { pnpm -s log:single 'Copying sre auxiliary files'; pnpm copyfiles -u 1 'ts/a11y/sre/*.html' 'ts/a11y/sre/require.*' $1; }; copy","copy:mml3":"copy() { pnpm -s log:single 'Copying legacy code MathML3'; pnpm copyfiles -u 1 ts/input/mathml/mml3/mml3.sef.json $1; }; copy","mjs:build":"pnpm -s log:header 'Building mjs'; pnpm -s mjs:src:build && pnpm -s mjs:components:build","mml3-xslt":"pnpm -s mml3:pre:xslt && pnpm -s mml3:make:xslt && pnpm -s mml3:post:xslt","format:fix":"fix() { prettier --write ${1:-\"ts/**/*.{ts,tsx}\"}; }; fix","log:header":"log() { echo '\u001b[1m============='; echo $1; echo '=============\u001b[0m'; }; log","log:single":"log() { echo \u001b[94m--$1\u001b[0m; }; log","cjs:compile":"pnpm -s cjs:copy:components && pnpm -s cjs:copy:ts && pnpm -s cjs:compile:tsc","cjs:copy:ts":"pnpm -s log:single 'Moving cjs files from ts' && pnpm copyfiles -u 1 'ts/**/*.cjs' cjs","compile-cjs":"pnpm -s cjs:compile","compile-mjs":"pnpm -s mjs:compile","copy:assets":"pnpm -s log:comp 'Copying assets'; copy() { pnpm -s copy:mj2 $1 && pnpm -s copy:mml3 $1 && pnpm -s copy:html $1; }; copy","mjs:compile":"pnpm -s log:single 'Compiling mjs typescript files'; pnpm tsc --project tsconfig/mjs.json && pnpm tsc --project tsconfig/worker.json","cjs:src:build":"pnpm -s log:comp 'Building cjs sources'; pnpm -s link:src && pnpm clean:dir cjs && pnpm -s cjs:compile && pnpm -s copy:assets cjs && pnpm -s copy:pkg cjs","mjs:src:build":"pnpm -s log:comp 'Building mjs sources'; pnpm -s link:src && pnpm -s clean:dir mjs && pnpm -s mjs:compile && pnpm -s copy:assets mjs","mml3:pre:xslt":"grep '^\\s*\\(<\\|or\\|xmlns\\|excl\\|\">\\)' ts/input/mathml/mml3/mml3.ts > /tmp/mml3.xsl","mml3:make:xslt":"pnpm xslt3 -t -xsl:/tmp/mml3.xsl -export:ts/input/mathml/mml3/mml3.sef.json -nogo","mml3:post:xslt":"pnpm rimraf /tmp/mml3.xsl","cjs:compile:tsc":"pnpm -s log:single 'Compiling cjs typescript files' && pnpm tsc --project tsconfig/worker-cjs.json && pnpm tsc --project tsconfig/cjs.json","make-components":"pnpm -s make-mjs-components","cjs:bundle:clean":"pnpm clean:dir bundle-cjs","cjs:bundle:finalize":"pnpm -s log:single 'Finalize cjs bundle'; echo '{\n  \"type\": \"commonjs\"\n}' > bundle-cjs/package.json;","cjs:components:copy":"pnpm copyfiles -u 2 -e 'components/mjs/**/*.js' 'components/mjs/**/*' components/cjs","cjs:components:make":"make() { pnpm -s log:single 'Making cjs components'; node components/bin/makeAll --cjs --terse --bundle-cjs $1 components/cjs; }; make","cjs:copy:components":"pnpm -s log:single 'Moving cjs files from components' && pnpm copyfiles -u 2 'components/mjs/**/*.cjs' 'components/mjs/**/*.d.cts' components/cjs","make-cjs-components":"pnpm -s cjs:components:make && pnpm -s cjs:bundle:finalize","make-mjs-components":"pnpm -s mjs:components:make","mjs:bundle:finalize":"pnpm -s log:single 'Finalize mjs bundle'; echo '{\n  \"type\": \"commonjs\"\n}' > bundle/package.json;","mjs:components:make":"pnpm -s log:single 'Making mjs components'; node components/bin/makeAll --mjs --terse components/mjs","cjs:components:build":"pnpm -s log:comp 'Building cjs components'; pnpm -s cjs:components:src:build && pnpm clean:dir bundle-cjs && pnpm -s cjs:components:make --build","cjs:components:clean":"pnpm -s log:single \"Cleaning cjs components\"; pnpm rimraf components/cjs","mjs:components:build":"pnpm -s log:comp 'Compiling mjs component files'; pnpm clean:lib mjs && pnpm clean:dir bundle && pnpm mjs:components:make && pnpm mjs:bundle:finalize","cjs:components:compile":"pnpm -s log:single 'Compiling component files'; pnpm tsc --project tsconfig/components.json","cjs:components:finalize":"pnpm -s log:comp 'Finalize cjs components'; pnpm -s cjs:components:copy && pnpm -s copy:pkg components/cjs && pnpm -s clean:lib cjs","cjs:components:src:build":"pnpm -s log:comp 'Building cjs components sources'; pnpm cjs:components:clean && pnpm cjs:components:compile && pnpm cjs:components:finalize","=============================================================================== cjs":"","=============================================================================== log":"","=============================================================================== mjs":"","=============================================================================== copy":"","=============================================================================== misc":"","=============================================================================== mml3":"","=============================================================================== clean":"","=============================================================================== aliases":"","=============================================================================== code hygene":""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d54e3186-41bf-4a0f-85ab-bf8587b79b03"}},"_resolved":"/tmp/093c809ff7110777f48e6ffe0676d0a2/mathjax-src-4.1.2.tgz","_integrity":"sha512-7z3mQCQu4YqC1XyO4hMRkNTO49+5ZN8VtvBYKx+aGIXuGrlUvEAQZzeN/gf3tqZuVU4AI2yf1nYrrL1+BrSxIQ==","repository":{"url":"git+https://github.com/mathjax/Mathjax-src.git","type":"git"},"_npmVersion":"11.11.0","description":"Beautiful and accessible math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers and in server-side node applications. This package includes the source code as well as ","directories":{},"lint-staged":{"ts/**/*.ts":["pnpm format:fix","pnpm lint:fix"]},"_nodeVersion":"24.14.1","dependencies":{"mhchemparser":"^4.2.1","mj-context-menu":"^1.0.0","speech-rule-engine":"5.0.0-rc.1","@mathjax/mathjax-newcm-font":"4.1.2"},"_hasShrinkwrap":false,"devDependencies":{"diff":"^9.0.0","husky":"^9.1.7","xslt3":"^2.7.0","eslint":"^9.39.2","rimraf":"^6.1.3","typedoc":"^0.28.19","webpack":"^5.106.2","prettier":"^3.8.3","copyfiles":"^2.4.1","@eslint/js":"^9.39.2","typescript":"^5.9.3","lint-staged":"^16.2.7","webpack-cli":"^7.0.2","@xmldom/xmldom":"^0.9.10","typescript-tools":"^0.3.1","typescript-eslint":"^8.56.0","wicked-good-xpath":"^1.3.0","eslint-plugin-jsdoc":"^62.5.5","eslint-formatter-unix":"^9.0.1","terser-webpack-plugin":"^5.5.0","eslint-plugin-prettier":"^5.5.5"},"_npmOperationalInternal":{"tmp":"tmp/src_4.1.2_1777813135085_0.1911702724385489","host":"s3://npm-registry-packages-npm-production"}},"4.1.3":{"name":"@mathjax/src","version":"4.1.3","description":"Beautiful and accessible math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers and in server-side node applications. This package includes the source code as well as ","keywords":["MathJax","math","svg","HTML","MathML","TeX","AsciiMath"],"license":"Apache-2.0","maintainers":[{"name":"mjadmin","email":"manager@mathjax.org"},{"name":"zorkow","email":"Volker.Sorge@gmail.com"},{"name":"dpvc","email":"dpvc33@gmail.com"}],"bugs":{"url":"http://github.com/mathjax/MathJax/issues"},"repository":{"type":"git","url":"git+https://github.com/mathjax/Mathjax-src.git"},"type":"module","main":"components/mjs/node-main/node-main.js","exports":{".":{"import":"./bundle/node-main.mjs","require":"./bundle/node-main.cjs"},"./source":{"import":"./components/mjs/node-main/node-main.mjs","require":"./components/cjs/node-main/node-main.cjs"},"./js/*":{"import":"./mjs/*","require":"./cjs/*"},"./components/src/*":{"import":"./components/mjs/*","require":"./components/cjs/*"},"./components/js/*":{"import":"./components/mjs/*","require":"./components/cjs/*"},"./require.mjs":"./bundle/require.mjs","./es5/*":"./bundle/*","./*":"./*"},"imports":{"#js/*":"@mathjax/src/mjs/*","#source/*":"@mathjax/src/components/mjs/*","#root/*":"@mathjax/src/mjs/components/mjs/*","#menu/*":"mj-context-menu/js/*","#sre/*":"speech-rule-engine/js/*","#mhchem/*":"mhchemparser/esm/*","#default-font/*":"@mathjax/mathjax-newcm-font/mjs/*"},"devDependencies":{"@eslint/js":"^9.39.2","@xmldom/xmldom":"^0.9.10","copyfiles":"^2.4.1","diff":"^9.0.0","eslint":"^9.39.2","eslint-formatter-unix":"^9.0.1","eslint-plugin-jsdoc":"^62.5.5","eslint-plugin-prettier":"^5.5.5","husky":"^9.1.7","lint-staged":"^16.2.7","prettier":"^3.8.3","rimraf":"^6.1.3","terser-webpack-plugin":"^5.5.0","typedoc":"^0.28.19","typescript":"^5.9.3","typescript-eslint":"^8.56.0","typescript-tools":"^0.3.1","webpack":"^5.106.2","webpack-cli":"^7.0.2","wicked-good-xpath":"^1.3.0","xslt3":"^2.7.0"},"lint-staged":{"ts/**/*.ts":["pnpm format:fix","pnpm lint:fix"]},"dependencies":{"@mathjax/mathjax-newcm-font":"4.1.3","mhchemparser":"^4.2.1","mj-context-menu":"^1.0.0","speech-rule-engine":"5.0.0-rc.4"},"scripts":{"=============================================================================== code hygene":"","lint":"check() { eslint ${1:-ts/}; }; check","lint:fix":"fix() { eslint --fix ${1:-ts/}; }; fix","format":"check() { prettier --check ${1:-\"ts/**/*.{ts,tsx}\"}; }; check","format:fix":"fix() { prettier --write ${1:-\"ts/**/*.{ts,tsx}\"}; }; fix","=============================================================================== clean":"","clean:dir":"clean() { pnpm -s log:single \"Cleaning $1 directory\"; pnpm rimraf $1; }; clean","clean:lib":"clean() { pnpm -s log:single \"Cleaning $1 component libs\"; pnpm rimraf -g components/$1'/**/lib'; }; clean","clean:mod":"clean() { pnpm -s log:comp \"Cleaning $1 module\"; pnpm -s clean:dir $1 && pnpm -s clean:lib $1; }; clean","=============================================================================== copy":"","copy:assets":"pnpm -s log:comp 'Copying assets'; copy() { pnpm -s copy:mj2 $1 && pnpm -s copy:mml3 $1 && pnpm -s copy:html $1; }; copy","copy:html":"copy() { pnpm -s log:single 'Copying sre auxiliary files'; pnpm copyfiles -u 1 'ts/a11y/sre/*.html' 'ts/a11y/sre/require.*' $1; }; copy","copy:mj2":"copy() { pnpm -s log:single 'Copying legacy code AsciiMath'; pnpm copyfiles -u 1 'ts/input/asciimath/legacy/**/*' $1; }; copy","copy:mml3":"copy() { pnpm -s log:single 'Copying legacy code MathML3'; pnpm copyfiles -u 1 ts/input/mathml/mml3/mml3.sef.json $1; }; copy","copy:pkg":"copy() { pnpm -s log:single \"Copying package.json to $1\"; pnpm copyfiles -u 2 components/bin/package.json $1; }; copy","=============================================================================== log":"","log:comp":"log() { echo \u001b[32m$1\u001b[0m; }; log","log:header":"log() { echo '\u001b[1m============='; echo $1; echo '=============\u001b[0m'; }; log","log:single":"log() { echo \u001b[94m--$1\u001b[0m; }; log","=============================================================================== cjs":"","cjs:build":"pnpm -s log:header 'Building cjs'; pnpm -s cjs:src:build && pnpm -s cjs:components:build","cjs:bundle:clean":"pnpm clean:dir bundle-cjs","cjs:bundle:finalize":"pnpm -s log:single 'Finalize cjs bundle'; echo '{\n  \"type\": \"commonjs\"\n}' > bundle-cjs/package.json;","cjs:compile":"pnpm -s cjs:copy:components && pnpm -s cjs:copy:ts && pnpm -s cjs:compile:tsc","cjs:compile:tsc":"pnpm -s log:single 'Compiling cjs typescript files' && pnpm tsc --project tsconfig/worker-cjs.json && pnpm tsc --project tsconfig/cjs.json","cjs:components:build":"pnpm -s log:comp 'Building cjs components'; pnpm -s cjs:components:src:build && pnpm clean:dir bundle-cjs && pnpm -s cjs:components:make --build","cjs:components:clean":"pnpm -s log:single \"Cleaning cjs components\"; pnpm rimraf components/cjs","cjs:components:compile":"pnpm -s log:single 'Compiling component files'; pnpm tsc --project tsconfig/components.json","cjs:components:copy":"pnpm copyfiles -u 2 -e 'components/mjs/**/*.js' 'components/mjs/**/*' components/cjs","cjs:components:finalize":"pnpm -s log:comp 'Finalize cjs components'; pnpm -s cjs:components:copy && pnpm -s copy:pkg components/cjs && pnpm -s clean:lib cjs","cjs:components:make":"make() { pnpm -s log:single 'Making cjs components'; node components/bin/makeAll --cjs --terse --bundle-cjs $1 components/cjs; }; make","cjs:components:src:build":"pnpm -s log:comp 'Building cjs components sources'; pnpm cjs:components:clean && pnpm cjs:components:compile && pnpm cjs:components:finalize","cjs:src:build":"pnpm -s log:comp 'Building cjs sources'; pnpm -s link:src && pnpm clean:dir cjs && pnpm -s cjs:compile && pnpm -s copy:assets cjs && pnpm -s copy:pkg cjs","cjs:copy:components":"pnpm -s log:single 'Moving cjs files from components' && pnpm copyfiles -u 2 'components/mjs/**/*.cjs' 'components/mjs/**/*.d.cts' components/cjs","cjs:copy:ts":"pnpm -s log:single 'Moving cjs files from ts' && pnpm copyfiles -u 1 'ts/**/*.cjs' cjs","=============================================================================== mjs":"","mjs:build":"pnpm -s log:header 'Building mjs'; pnpm -s mjs:src:build && pnpm -s mjs:components:build","mjs:bundle:finalize":"pnpm -s log:single 'Finalize mjs bundle'; echo '{\n  \"type\": \"commonjs\"\n}' > bundle/package.json;","mjs:compile":"pnpm -s log:single 'Compiling mjs typescript files'; pnpm tsc --project tsconfig/mjs.json && pnpm tsc --project tsconfig/worker.json","mjs:components:build":"pnpm -s log:comp 'Compiling mjs component files'; pnpm clean:lib mjs && pnpm clean:dir bundle && pnpm mjs:components:make && pnpm mjs:bundle:finalize","mjs:components:make":"pnpm -s log:single 'Making mjs components'; node components/bin/makeAll --mjs --terse components/mjs","mjs:src:build":"pnpm -s log:comp 'Building mjs sources'; pnpm -s link:src && pnpm -s clean:dir mjs && pnpm -s mjs:compile && pnpm -s copy:assets mjs","=============================================================================== mml3":"","mml3:make:xslt":"pnpm xslt3 -t -xsl:/tmp/mml3.xsl -export:ts/input/mathml/mml3/mml3.sef.json -nogo","mml3:post:xslt":"pnpm rimraf /tmp/mml3.xsl","mml3:pre:xslt":"grep '^\\s*\\(<\\|or\\|xmlns\\|excl\\|\">\\)' ts/input/mathml/mml3/mml3.ts > /tmp/mml3.xsl","mml3-xslt":"pnpm -s mml3:pre:xslt && pnpm -s mml3:make:xslt && pnpm -s mml3:post:xslt","=============================================================================== misc":"","lab:sre":"pnpm -s log:single 'Making lab/sre'; node components/bin/makeAll --terse lab/build","link:src":"pnpm -s log:single 'Setting symbolic link'; node components/bin/link-full","use-cjs":"echo '{\n  \"extends\": \"./tsconfig/cjs.json\"\n}' > tsconfig.json","use-mjs":"echo '{\n  \"extends\": \"./tsconfig/mjs.json\"\n}' > tsconfig.json","=============================================================================== aliases":"","test":"cd testsuite && pnpm -s test --verbose","test:gh":"cd testsuite && pnpm -s test --silent","clean":"pnpm -s clean:mod cjs && pnpm -s cjs:bundle:clean && pnpm -s clean:mod mjs && pnpm -s clean:dir bundle","compile-cjs":"pnpm -s cjs:compile","compile-mjs":"pnpm -s mjs:compile","build-cjs":"pnpm -s cjs:build","build-mjs":"pnpm -s mjs:build","make-cjs-components":"pnpm -s cjs:components:make && pnpm -s cjs:bundle:finalize","make-mjs-components":"pnpm -s mjs:components:make","make-one":"make() { node components/bin/makeAll --no-subdirs $3 $4 --${2:-mjs} components/${2-:mjs}/$1; }; make","make-components":"pnpm -s make-mjs-components","compile":"pnpm -s compile-mjs","build":"pnpm -s build-mjs","build-all":"pnpm -s build-mjs ; echo ; pnpm -s build-cjs"},"_id":"@mathjax/src@4.1.3","homepage":"https://github.com/mathjax/Mathjax-src#readme","_integrity":"sha512-rIrWquuBSoJuoMBdC/1qD+AUHTorlccPicoVy6P2xbUgnuDBpCcpbHtOAsB8L3hdCHtNBg92lF8e3Fz+pkcQbw==","_resolved":"/tmp/d4ec4348eff8d4dab9f917e11bdfe106/mathjax-src-4.1.3.tgz","_from":"file:mathjax-src-4.1.3.tgz","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-rIrWquuBSoJuoMBdC/1qD+AUHTorlccPicoVy6P2xbUgnuDBpCcpbHtOAsB8L3hdCHtNBg92lF8e3Fz+pkcQbw==","shasum":"b2830c296182c63bd3191d9034abbba6e9166463","tarball":"https://registry.npmjs.org/@mathjax/src/-/src-4.1.3.tgz","fileCount":4287,"unpackedSize":33726950,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mathjax%2fsrc@4.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC+N2tMLfsdHIaeHLAPaeHkaH8PKr01DfrurZoHybD5LwIhANw5xxR8qkoZdS/GVDNVgzLGTY3hWvw9y5B2rgtwihCu"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d54e3186-41bf-4a0f-85ab-bf8587b79b03"}},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/src_4.1.3_1783085446768_0.7961928085391858"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-25T22:47:29.039Z","modified":"2026-07-03T13:30:47.469Z","4.0.0-rc.1":"2025-06-20T16:21:54.185Z","4.0.0-rc.2":"2025-06-21T18:42:48.968Z","4.0.0-rc.3":"2025-06-24T18:35:17.465Z","4.0.0-rc.4":"2025-06-25T22:47:29.415Z","4.0.0":"2025-08-04T19:18:43.795Z","4.1.0":"2025-12-15T19:08:20.399Z","4.1.1":"2026-02-19T21:59:16.050Z","4.1.2":"2026-05-03T12:58:55.502Z","4.1.3":"2026-07-03T13:30:47.047Z"},"bugs":{"url":"http://github.com/mathjax/MathJax/issues"},"license":"Apache-2.0","homepage":"https://github.com/mathjax/Mathjax-src#readme","keywords":["MathJax","math","svg","HTML","MathML","TeX","AsciiMath"],"repository":{"type":"git","url":"git+https://github.com/mathjax/Mathjax-src.git"},"description":"Beautiful and accessible math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers and in server-side node applications. This package includes the source code as well as ","maintainers":[{"name":"mjadmin","email":"manager@mathjax.org"},{"name":"zorkow","email":"Volker.Sorge@gmail.com"},{"name":"dpvc","email":"dpvc33@gmail.com"}],"readme":"# MathJax (Source Repository)\n\n![GitHub release version](https://img.shields.io/github/v/release/mathjax/MathJax-src.svg?sort=semver)\n![GitHub release version (v3)](https://img.shields.io/github/package-json/v/mathjax/MathJax/legacy-v3.svg?label=release-v3)\n![GitHub release version (v2)](https://img.shields.io/github/package-json/v/mathjax/MathJax/legacy-v2.svg?label=release-v2)\n![NPM version](https://img.shields.io/npm/v/mathjax.svg?style=flat)\n![jsdelivr rank](https://flat.badgen.net/jsdelivr/rank/npm/mathjax?color=green)\n![jsDelivr hits (npm)](https://img.shields.io/jsdelivr/npm/hm/mathjax)\n![npm monthly downloads (full)](https://img.shields.io/npm/dm/mathjax?label=npm)\n![npm monthly downloads (full)](https://img.shields.io/npm/dm/mathjax-full?label=npm%20%28full%29)\n![npm total downloads](https://img.shields.io/npm/dt/mathjax.svg?style=flat&label=npm%20total)\n![npm total downloads](https://img.shields.io/npm/dt/mathjax-full.svg?style=flat&label=npm%20total%20%28full%29)\n![test workflow](https://github.com/MathJax/MathJax-src/actions/workflows/test.js.yml/badge.svg?branch=develop)\n[![codecov](https://codecov.io/gh/mathjax/mathjax-src/branch/develop/graph/badge.svg)](https://codecov.io/gh/mathjax/mathjax-src/tree/develop)\n\n## Beautiful math in all browsers\n\nMathJax is an open-source JavaScript display engine for LaTeX, MathML,\nand AsciiMath notation that works in all modern browsers, with\nbuilt-in support for assistive technology like screen readers,\nincluding automatic speech generation and an expression explorer that\ncan be used to investigate typeset mathematics on a more granular\nlevel than the complete expression.  It requires no setup on the part\nof the user (no plugins to download or software to install), so the\npage author can write web documents that include mathematics and be\nconfident that users will be able to view it naturally and easily.\nSimply include MathJax and some mathematics in a web page, and MathJax\ndoes the rest.\n\nSome of the main features of MathJax include:\n\n- High-quality display of LaTeX, MathML, and AsciiMath notation in HTML pages\n\n- Supported in most browsers with no plug-ins, extra fonts, or special\n  setup for the reader\n\n- Easy for authors, flexible for publishers, extensible for developers\n\n- Supports math accessibility, cut-and-paste interoperability, and other\n  advanced functionality\n\n- Powerful API for integration with other web applications\n\nSee <http://www.mathjax.org/> for additional details about MathJax,\nand <https://docs.mathjax.org> for the MathJax documentation.\n\n## What's in this Repository\n\nThis repository contains the source files for MathJax, which are\nwritten in TypeScript.  These are compiled into JavaScript files and\nthen combined into component files for use on the web.  The component\nfiles are available from several [CDN services that host\nMathJax](https://docs.mathjax.org/en/latest/web/start.html#using-mathjax-from-a-content-delivery-network-cdn),\nand also from the [MathJax Component\nRepository](https://github.com/mathjax/MathJax).  Node applications\ncan use either the component files, or call the MathJax JavaScript\nfiles directly.\n\n## Installation and Use\n\n### Using MathJax in web browsers\n\nIf you are loading MathJax from a CDN into a web page, there is no\nneed to install anything.  Simply use a `script` tag that loads\nMathJax from the CDN.  E.g.,\n\n``` html\n<script src=\"https://cdn.jsdelivr.net/npm/mathjax@4/tex-mml-chtml.js\" defer></script>\n```\n\nSee the [MathJax\ndocumentation](https://docs.mathjax.org/en/latest/index.html#browser-components)\nand the [MathJax Web Demos](https://github.com/mathjax/MathJax-demos-web), and the [MathJax\nNode Demos](https://github.com/mathjax/MathJax-demos-node) for more\ninformation.\n\n\n### Using MathJax Components in node applications\n\nTo use MathJax components in a node application, install the `mathjax`\npackage:\n\n``` bash\nnpm install mathjax@4\n```\n\nThen import `mathjax` within your application and initialize it:\n\n``` js\nimport MathJax from 'mathjax';\nawait MathJax.init({ ... });\n```\n\nwhere `{ ... }` is the MathJax configuration you want to use.  E.g., \n\n``` js\nimport MathJax from 'mathjax';\nawait MathJax.init({\n  loader: {load: ['input/tex', 'output/svg']}\n});\nconst svg = await MathJax.tex2svgPromise('\\\\frac{1}{x^2-1}', {display: true});\nconsole.log(MathJax.startup.adaptor.serializeXML(svg));\n```\n\n\nAlternatively, in an ES5 node application, you can use\n\n```js\nconst MathJax = require('mathjax');\nMathJax.init({ ... }).then(() => { ... });\n```\n    \nwhere the first `{ ... }` is a MathJax configuration, and the second\n`{ ... }` is the code to run after MathJax has been loaded.  E.g.\n\n```js\nconst MathJax = require('mathjax');\nMathJax.init({\n  loader: {load: ['input/tex', 'output/svg']}\n}).then(() => {\n  const svg = MathJax.tex2svg('\\\\frac{1}{x^2-1}', {display: true});\n  console.log(MathJax.startup.adaptor.serializeXML(svg));\n}).catch((err) => console.log(err.message));\n```\n\n**Note:** the technique in the two examples above is for node-based\napplication only, not for browser applications.  This method sets up\nan alternative DOM implementation, which you don't need in the\nbrowser, and it depends on node and the local file system in other\nways.  This setup will not work properly in the browser, even if you\nwebpack it or use some other bundler.\n\nSee the\n[documentation](https://docs.mathjax.org/en/latest/index.html#server-nodejs)\nand the [MathJax Node\nRepository](https://github.com/mathjax/MathJax-demos-node) for more details.\n\n\n### Using MathJax modules directly in node applications\n\nYou can use the MathJax JavaScript files (as opposed to MathJax\ncomponents) directly in node applications.  This gives you the\ngreatest flexibility, but requires more coding.  To use this approach,\ninstall the `@mathjax/src` package:\n\n    npm install @mathjax/src\n\nThis will provide the following directories:\n\n    node_modules/\n      @mathjax/src/\n        ts/                  the MathJax source TypeScript files\n        js/                  the compiled JavaScript files\n        components/          the component build tools and control files\n        bundle/              the packages component files\n\nYou can use the components and JavaScript files directly in your node\napplications (see the [MathJax node\ndemos](https://github.com/mathjax/MathJax-demos-node) for examples).\n\nIf you want to work from the GitHub repository directly, then do the\nfollowing:\n\n``` bash\ngit clone https://github.com/mathjax/MathJax-src.git mathjax-src\ncd mathjax-src\nnpm run --silent build-all\n```\n\nin order to compile the JavaScript files from the TypeScript source,\nand build the component files from the JavaScript files.  Windows\nusers will need to use the command\n\n``` bash\nnpm config set script-shell \"C:\\\\Program Files\\\\Git\\\\bin\\\\bash.exe\"\n```\n\nfirst in order to tell `pnpm` to use the `bash` shell for scripts that\nit runs, as that is required by the build scripts that MathJax defines\nin the `package.json` file.  You may also need to use\n\n``` bash\nSet-ExecutionPolicy Unrestricted\n```\n\nto allow the scripts to run, if you receive errors about not being\nable to run the scripts.\n\nThe build process requires MathJax to set up a symbolic link, and in\nWindows, that requires permission, so you may receive an error message\nto that effect.  If so, you may need to run\n\n``` bash\npnpm link:src\n```\n\nfrom a shell with administrator privileges.  Once that is done, you\ncan run the build process from a non-administrator shell.\n\n\n## Code Contributions\n\nIf you are interested in contributing code to MathJax, please see the\n[documentation for contributors](CONTRIBUTING.md) for details on how\nto do this, and for the policies for making pull requests.  In\nparticular, please be careful that you are working from the proper\nbranch in the git repository, or you may be asked to rebase your\nchanges when you make a pull request.\n\n## MathJax Community\n\nThe main MathJax website is <http://www.mathjax.org>, and it includes\nannouncements and other important information.  A [MathJax user\nforum](http://groups.google.com/group/mathjax-users) for asking\nquestions and getting assistance is hosted at Google, and the [MathJax\nbug tracker](https://github.com/mathjax/MathJax/issues) is hosted\nat GitHub.\n\nBefore reporting a bug, please check that it has not already been\nreported.  Also, please use the bug tracker (rather than the help\nforum) for reporting bugs, and use the user's forum (rather than the\nbug tracker) for questions about how to use MathJax.\n\n## MathJax Resources\n\n* [MathJax Documentation](https://docs.mathjax.org)\n* [MathJax Components](https://github.com/mathjax/MathJax)\n* [MathJax Source Code](https://github.com/mathjax/MathJax-src)\n* [MathJax Web Examples](https://github.com/mathjax/MathJax-demos-web)\n* [MathJax Node Examples](https://github.com/mathjax/MathJax-demos-node)\n* [MathJax Bug Tracker](https://github.com/mathjax/MathJax/issues)\n* [MathJax Users' Group](http://groups.google.com/group/mathjax-users)\n\n","readmeFilename":"README.md"}