{"name":"mathjs","version":"4.0.0-rc.2","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@4.0.0-rc.2","maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"contributors":[{"url":"https://github.com/adamisntdead","name":"Adam Kelly"},{"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/brettjurgens","name":"Brett Jurgens"},{"url":"https://github.com/bcuccioli","name":"Bryan Cuccioli"},{"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/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/HarrySarson","name":"Harry Sarson"},{"url":"https://github.com/golmansax","name":"Holman Gao"},{"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/husayt","name":"Huseyn Guliyev"},{"url":"IvanVergiliev","name":"Ivan Vergiliev"},{"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/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/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/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":"http://mathjs.org","bugs":{"url":"https://github.com/josdejong/mathjs/issues"},"bin":{"mathjs":"./bin/cli.js"},"dist":{"shasum":"b1259ed35f02035c84a246c2ac6100e9ad7c6668","tarball":"http://registry-npm.ywwl.com/mathjs/download/mathjs-4.0.0-rc.2.tgz","fileCount":1093,"integrity":"sha512-pE074NIsvGQ84lVvQg0KChO7vdfEnTsIJ2IRDXrLF1GB+EiY5oUo3dPTmzeujYpyDIn2z/hvZJgUcY2U8U9XGQ==","signatures":[{"sig":"MEUCIGWvro2JrvATuU4iNMmJKWt/8ka+Z7LWNxq5R4YXnLocAiEAlGjKEzUGgc6caQuai/HmpJVporh4bJ0FPc0PhIgRPss=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6434204,"size":1315745,"noattachment":false,"key":"/mathjs/-/mathjs-4.0.0-rc.2.tgz"},"main":"./index","readme":"![math.js](https://raw.github.com/josdejong/mathjs/master/img/mathjs.png)\n\n[http://mathjs.org](http://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![Maintenance](https://img.shields.io/maintenance/yes/2018.svg)\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\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\nOr download mathjs via one of the CDN's listed on the downloads page: \n\n&nbsp;&nbsp;&nbsp;&nbsp;[http://mathjs.org/download.html](http://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](http://mathjs.org/docs/expressions/index.html)\nand supports\n[chained operations](http://mathjs.org/docs/core/chaining.html).\n\n```js\n// load math.js\nvar math = require('mathjs');\n\n// functions and constants\nmath.round(math.e, 3);            // 2.718\nmath.atan2(3, -3) / math.pi;      // 0.75\nmath.log(10000, 10);              // 4\nmath.sqrt(-4);                    // 2i\nmath.pow([[-1, 2], [3, 1]], 2);   // [[7, 0], [0, 7]]\nmath.derivative('x^2 + x', 'x');  // 2 * x + 1\n\n// expressions\nmath.eval('12 / (2.3 + 0.7)');    // 4\nmath.eval('12.7 cm to inch');     // 5 inch\nmath.eval('sin(45 deg) ^ 2');     // 0.5\nmath.eval('9 / 3 + 2i');          // 3 + 2i\nmath.eval('det([-1, 2; 3, 1])');  // -7\n\n// chaining\nmath.chain(3)\n    .add(4)\n    .multiply(2)\n    .done(); // 14\n```\n\nSee the [Getting Started](http://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 0.10, and Internet Explorer 9 and newer, and all other browsers (Chrome, Firefox, Safari). If support for old browsers like Internet Explorer 8 is required, the [es5-shim](https://github.com/kriskowal/es5-shim) library has to be loaded.\n\n\n## Documentation\n\n- [Getting Started](http://mathjs.org/docs/getting_started.html)\n- [Examples](http://mathjs.org/examples/index.html)\n- [Overview](http://mathjs.org/docs/index.html)\n- [History](http://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\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\nAutomated cross browser testing for mathjs is generously provided by <a href=\"https://www.browserstack.com\" target=\"_blank\">BrowserStack</a>\n\n<a href=\"https://www.browserstack.com\" target=\"_blank\"><img alt=\"BrowserStack\" src=\"https://raw.github.com/josdejong/mathjs/master/misc/browserstack.png\"></a>\n\n\n## License\n\nCopyright (C) 2013-2018 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   http://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":">= 0.1"},"gitHead":"6613f1c844b9198d4480d66daae0857e7898545e","scripts":{"docs":"gulp docs","test":"mocha test --recursive","build":"gulp","watch":"gulp watch","coverage":"istanbul cover _mocha -- test --recursive; echo \"\nCoverage report is available at ./coverage/lcov-report/index.html\"","prepublishOnly":"npm test && npm run docs && npm run build"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"repository":{"url":"git+https://github.com/josdejong/mathjs.git","type":"git"},"_npmVersion":"5.6.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","test":"./test","example":"./examples"},"_nodeVersion":"9.5.0","dependencies":{"complex.js":"2.0.4","decimal.js":"9.0.1","fraction.js":"4.0.4","seed-random":"2.2.0","escape-latex":"1.0.0","tiny-emitter":"2.0.2","typed-function":"1.0.1","javascript-natural-sort":"0.7.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"q":"1.5.1","tar":"4.4.0","glob":"7.1.2","gulp":"3.9.1","jsep":"0.3.3","mocha":"5.0.1","zeros":"1.0.0","mkdirp":"0.5.1","ndarray":"1.0.18","webpack":"3.11.0","istanbul":"0.4.5","benchmark":"2.1.4","expr-eval":"1.2.1","gulp-util":"3.0.8","numericjs":"1.2.6","pad-right":"0.2.2","sylvester":"0.0.21","uglify-js":"3.3.11","underscore":"1.8.3","ndarray-ops":"1.2.2","ndarray-gemm":"1.0.0","ndarray-pack":"1.2.1","ndarray-determinant":"1.0.0","math-expression-evaluator":"1.2.17"},"_npmOperationalInternal":{"tmp":"tmp/mathjs_4.0.0-rc.2_1519209697650_0.5635733430780536","host":"s3://npm-registry-packages"},"publish_time":1519209697845,"_cnpm_publish_time":1519209697845,"dist-tags":{"beta":"8.0.0-beta.1","latest":"15.2.0"}}