{"_id":"@abuenameh/compute-engine","_rev":"2-01b765b404972de8c8a19fc494d1478b","name":"@abuenameh/compute-engine","dist-tags":{"latest":"0.22.2"},"versions":{"0.22.0":{"version":"0.22.0","scripts":{"build":"bash ./scripts/build.sh","clean":"bash ./scripts/clean.sh","coverage":"bash ./scripts/test.sh coverage","dist":"bash ./scripts/build.sh production; bash ./scripts/test.sh","lint":"eslint --fix src/","prepare":"bash ./scripts/build.sh production","start":"bash ./scripts/start.sh","snapshot":"bash ./scripts/test.sh snapshot","version":"bash ./scripts/version.sh","test":"bash ./scripts/test.sh"},"name":"@abuenameh/compute-engine","description":"Symbolic computing and numeric evaluations for JavaScript and Node.js","homepage":"https://cortexjs.io/compute-engine/","repository":{"type":"git","url":"git+https://github.com/cortex-js/compute-engine.git"},"bugs":{"url":"https://github.com/cortex-js/compute-engine/issues/"},"publishConfig":{"access":"public"},"keywords":["math","JSON","mathjs","mathematica","maple","algebra","symbolic computing","scientific computing","sympy"],"license":"MIT","type":"module","exports":{".":{"types":"./dist/types/compute-engine.d.ts","require":"./dist/compute-engine.min.js","import":"./dist/compute-engine.min.esm.js","default":"./dist/compute-engine.min.js"}},"main":"./dist/compute-engine.min.js","module":"./dist/compute-engine.min.esm.js","types":"./dist/types/compute-engine.d.ts","engines":{"npm":">=8.5.0","node":">=16.14.2"},"devDependencies":{"@cortex-js/prettier-config":"^1.2.0","@jest/console":"^29.7.0","@types/jest":"^29.5.5","@types/node":"^20.6.3","@typescript-eslint/eslint-plugin":"^6.7.2","@typescript-eslint/parser":"^6.7.2","@typescript-eslint/typescript-estree":"^6.7.2","chalk":"^5.3.0","check-node-version":"^4.2.1","esbuild":"^0.19.3","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-import":"^2.28.1","eslint-plugin-no-unsanitized":"^4.0.2","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-silent-reporter":"^0.5.0","open":"^9.1.0","prettier":"^3.0.3","serve-http":"^1.0.7","ts-jest":"^29.1.1","ts-node":"^10.9.1","typescript":"^5.2.2","update-notifier":"^6.0.2","prettier-2":"npm:prettier@^2"},"prettier":"@cortex-js/prettier-config","dependencies":{"complex.js":"^2.1.1","decimal.js":"^10.4.3"},"_id":"@abuenameh/compute-engine@0.22.0","gitHead":"0f533d22f5f7d23d6b48dc12df204c2efdb5e264","_nodeVersion":"21.4.0","_npmVersion":"10.2.5","dist":{"integrity":"sha512-w30YRxpZSUIt1YDhLQbN86xu1I+W9LmjWjDAhdggc4UsFKqt8o+J2sCfMTCi0Gf4hecS8XtBx0pnWeyFRsrRcQ==","shasum":"d5276a804c15f2513a8b8d990bcbf3460ab1d933","tarball":"https://registry.npmjs.org/@abuenameh/compute-engine/-/compute-engine-0.22.0.tgz","fileCount":108,"unpackedSize":2972598,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNUOqzLP/MzKy8AMZLq7DBEDR3r54MH7EL+BN8Mrp8lwIgXXTxRixk9tSAj8l2tkinVNqBgNlQig/Oh2nQ4H29RMA="}]},"_npmUser":{"name":"abuenameh","email":"abuenameh@gmail.com"},"directories":{},"maintainers":[{"name":"abuenameh","email":"abuenameh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compute-engine_0.22.0_1703352953636_0.9964735572503478"},"_hasShrinkwrap":false},"0.22.1":{"version":"0.22.1","scripts":{"build":"bash ./scripts/build.sh","clean":"bash ./scripts/clean.sh","coverage":"bash ./scripts/test.sh coverage","dist":"bash ./scripts/build.sh production; bash ./scripts/test.sh","lint":"eslint --fix src/","prepare":"bash ./scripts/build.sh production","start":"bash ./scripts/start.sh","snapshot":"bash ./scripts/test.sh snapshot","version":"bash ./scripts/version.sh","test":"bash ./scripts/test.sh"},"name":"@abuenameh/compute-engine","description":"Symbolic computing and numeric evaluations for JavaScript and Node.js","homepage":"https://cortexjs.io/compute-engine/","repository":{"type":"git","url":"git+https://github.com/cortex-js/compute-engine.git"},"bugs":{"url":"https://github.com/cortex-js/compute-engine/issues/"},"publishConfig":{"access":"public"},"keywords":["math","JSON","mathjs","mathematica","maple","algebra","symbolic computing","scientific computing","sympy"],"license":"MIT","type":"module","exports":{".":{"types":"./dist/types/compute-engine.d.ts","require":"./dist/compute-engine.min.js","import":"./dist/compute-engine.min.esm.js","default":"./dist/compute-engine.min.js"}},"main":"./dist/compute-engine.min.js","module":"./dist/compute-engine.min.esm.js","types":"./dist/types/compute-engine.d.ts","engines":{"npm":">=8.5.0","node":">=16.14.2"},"devDependencies":{"@cortex-js/prettier-config":"^1.2.0","@jest/console":"^29.7.0","@types/jest":"^29.5.5","@types/node":"^20.6.3","@typescript-eslint/eslint-plugin":"^6.7.2","@typescript-eslint/parser":"^6.7.2","@typescript-eslint/typescript-estree":"^6.7.2","chalk":"^5.3.0","check-node-version":"^4.2.1","esbuild":"^0.19.3","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-import":"^2.28.1","eslint-plugin-no-unsanitized":"^4.0.2","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-silent-reporter":"^0.5.0","open":"^9.1.0","prettier":"^3.0.3","serve-http":"^1.0.7","ts-jest":"^29.1.1","ts-node":"^10.9.1","typescript":"^5.2.2","update-notifier":"^6.0.2","prettier-2":"npm:prettier@^2"},"prettier":"@cortex-js/prettier-config","dependencies":{"complex.js":"^2.1.1","decimal.js":"^10.4.3"},"_id":"@abuenameh/compute-engine@0.22.1","gitHead":"60eccacb45ad3da3ccc0b5cb30e0e07696223618","_nodeVersion":"21.4.0","_npmVersion":"10.2.5","dist":{"integrity":"sha512-EmksV1o24Mf5S0op0SGQbss9dIwgL4bDKhAr+rvVR19tMlRoQwsju4aw1IPkOvBKmzqXYOlQMrMEUdMl9oVT/w==","shasum":"7edc85525babbca2f5fdc564983f915853ffc579","tarball":"https://registry.npmjs.org/@abuenameh/compute-engine/-/compute-engine-0.22.1.tgz","fileCount":108,"unpackedSize":2973046,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFjBEwmvV84U3Y7gOxRyy7DQ0mWIc7Cqnx96rJjcY9xiAiEAp9NbcXTpOPdrCkZxJh0KQsNkaHdKBnKLjGzcMriu1go="}]},"_npmUser":{"name":"abuenameh","email":"abuenameh@gmail.com"},"directories":{},"maintainers":[{"name":"abuenameh","email":"abuenameh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compute-engine_0.22.1_1703354371990_0.008483452867425578"},"_hasShrinkwrap":false},"0.22.2":{"version":"0.22.2","scripts":{"build":"bash ./scripts/build.sh","clean":"bash ./scripts/clean.sh","coverage":"bash ./scripts/test.sh coverage","dist":"bash ./scripts/build.sh production; bash ./scripts/test.sh","lint":"eslint --fix src/","prepare":"bash ./scripts/build.sh production","start":"bash ./scripts/start.sh","snapshot":"bash ./scripts/test.sh snapshot","version":"bash ./scripts/version.sh","test":"bash ./scripts/test.sh"},"name":"@abuenameh/compute-engine","description":"Symbolic computing and numeric evaluations for JavaScript and Node.js","homepage":"https://cortexjs.io/compute-engine/","repository":{"type":"git","url":"git+https://github.com/Abuenameh/compute-engine.git"},"bugs":{"url":"https://github.com/Abuenameh/compute-engine/issues/"},"publishConfig":{"access":"public"},"keywords":["math","JSON","mathjs","mathematica","maple","algebra","symbolic computing","scientific computing","sympy"],"license":"MIT","type":"module","exports":{".":{"types":"./dist/types/compute-engine.d.ts","require":"./dist/compute-engine.min.js","import":"./dist/compute-engine.min.esm.js","default":"./dist/compute-engine.min.js"}},"main":"./dist/compute-engine.min.js","module":"./dist/compute-engine.min.esm.js","types":"./dist/types/compute-engine.d.ts","engines":{"npm":">=8.5.0","node":">=16.14.2"},"devDependencies":{"@cortex-js/prettier-config":"^1.2.0","@jest/console":"^29.7.0","@types/jest":"^29.5.5","@types/node":"^20.6.3","@typescript-eslint/eslint-plugin":"^6.7.2","@typescript-eslint/parser":"^6.7.2","@typescript-eslint/typescript-estree":"^6.7.2","chalk":"^5.3.0","check-node-version":"^4.2.1","esbuild":"^0.19.3","eslint":"^8.50.0","eslint-config-prettier":"^9.0.0","eslint-plugin-import":"^2.28.1","eslint-plugin-no-unsanitized":"^4.0.2","eslint-plugin-prettier":"^5.0.0","jest":"^29.7.0","jest-silent-reporter":"^0.5.0","open":"^9.1.0","prettier":"^3.0.3","serve-http":"^1.0.7","ts-jest":"^29.1.1","ts-node":"^10.9.1","typescript":"^5.2.2","update-notifier":"^6.0.2","prettier-2":"npm:prettier@^2"},"prettier":"@cortex-js/prettier-config","dependencies":{"complex.js":"^2.1.1","decimal.js":"^10.4.3"},"_id":"@abuenameh/compute-engine@0.22.2","gitHead":"02b7371c1e8238fe31fda9ede94a38d1f56137cc","_nodeVersion":"21.4.0","_npmVersion":"10.2.5","dist":{"integrity":"sha512-CZAao3j+4OwWGHm8BRBUxXKN+cEHlJmXZEDav6MjfkWA9iukL5kQPR6ZY8DcrfuTTYN7oTuxK5U03wKMG/YaZA==","shasum":"95093cd18cbb6baa65c4517227712570d54e1dd2","tarball":"https://registry.npmjs.org/@abuenameh/compute-engine/-/compute-engine-0.22.2.tgz","fileCount":108,"unpackedSize":2973046,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDYOM+dZlu5XUYcbdv/IVgLnUWT6bFctSCm0WYAvVDUcAiA28F7YsaPv9yj7BYP3Yewx0XyFjIbttk0ItIcbNnXvLw=="}]},"_npmUser":{"name":"abuenameh","email":"abuenameh@gmail.com"},"directories":{},"maintainers":[{"name":"abuenameh","email":"abuenameh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compute-engine_0.22.2_1704142944852_0.25352766699855644"},"_hasShrinkwrap":false}},"time":{"created":"2023-12-23T17:35:53.533Z","0.22.0":"2023-12-23T17:35:53.867Z","modified":"2024-01-01T21:02:25.275Z","0.22.1":"2023-12-23T17:59:32.418Z","0.22.2":"2024-01-01T21:02:25.101Z"},"maintainers":[{"name":"abuenameh","email":"abuenameh@gmail.com"}],"description":"Symbolic computing and numeric evaluations for JavaScript and Node.js","homepage":"https://cortexjs.io/compute-engine/","keywords":["math","JSON","mathjs","mathematica","maple","algebra","symbolic computing","scientific computing","sympy"],"repository":{"type":"git","url":"git+https://github.com/Abuenameh/compute-engine.git"},"bugs":{"url":"https://github.com/Abuenameh/compute-engine/issues/"},"license":"MIT","readme":"<div align=\"center\">\n    <img alt=\"math live\" src=\"assets/compute-engine.jpg?raw=true\">\n</div>\n\n<h3><strong>Cortex Compute Engine</strong></h3>\n<h1>Symbolic manipulation and numeric evaluation of MathJSON expressions</h1>\n\n[MathJSON](https://cortexjs.io/math-json/) is a lightweight mathematical\nnotation interchange format based on JSON.\n\nThe Cortex Compute Engine can parse LaTeX to MathJSON, serialize MathJSON to\nLaTeX, format, simplify and evaluate MathJSON expressions.\n\nReference documentation and guides at\n[cortexjs.io/compute-engine](https://cortexjs.io/compute-engine/).\n\n[![](https://dcbadge.vercel.app/api/server/yhmvVeJ4Hd)](https://discord.gg/yhmvVeJ4Hd)\n\n## Using Compute Engine\n\n```bash\n$ npm install --save @cortex-js/compute-engine\n```\n\n```js\nimport { parse, evaluate } from \"@cortex-js/compute-engine\";\n\nconst expr = parse(\"2^{11}-1 \\\\in \\\\P\");\n\nconsole.log(expr);\n// ➔ [\"Element\", [\"Subtract\", [\"Power\", 2, 11] , 1], \"PrimeNumber\"]\n\nconsole.log(evaluate(expr));\n// ➔ \"False\"\n```\n\n## More\n\n- [Build](BUILD.md) instructions\n\n## Related Projects\n\n<dl>\n  <dt><a href=\"https://cortexjs.io/math-json/\">MathJSON</a></dt>\n  <dd>A lightweight mathematical notation interchange format</dd>  \n  <dt><a href=\"https://cortexjs.io/mathlive\">MathLive</a> (on <a href=\"https://github.com/arnog/mathlive\">GitHub</a>)</dt>\n  <dd>A Web Component for math input.</dd>  \n  <dt><a href=\"https://cortexjs.io/cortex\">Cortex</a> (on <a href=\"https://github.com/cortex-js/compute-engine/tree/master/src/cortex\">GitHub</a>)</dt>\n  <dd>A programming language for scientific computing</dd>  \n</dl>\n\n## Support the Project\n\n- <span style='font-size:1.5em'>🌟</span> Star the GitHub repo (it really helps)\n- <span style='font-size:1.5em'>💬</span> Ask questions and give feedback on our\n  [Discussion Forum](https://cortexjs.io/forum/)\n- <span style='font-size:1.5em'>📨</span> Drop a line to arno@arno.org\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.txt).\n","readmeFilename":"README.md"}