{"name":"mathjs","version":"6.0.0-beta.0","keywords":["math","mathematics","functions","numeric","algebra","parser","expression","number","bignumber","complex","fraction","matrix","unit"],"author":{"url":"https://github.com/josdejong","name":"Jos de Jong","email":"wjosdejong@gmail.com"},"license":"Apache-2.0","_id":"mathjs@6.0.0-beta.0","maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"contributors":[{"url":"https://github.com/adamisntdead","name":"Adam Kelly"},{"url":"https://github.com/AlbertEmil","name":"Albert Emil"},{"url":"https://github.com/AlexanderBeyn","name":"Alexander Beyn"},{"url":"https://github.com/andy0130tw","name":"Andy Pan"},{"url":"https://github.com/bkiers","name":"Bart Kiers"},{"url":"https://github.com/weinshel","name":"Ben Weinshel"},{"url":"https://github.com/bnlcas","name":"Benjamin Lucas"},{"url":"https://github.com/brettjurgens","name":"Brett Jurgens"},{"url":"https://github.com/bcuccioli","name":"Bryan Cuccioli"},{"url":"https://github.com/ChristopherChudzicki","name":"Chris Chudzicki"},{"url":"https://github.com/SzechuanSage","name":"Chris Hadgis"},{"url":"https://github.com/dakotablair","name":"Dakota Blair"},{"url":"https://github.com/stropitek","name":"Daniel Kostro"},{"url":"https://github.com/daniel-levin","name":"Daniel Levin"},{"url":"https://github.com/SwamWithTurtles","name":"David Simons"},{"url":"https://github.com/denisx","name":"denisx"},{"url":"https://github.com/dkenul","name":"dkenul"},{"url":"https://github.com/devanp92","name":"Devan Patel"},{"url":"https://github.com/devdevdata222","name":"devdevdata222"},{"url":"https://github.com/litmit","name":"Dzmitry Litskalau"},{"url":"https://github.com/eknkc","name":"Ekin Koc"},{"url":"https://github.com/tmpvar","name":"Elijah Insua"},{"url":"https://github.com/ericman314","name":"Eric Mansfield"},{"url":"https://github.com/fabricecolas","name":"Fabrice Colas"},{"url":"https://github.com/BigFav","name":"Favian Contreras"},{"url":"https://github.com/finnp","name":"Finn Pauls"},{"url":"https://github.com/gangachris","name":"Ganga Christopher"},{"url":"https://github.com/gap777","name":"Gary Passero"},{"url":"https://github.com/GHolk","name":"Gold Holk"},{"url":"https://github.com/HarrySarson","name":"Harry Sarson"},{"url":"https://github.com/golmansax","name":"Holman Gao"},{"url":"https://github.com/honeybar","name":"Honybar"},{"url":"https://github.com/guillermobox","name":"Guillermo Indalecio Fernández"},{"url":"https://github.com/gulfaraz","name":"Gulfaraz"},{"url":"https://github.com/hamadu","name":"hamadu"},{"url":"https://github.com/hgupta9","name":"Harsh Gupta"},{"url":"https://github.com/ferrolho","name":"Henrique Ferrolho"},{"url":"https://github.com/husayt","name":"Huseyn Guliyev"},{"url":"IvanVergiliev","name":"Ivan Vergiliev"},{"url":"https://github.com/jean-emmanuel","name":"jean-emmanuel"},{"url":"https://github.com/jackschmidt","name":"Jack Schmidt"},{"url":"https://github.com/hanguokai","name":"Jackie Han"},{"url":"https://github.com/JasonShin","name":"Jason Shin"},{"url":"https://github.com/garrison","name":"Jim Garrison"},{"url":"https://github.com/joelhoover","name":"Joel Hoover"},{"url":"https://github.com/firepick1","name":"Karl Lew"},{"url":"https://github.com/KenanY","name":"Kenan Yildirim"},{"url":"https://github.com/void42","name":"Keunhong Park"},{"url":"https://github.com/kv-kunalvyas","name":"Kunal Vyas"},{"url":"https://github.com/marcusandre","name":"Marcus Andre"},{"url":"https://github.com/MathBunny","name":"Horatiu Lazu"},{"url":"https://github.com/woylie","name":"Mathias Polligkeit"},{"url":"https://github.com/mathiasvr","name":"Mathias Rasmussen"},{"url":"https://github.com/FSMaxB","name":"Max Bruckner"},{"url":"https://github.com/maxired","name":"Maxence Dalmais"},{"url":"https://github.com/Schnark","name":"Michael M."},{"url":"https://github.com/kelonye","name":"Mitchel Kelonye"},{"url":"https://github.com/mtraynham","name":"mtraynham"},{"url":"https://github.com/nheisterkamp","name":"Niels Heisterkamp"},{"url":"https://github.com/ovk","name":"Oleg"},{"url":"https://github.com/owenversteeg","name":"Owen Versteeg"},{"url":"https://github.com/pavpanchekha","name":"Pavel Panchekha"},{"url":"https://github.com/patgrasso","name":"Pat Grasso"},{"url":"https://github.com/paulobuchsbaum","name":"Paulo Buchsbaum"},{"url":"https://github.com/pcorey","name":"Pete Corey"},{"url":"https://github.com/pjhampton ","name":"PJ Hampton"},{"url":"https://github.com/Retsam","name":"Retsam"},{"url":"https://github.com/rianmcguire","name":"Rian McGuire"},{"url":"https://github.com/infusion","name":"Robert Eisele"},{"url":"https://github.com/rjbaucells","name":"Rogelio J. Baucells"},{"url":"https://github.com/ryanseys","name":"Ryan Seys"},{"url":"https://github.com/ssaket","name":"Saket Saurabh"},{"url":"https://github.com/Sathish-kumar-Subramani ","name":"Sathish Kumar Subramani"},{"url":"https://github.com/sebpiq","name":"Sebastien Piquemal"},{"url":"https://github.com/ruhleder","name":"Sebastian Ruhleder"},{"url":"https://github.com/saromanov","name":"Sergey Romanov"},{"url":"https://github.com/slavaGanzin","name":"Slava Ganzin"},{"url":"https://github.com/stu-blair","name":"Stu Blair"},{"url":"https://github.com/ThomasBrierley","name":"Thomas Brierley"},{"url":"https://github.com/tetslee","name":"Timothy Lee"},{"url":"https://github.com/Nekomajin42","name":"Tóth Róbert"},{"url":"https://github.com/morsecodist","name":"Todd Morse"},{"url":"https://github.com/waldyrious","name":"Waldir Pimenta"},{"url":"https://github.com/palimpsests","name":"Zach Zibrat"}],"homepage":"https://mathjs.org","bugs":{"url":"https://github.com/josdejong/mathjs/issues"},"bin":{"mathjs":"./bin/cli.js"},"dist":{"shasum":"1b64a886317244405e7842d1fe66ec114800f0f2","tarball":"http://registry-npm.ywwl.com/mathjs/download/mathjs-6.0.0-beta.0.tgz","fileCount":2516,"integrity":"sha512-7LaMM3ciM76XYNrG79wFvbujVUfQm541IBuJLkJN1wtfXoKqG4WrfGwVfR8HkI301ORAWU66MdCUSS5Px42IIQ==","signatures":[{"sig":"MEUCIQD7yu7Yu4UeJOK0zJ77gCFpVNg7DGm+DvAM0wDubpSMiQIgfS90yhIrp9Q2oRXMWaAAmRRmrRv33vOEMRHbY0M2IOQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8219372,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyKRACRA9TVsSAnZWagAAoLQP/RI1vkoyIfUpNsTNBJHB\nkwpN53vr9SV1LP3bcNwItr2GYCAV8eTXsGs4Us9/z7eHBvZxvok4xuD0QH/S\nhqzthsFBDDc8JCGKkPt8VV8XbGy/DKRbqR0K3xTWlFkVdAEBQ2ad04cUVZoy\nu08sxDWJcRCcKxQFMTCazFIcLYIx+RAib97PdoE8ExIW8ehb4HS2iPz64Uwk\nKKJiJwA756ORaUtqq7bb4PEh+/y6sg78sI9dIlBrCvxdudKJZ8Huz0r9U+CU\nlE7M04hvCNnCbO26vLPqlF40UJo877gKT688IB938PgsfttWOMnWDxH1RoAI\n4dDUsdwxsdJGFSBHJsLzR9SLUVIe/X1o4BDgARdjV9Io//Zjvl8dAfVK/gpC\nOu4nG8xHs2t+83H3f2yEcxUtAiD+i4pE12vIn56vTFJPxWG3Yb0vWyVMZg/L\nleF6XHgE8cjNFc0sWMli3BQP061F+CoEIv165c9F27Ara88wPCfAmQ7l9LSy\nlnOZvNn/tURPuUkCJXlr9JkQtV7VehEmBx6kmssfyLfC4LrRVoKscjVSqwpW\ncWtBtNOXgxegoQoeMFTRCio0lFCgE8j1DUNYylAHJfdHpq7wLtLA58BNHDm+\nLSW2ESYKVamYLNAbLDacCms516FX9di3jbQJp8icEHuMM40Ppsrsz7QVO4DV\nPcBx\r\n=18cA\r\n-----END PGP SIGNATURE-----\r\n","size":1639530,"noattachment":false,"key":"/mathjs/-/mathjs-6.0.0-beta.0.tgz"},"main":"./es5","module":"./es6","readme":"![math.js](https://raw.github.com/josdejong/mathjs/master/img/mathjs.png)\n\n[https://mathjs.org](https://mathjs.org)\n\nMath.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with different data types like numbers, big numbers, complex numbers, fractions, units, and matrices. Powerful and easy to use.\n\n[![Version](https://img.shields.io/npm/v/mathjs.svg)](https://www.npmjs.com/package/mathjs)\n[![Downloads](https://img.shields.io/npm/dm/mathjs.svg)](https://www.npmjs.com/package/mathjs)\n[![Build Status](https://img.shields.io/travis/josdejong/mathjs.svg)](https://travis-ci.org/josdejong/mathjs)\n[![Greenkeeper badge](https://badges.greenkeeper.io/josdejong/mathjs.svg)](https://greenkeeper.io/)\n[![Maintenance](https://img.shields.io/maintenance/yes/2019.svg)](https://github.com/josdejong/mathjs/graphs/commit-activity)\n[![License](https://img.shields.io/github/license/josdejong/mathjs.svg)](https://github.com/josdejong/mathjs/blob/master/LICENSE)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjosdejong%2Fmathjs.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjosdejong%2Fmathjs?ref=badge_shield)\n[![Slack](https://slack.bri.im/badge.svg)](https://slack.bri.im)\n\n## Features\n\n- Supports numbers, big numbers, complex numbers, fractions, units, strings, arrays, and matrices.\n- Is compatible with JavaScript's built-in Math library.\n- Contains a flexible expression parser.\n- Does symbolic computation.\n- Comes with a large set of built-in functions and constants.\n- Can be used as a command line application as well.\n- Runs on any JavaScript engine.\n- Is easily extensible.\n- Open source.\n\n## Usage\n\nMath.js can be used in both node.js and in the browser.\n\nInstall math.js using [npm](https://www.npmjs.com/package/mathjs):\n\n    npm install mathjs\n\n> Note that when using mathjs in a TypeScript project, you will have to install type definition files too: `npm install @types/mathjs`.\n\nOr download mathjs via one of the CDN's listed on the downloads page:\n\n&nbsp;&nbsp;&nbsp;&nbsp;[https://mathjs.org/download.html](https://mathjs.org/download.html#download)\n\nMath.js can be used similar to JavaScript's built-in Math library. Besides that,\nmath.js can evaluate\n[expressions](https://mathjs.org/docs/expressions/index.html)\nand supports\n[chained operations](https://mathjs.org/docs/core/chaining.html).\n\n```js\nimport { atan2, chain, derivative, e, evaluate, log, pi, pow, round, sqrt } from 'mathjs'\n\n// functions and constants\nround(e, 3)                    // 2.718\natan2(3, -3) / pi              // 0.75\nlog(10000, 10)                 // 4\nsqrt(-4)                       // 2i\npow([[-1, 2], [3, 1]], 2)      // [[7, 0], [0, 7]]\nderivative('x^2 + x', 'x')     // 2 * x + 1\n\n// expressions\nevaluate('12 / (2.3 + 0.7)')   // 4\nevaluate('12.7 cm to inch')    // 5 inch\nevaluate('sin(45 deg) ^ 2')    // 0.5\nevaluate('9 / 3 + 2i')         // 3 + 2i\nevaluate('det([-1, 2; 3, 1])') // -7\n\n// chaining\nchain(3)\n    .add(4)\n    .multiply(2)\n    .done()  // 14\n```\n\nSee the [Getting Started](https://mathjs.org/docs/getting_started.html) for a more detailed tutorial.\n\n\n## Browser support\n\nMath.js works on any ES5 compatible JavaScript engine: node.js, Chrome, Firefox, Safari, Edge, and IE11.\n\nThough there is no official support for older browsers, math.js should still work on older browsers\nwhen using the [es5-shim](https://github.com/kriskowal/es5-shim).\n\n\n## Documentation\n\n- [Getting Started](https://mathjs.org/docs/getting_started.html)\n- [Examples](https://mathjs.org/examples/index.html)\n- [Overview](https://mathjs.org/docs/index.html)\n- [History](https://mathjs.org/history.html)\n\n\n## Build\n\nFirst clone the project from github:\n\n    git clone git://github.com/josdejong/mathjs.git\n    cd mathjs\n\nInstall the project dependencies:\n\n    npm install\n\nThen, the project can be build by executing the build script via npm:\n\n    npm run build\n\nThis will build the library math.js and math.min.js from the source files and\nput them in the folder dist.\n\n\n## Test\n\nTo execute tests for the library, install the project dependencies once:\n\n    npm install\n\nThen, the tests can be executed:\n\n    npm test\n\nAdditionally, the tests can be run on FireFox using [headless mode](https://developer.mozilla.org/en-US/Firefox/Headless_mode):\n\n    npm run test:browser\n\nTo run the tests remotely on BrowserStack, first set the environment variables `BROWSER_STACK_USERNAME` and `BROWSER_STACK_ACCESS_KEY` with your username and access key and then execute:\n\n    npm run test:browserstack\n\nTo test code coverage of the tests:\n\n    npm run coverage\n\nTo see the coverage results, open the generated report in your browser:\n\n    ./coverage/lcov-report/index.html\n\n\n### Continuous integration testing\n\nContinuous integration tests are run on [Travis CI](https://travis-ci.org/) and [BrowserStack](https://www.browserstack.com) every time a commit is pushed to github.\nThe test results can be checked on https://travis-ci.org/josdejong/mathjs. Travis CI runs the tests for different versions of node.js, and BrowserStack runs the tests are run on all major browsers.\n\n[![Travis CI](https://raw.github.com/josdejong/mathjs/develop/misc/Travis-CI-logo.png)](https://travis-ci.org/) &nbsp;&nbsp;&nbsp;\n[![BrowserStack](https://raw.github.com/josdejong/mathjs/master/misc/browserstack.png)](https://www.browserstack.com)\n\nThanks Travis CI and BrowserStack for the generous free hosting of this open source project!\n\n## License\n\nCopyright (C) 2013-2019 Jos de Jong <wjosdejong@gmail.com>\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","engines":{"node":">= 6"},"gitHead":"9c660e222a7939096dbe4ed6a491401b9dcca416","scripts":{"lint":"standard --env=mocha --env=worker","test":"npm run test:src && npm run lint","build":"gulp","watch":"gulp watch","coverage":"nyc --reporter=lcov --reporter=text-summary mocha test test-node --recursive --require @babel/register && echo \"\nDetailed coverage report is available at ./coverage/lcov-report/index.html\"","test:src":"mocha test test-node --recursive --require @babel/register","test:dist":"mocha test-dist --recursive","test:browser":"karma start ./browser-test-config/local-karma.js","build-and-test":"npm run build && npm run test:src && npm run test:dist && npm run lint","prepublishOnly":"npm run build-and-test","validate:ascii":"gulp validate:ascii","test:browserstack":"karma start ./browser-test-config/browserstack-karma.js"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"repository":{"url":"git+https://github.com/josdejong/mathjs.git","type":"git"},"_npmVersion":"6.7.0","description":"Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif","directories":{"doc":"./docs","lib":"./lib","src":"./src","test":"./test","example":"./examples"},"sideEffects":false,"_nodeVersion":"11.15.0","dependencies":{"complex.js":"2.0.11","decimal.js":"10.1.1","fraction.js":"4.0.12","seed-random":"2.2.0","escape-latex":"1.2.0","tiny-emitter":"2.1.0","typed-function":"1.1.0","javascript-natural-sort":"0.7.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"14.0.0","tar":"4.4.8","glob":"7.1.3","gulp":"4.0.1","jsep":"0.3.4","karma":"4.1.0","mocha":"6.1.4","zeros":"1.0.0","mkdirp":"0.5.1","codecov":"3.3.0","ndarray":"1.0.18","webpack":"4.30.0","istanbul":"0.4.5","standard":"12.0.1","benchmark":"2.1.4","expr-eval":"1.2.2","gulp-util":"3.0.8","numericjs":"1.2.6","pad-right":"0.2.2","sylvester":"0.0.21","uglify-js":"3.5.6","gulp-babel":"8.0.0","underscore":"1.9.1","@babel/core":"7.4.3","karma-mocha":"1.3.0","ndarray-ops":"1.2.2","webpack-cli":"3.3.1","babel-loader":"8.0.5","ndarray-gemm":"1.0.0","ndarray-pack":"1.2.1","karma-webpack":"3.0.5","@babel/register":"7.4.0","@babel/preset-env":"7.4.3","ndarray-determinant":"1.0.0","karma-mocha-reporter":"2.2.5","karma-firefox-launcher":"1.1.0","math-expression-evaluator":"1.2.17","karma-browserstack-launcher":"1.5.1","@babel/plugin-transform-object-assign":"7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/mathjs_6.0.0-beta.0_1556653119396_0.12331754147824503","host":"s3://npm-registry-packages"},"publish_time":1556653119605,"_cnpm_publish_time":1556653119605,"dist-tags":{"beta":"8.0.0-beta.1","latest":"15.2.0"}}