{"_id":"fraction-math-js","_rev":"28-e247b915875da64fb1fd09d598afc99e","name":"fraction-math-js","description":"[![Build Status](https://travis-ci.org/hjiayz/fraction-math-js.svg?branch=master)](https://travis-ci.org/hjiayz/fraction-math-js)","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"fraction-math-js","version":"0.1.0","description":"bignumber fraction calculator and node module.\r ###need ES6 support!###\r \tnode4.1.1 arguments:\r \t\t--harmony --harmony_array_includes\r ###Install###\r npm install fraction-math-js -g\r ###REPL###\r \t> fcalc\r ######input expression,like:######\r \tfcalc> (1+1)*2","main":"index.js","scripts":{"test":"node --harmony --harmony_array_includes test/test.js","fcalc":"node --harmony --harmony_array_includes bin/fcalc"},"repository":{"type":"git","url":"git+https://github.com/hjiayz/fraction-math-js.git"},"keywords":["fraction","calculator"],"bin":{"fcalc":"./bin/fcalc.js"},"author":{"name":"hjiayz"},"license":"Apache-2.0","bugs":{"url":"https://github.com/hjiayz/fraction-math-js/issues"},"homepage":"https://github.com/hjiayz/fraction-math-js#readme","dependencies":{"bignumber.js":"^2.0.7"},"gitHead":"3a42fe3d7aca44b6d89f2ec105438c927a397ed8","_id":"fraction-math-js@0.1.0","_shasum":"e6c8bbd07a68f73de41306ca97f918bd261b9e79","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"hjiayz","email":"hjiayz@gmail.com"},"dist":{"shasum":"e6c8bbd07a68f73de41306ca97f918bd261b9e79","tarball":"https://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.1.0.tgz","integrity":"sha512-esRU74A7u0qxZU40gpcV7XL5Ly3QXKBFHKfl7SU1YZS+FFJW7WwlMgueEfMgKduw1ouG7m+8DUxVpjGuM+r+rA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICLgrm2wQDijPEmp1BHZEvxUOLDzaK2TevYKuHkf3k+iAiBea9YA/1T9gsAvNntcGpyXrPTmW+2NKk8neTLXPFKLXA=="}]},"maintainers":[{"name":"hjiayz","email":"hjiayz@gmail.com"}]},"0.1.1":{"name":"fraction-math-js","version":"0.1.1","description":"bignumber fraction calculator and node module.","main":"index.js","scripts":{"test":"node --harmony --harmony_array_includes test/test.js","fcalc":"node --harmony --harmony_array_includes bin/fcalc"},"repository":{"type":"git","url":"git+https://github.com/hjiayz/fraction-math-js.git"},"keywords":["fraction","calculator"],"bin":{"fcalc":"./bin/fcalc.js"},"author":{"name":"hjiayz"},"license":"Apache-2.0","bugs":{"url":"https://github.com/hjiayz/fraction-math-js/issues"},"homepage":"https://github.com/hjiayz/fraction-math-js#readme","dependencies":{"bignumber.js":"^2.0.7"},"gitHead":"3a42fe3d7aca44b6d89f2ec105438c927a397ed8","_id":"fraction-math-js@0.1.1","_shasum":"b0d86643c3401f896e8c020f56a208f77cd0110a","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"hjiayz","email":"hjiayz@gmail.com"},"dist":{"shasum":"b0d86643c3401f896e8c020f56a208f77cd0110a","tarball":"https://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.1.1.tgz","integrity":"sha512-Aj4oU3bO/CbaW6VdYVS6zkqHhio0Ap4g9J+iuZoBkSOAT+c0po2VKpanT9J8z82trV+56gkxdqApK0PGx80GuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSQxACjfiQuNw6TPtZvEU07LS+Qiped4BpUl2j410uSgIgL1Guq3/HXKyjpEskuVRkcjzMSr/6B9Z7rX6sHo5/y50="}]},"maintainers":[{"name":"hjiayz","email":"hjiayz@gmail.com"}]},"0.1.2":{"name":"fraction-math-js","version":"0.1.2","description":"bignumber fraction calculator and node module.","main":"index.js","scripts":{"test":"node --harmony --harmony_array_includes test/test.js","fcalc":"node --harmony --harmony_array_includes bin/fcalc"},"repository":{"type":"git","url":"git+https://github.com/hjiayz/fraction-math-js.git"},"keywords":["fraction","calculator"],"bin":{"fcalc":"./bin/fcalc.js"},"author":{"name":"hjiayz"},"license":"Apache-2.0","bugs":{"url":"https://github.com/hjiayz/fraction-math-js/issues"},"homepage":"https://github.com/hjiayz/fraction-math-js#readme","dependencies":{"bignumber.js":"^2.0.7"},"gitHead":"3a42fe3d7aca44b6d89f2ec105438c927a397ed8","_id":"fraction-math-js@0.1.2","_shasum":"0ac645fd18a190ab79925004fd3544ab94d6c9a1","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"hjiayz","email":"hjiayz@gmail.com"},"dist":{"shasum":"0ac645fd18a190ab79925004fd3544ab94d6c9a1","tarball":"https://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.1.2.tgz","integrity":"sha512-Ou3FwiM+lHekRzc/dXNz3VvXRu6aKGv3q4dUxD4B04+n6LGc0nT+15dpJnPY0GW71RgvxPM2MWIECKk3/YizFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6yEQfcrecueJ1JtICSndwZyJsBaq0T6Ua0X50k0+oCwIhANFrfBXHb2SiZ3VIc0C08Tx5zfkYjgYYe86C0cxGaG3o"}]},"maintainers":[{"name":"hjiayz","email":"hjiayz@gmail.com"}]},"0.1.3":{"name":"fraction-math-js","version":"0.1.3","description":"bignumber fraction calculator and node module.","main":"index.js","scripts":{"test":"node --harmony --harmony_array_includes test/test.js","fcalc":"node --harmony --harmony_array_includes bin/fcalc"},"repository":{"type":"git","url":"git+https://github.com/hjiayz/fraction-math-js.git"},"keywords":["fraction","calculator"],"bin":{"fcalc":"./bin/fcalc.js"},"author":{"name":"hjiayz"},"license":"Apache-2.0","bugs":{"url":"https://github.com/hjiayz/fraction-math-js/issues"},"homepage":"https://github.com/hjiayz/fraction-math-js#readme","dependencies":{"bignumber.js":"^2.0.7"},"gitHead":"3a42fe3d7aca44b6d89f2ec105438c927a397ed8","_id":"fraction-math-js@0.1.3","_shasum":"62ba2cedb2285fa9c5072f1b95919ea79149a5d8","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"hjiayz","email":"hjiayz@gmail.com"},"dist":{"shasum":"62ba2cedb2285fa9c5072f1b95919ea79149a5d8","tarball":"https://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.1.3.tgz","integrity":"sha512-hdmXLFctkGMgfHa27Y9xrSmSYY9w6P71eJCrmX1GrCPHUPfKIzzPLfX0LrCdhFpw0nLVkSliVqzl6IspqoIpNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8Fpb/4GkFn9o1CDHibf9e2RBsLLF+pFmHJYhQZzK/nwIhAO9T/QUO8SygPWCKBFtiCd1x66FR6C7hCxBcuHPsUP3k"}]},"maintainers":[{"name":"hjiayz","email":"hjiayz@gmail.com"}]},"0.1.4":{"name":"fraction-math-js","version":"0.1.4","description":"bignumber fraction calculator and node module.","main":"index.js","scripts":{"test":"node --harmony --harmony_array_includes test/test.js","fcalc":"node --harmony --harmony_array_includes bin/fcalc"},"repository":{"type":"git","url":"git+https://github.com/hjiayz/fraction-math-js.git"},"keywords":["fraction","calculator"],"bin":{"fcalc":"./bin/fcalc.js"},"author":{"name":"hjiayz"},"license":"Apache-2.0","bugs":{"url":"https://github.com/hjiayz/fraction-math-js/issues"},"homepage":"https://github.com/hjiayz/fraction-math-js#readme","dependencies":{"bignumber.js":"^2.0.7"},"gitHead":"3a42fe3d7aca44b6d89f2ec105438c927a397ed8","_id":"fraction-math-js@0.1.4","_shasum":"31bf83182f967de68f35242a43331c07880ef91b","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.2","_npmUser":{"name":"hjiayz","email":"hjiayz@gmail.com"},"dist":{"shasum":"31bf83182f967de68f35242a43331c07880ef91b","tarball":"https://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.1.4.tgz","integrity":"sha512-4dkwy9n3mq6Yi3Ka9YmDGjWkYqCJOJNVDJxvfY3XFcpBZ/+oWYAiqUBWnU9VfG11BgqJ8LaIhSW1N1hmGquuxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeXJdWkgKhogn8HK8e6FFHpPZ0zEFsIcIBdTcP2VllMwIhANbXMqbkQlTqdGIgufNlOEwNms76WHAgqnWi/xkU6Yv2"}]},"maintainers":[{"name":"hjiayz","email":"hjiayz@gmail.com"}],"directories":{},"_resolved":"http://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.1.3.tgz"},"0.1.5":{"name":"fraction-math-js","version":"0.1.5","description":"bignumber fraction calculator and node module.","main":"index.js","scripts":{"test":"node --harmony --harmony_array_includes test/test.js","fcalc":"node --harmony --harmony_array_includes bin/fcalc"},"repository":{"type":"git","url":"git+https://github.com/hjiayz/fraction-math-js.git"},"keywords":["fraction","calculator"],"bin":{"fcalc":"./bin/fcalc.js"},"author":{"name":"hjiayz"},"license":"Apache-2.0","bugs":{"url":"https://github.com/hjiayz/fraction-math-js/issues"},"homepage":"https://github.com/hjiayz/fraction-math-js#readme","dependencies":{"bignumber.js":"^2.0.7"},"gitHead":"3a42fe3d7aca44b6d89f2ec105438c927a397ed8","_id":"fraction-math-js@0.1.5","_shasum":"c974a44523a7b11620469a4c6abb79b6c1699786","_from":".","_npmVersion":"2.11.2","_nodeVersion":"4.1.1","_npmUser":{"name":"hjiayz","email":"hjiayz@gmail.com"},"dist":{"shasum":"c974a44523a7b11620469a4c6abb79b6c1699786","tarball":"https://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.1.5.tgz","integrity":"sha512-hAYUSaXb/DlneUWVLm2BNK15dkWV3HqP+m+WvcnTTXalpm3rorPz+NYn4Kc0VOuHUvd6vvRS8paB8lIDLmy8nQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB0FsDkAIyuaKw9RwxTlBSWLwCIYi0Oo9GjCkdSZbtHnAiBzkujovChfwO00YvSurqOmEf/rfmFNVopzBNvEt6RAGw=="}]},"maintainers":[{"name":"hjiayz","email":"hjiayz@gmail.com"}],"directories":{},"_resolved":"http://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.1.3.tgz"},"0.1.6":{"name":"fraction-math-js","version":"0.1.6","description":"bignumber fraction calculator and node module.","main":"index.js","scripts":{"test":"node --harmony --harmony_array_includes test/test.js","fcalc":"node --harmony --harmony_array_includes bin/fcalc"},"repository":{"type":"git","url":"git+https://github.com/hjiayz/fraction-math-js.git"},"keywords":["fraction","calculator"],"bin":{"fcalc":"./bin/fcalc.js"},"author":{"name":"hjiayz"},"license":"Apache-2.0","bugs":{"url":"https://github.com/hjiayz/fraction-math-js/issues"},"homepage":"https://github.com/hjiayz/fraction-math-js#readme","dependencies":{"bignumber.js":"^2.0.7"},"gitHead":"0fcaeca619cb3f3a87782ca442738f256b6d5fec","_id":"fraction-math-js@0.1.6","_shasum":"ffd86774d7aa9ff6f356af8d25d3637e75c85da3","_from":".","_npmVersion":"2.11.2","_nodeVersion":"4.1.1","_npmUser":{"name":"hjiayz","email":"hjiayz@gmail.com"},"dist":{"shasum":"ffd86774d7aa9ff6f356af8d25d3637e75c85da3","tarball":"https://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.1.6.tgz","integrity":"sha512-dqV9FGQP0rCALGVXkkyY5pC0NRnK+5fypzXLVrrRjBYlR1Nka+K3nh0XCNLcm0wXuP/BnKxBmJq+U4da3XbZcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNjB9iPM6phKZ2HOhSUKOz/+37vXPeDGTowTs6i6Sj2gIhAMfAVvMGmD8b1vGjbdedyp1yzl32xCuizxwfsNK2bhsn"}]},"maintainers":[{"name":"hjiayz","email":"hjiayz@gmail.com"}]},"0.1.7":{"name":"fraction-math-js","version":"0.1.7","description":"bignumber fraction calculator and node module.","main":"index.js","scripts":{"test":"node --harmony --harmony_array_includes test/test.js","fcalc":"node --harmony --harmony_array_includes bin/fcalc"},"repository":{"type":"git","url":"git+https://github.com/hjiayz/fraction-math-js.git"},"keywords":["fraction","calculator"],"bin":{"fcalc":"./bin/fcalc.js"},"author":{"name":"hjiayz"},"license":"Apache-2.0","bugs":{"url":"https://github.com/hjiayz/fraction-math-js/issues"},"homepage":"https://github.com/hjiayz/fraction-math-js#readme","dependencies":{"bignumber.js":"^2.0.7"},"gitHead":"91fd9c3e655d5b205bb3ef1b87af960383752e35","_id":"fraction-math-js@0.1.7","_shasum":"6377efc5f6519b70b7006d398d68df1a30d46761","_from":".","_npmVersion":"2.11.2","_nodeVersion":"4.1.1","_npmUser":{"name":"hjiayz","email":"hjiayz@gmail.com"},"dist":{"shasum":"6377efc5f6519b70b7006d398d68df1a30d46761","tarball":"https://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.1.7.tgz","integrity":"sha512-AiBoUgG5WLx/3w81Uvmj6GCgbrzwokrbhCKp/B8orXJ8rYcB+SKmvFF2ji6QnZEJvKHya2p0E35NoeabVlw2cQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEZ+VMDsOZt5JcQTiDF+CcgGRyDeOGEKAam+dPpQ1hotAiEAr9DlR0xf4yM46C2j1HnEvbkzcn9i3PnnXdB7OteayH0="}]},"maintainers":[{"name":"hjiayz","email":"hjiayz@gmail.com"}]},"0.1.8":{"name":"fraction-math-js","version":"0.1.8","description":"bignumber fraction calculator and node module.","main":"index.js","scripts":{"test":"node --harmony --harmony_array_includes test/test.js","fcalc":"node --harmony --harmony_array_includes bin/fcalc"},"repository":{"type":"git","url":"git+https://github.com/hjiayz/fraction-math-js.git"},"keywords":["fraction","calculator"],"bin":{"fcalc":"./bin/fcalc.js"},"author":{"name":"hjiayz"},"license":"Apache-2.0","bugs":{"url":"https://github.com/hjiayz/fraction-math-js/issues"},"homepage":"https://github.com/hjiayz/fraction-math-js#readme","dependencies":{"bignumber.js":"^2.0.7"},"gitHead":"579d5e591769239ca71a36681d029df293944fd3","_id":"fraction-math-js@0.1.8","_shasum":"25aec0086d2ecfa344a6f9c5c382e127030846df","_from":".","_npmVersion":"2.11.2","_nodeVersion":"4.1.1","_npmUser":{"name":"hjiayz","email":"hjiayz@gmail.com"},"dist":{"shasum":"25aec0086d2ecfa344a6f9c5c382e127030846df","tarball":"https://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.1.8.tgz","integrity":"sha512-6D3uv6Ii28GG9hSkIacyDMx49Q85EMoWZVdCUnJwl0N+8LDqoRdeSsi2dg9joAg5/j8JwLvQkGSZMDAEORc7vQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0QPelFzPlRVyc5WAg+bpHTNH67mvjyTDjYUIPRPzfKwIhALcureQbEoTYm/f1CClkeJ1ILRZMAz+xGu2jK+HzUJHp"}]},"maintainers":[{"name":"hjiayz","email":"hjiayz@gmail.com"}]},"0.1.9":{"name":"fraction-math-js","version":"0.1.9","description":"bignumber fraction calculator and node module.","main":"index.js","scripts":{"test":"node --harmony --harmony_array_includes test/test.js","fcalc":"node --harmony --harmony_array_includes bin/fcalc"},"repository":{"type":"git","url":"git+https://github.com/hjiayz/fraction-math-js.git"},"keywords":["fraction","calculator"],"bin":{"fcalc":"./bin/fcalc.js"},"author":{"name":"hjiayz"},"license":"Apache-2.0","bugs":{"url":"https://github.com/hjiayz/fraction-math-js/issues"},"homepage":"https://github.com/hjiayz/fraction-math-js#readme","dependencies":{"bignumber.js":"^2.0.7"},"gitHead":"a9026e02130eadb1f40165d299f40d54d163c5c0","_id":"fraction-math-js@0.1.9","_shasum":"a49c98332a9831327dec31f9760593d36205bf17","_from":".","_npmVersion":"2.11.2","_nodeVersion":"4.1.1","_npmUser":{"name":"hjiayz","email":"hjiayz@gmail.com"},"dist":{"shasum":"a49c98332a9831327dec31f9760593d36205bf17","tarball":"https://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.1.9.tgz","integrity":"sha512-3YbYbfOtAF8/CPVVdzsndKcYMI+IUh/DOMGrlW/0gpwKRZjhqR0gWNtZuiqWIQNWgNJzLCK3r1ZfVTVYVgKO6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRfDBbRqXqVqastF0dkXW8KgnAhOUFIVWYJqbfQV50GgIgejapDzjHfqdMMFYVkSO381AuxvwUvl299d8JITOQwio="}]},"maintainers":[{"name":"hjiayz","email":"hjiayz@gmail.com"}]},"0.1.10":{"name":"fraction-math-js","version":"0.1.10","description":"bignumber fraction calculator and node module.","main":"index.js","scripts":{"test":"node --harmony --harmony_array_includes test/test.js","fcalc":"node --harmony --harmony_array_includes bin/fcalc"},"repository":{"type":"git","url":"git+https://github.com/hjiayz/fraction-math-js.git"},"keywords":["fraction","calculator"],"bin":{"fcalc":"./bin/fcalc.js"},"author":{"name":"hjiayz"},"license":"Apache-2.0","bugs":{"url":"https://github.com/hjiayz/fraction-math-js/issues"},"homepage":"https://github.com/hjiayz/fraction-math-js#readme","dependencies":{"bignumber.js":"^2.0.7"},"gitHead":"a9026e02130eadb1f40165d299f40d54d163c5c0","_id":"fraction-math-js@0.1.10","_shasum":"1cf373a4f5931ba0f04b911df412d3cfd2426871","_from":".","_npmVersion":"2.11.2","_nodeVersion":"4.1.1","_npmUser":{"name":"hjiayz","email":"hjiayz@gmail.com"},"dist":{"shasum":"1cf373a4f5931ba0f04b911df412d3cfd2426871","tarball":"https://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.1.10.tgz","integrity":"sha512-GAe+nAIBjXKLDMSuH+CkZXhsE1eGdLq+jMxWQ0qoUvD+LmclPm7GiTmdjbxJ1w2jAUxZF30QMfjLJCLYtgITrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEpaaTWrLJXDWX4gU74Lgy/WdNNr9GRo2XddtVvDp//+AiAfWRI54BQhA8NeFi3Gx1RSYjRGgCTPCGMuLlxc2eXfyw=="}]},"maintainers":[{"name":"hjiayz","email":"hjiayz@gmail.com"}]},"0.2.0":{"name":"fraction-math-js","version":"0.2.0","description":"bignumber fraction calculator and node module.","main":"index.js","scripts":{"test":"node --harmony --harmony_array_includes test/test.js","fcalc":"node --harmony --harmony_array_includes bin/fcalc","build":"node build.js"},"repository":{"type":"git","url":"git+https://github.com/hjiayz/fraction-math-js.git"},"keywords":["fraction","calculator"],"bin":{"fcalc":"./bin/fcalc.js"},"author":{"name":"hjiayz"},"license":"Apache-2.0","bugs":{"url":"https://github.com/hjiayz/fraction-math-js/issues"},"homepage":"https://github.com/hjiayz/fraction-math-js#readme","dependencies":{"bignumber.js":"^2.0.7"},"devDependencies":{"babel":"^5.8.23","uglify-js":"^2.4.24"},"gitHead":"9d757eb9d4f5d1bbdcbef9ec0c376d4bd1eb886d","_id":"fraction-math-js@0.2.0","_shasum":"c11976d6e5c1465c40f6dec43053c785faaa4969","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.2","_npmUser":{"name":"hjiayz","email":"hjiayz@gmail.com"},"dist":{"shasum":"c11976d6e5c1465c40f6dec43053c785faaa4969","tarball":"https://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.2.0.tgz","integrity":"sha512-pgDwxKLYud0g9x5IGp8/gHJzzKe1PFY2WtwCF+JBgr65qqRqRMB/VHe7Fh6PH5B6d/GPb3DFrplTnmfP5VA0tA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3ZUpu4M/tJNx9A60mB+3O7ZDEhoXGOIDSWhSk7sEQ6AiEAlOiM3k/JnNcfJiiub79pHG7o1im2g9RI29S3PlpW3IY="}]},"maintainers":[{"name":"hjiayz","email":"hjiayz@gmail.com"}]},"0.2.1":{"name":"fraction-math-js","version":"0.2.1","description":"[![Build Status](https://travis-ci.org/hjiayz/fraction-math-js.svg?branch=master)](https://travis-ci.org/hjiayz/fraction-math-js)","main":"index.js","scripts":{"test":"node --harmony --harmony_array_includes test/test.js","fcalc":"node --harmony --harmony_array_includes bin/fcalc","build":"node build.js"},"repository":{"type":"git","url":"git+https://github.com/hjiayz/fraction-math-js.git"},"keywords":["fraction","calculator"],"bin":{"fcalc":"./bin/fcalc.js"},"author":{"name":"hjiayz"},"license":"Apache-2.0","bugs":{"url":"https://github.com/hjiayz/fraction-math-js/issues"},"homepage":"https://github.com/hjiayz/fraction-math-js#readme","dependencies":{"bignumber.js":"^2.0.7"},"devDependencies":{"babel":"^5.8.23","uglify-js":"^2.4.24"},"gitHead":"0649edf675415c1d8fd279a11b30cc702c388e4c","_id":"fraction-math-js@0.2.1","_shasum":"3825c38d7c4441fa847edc5d00246e08d7e0c4c2","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"hjiayz","email":"hjiayz@gmail.com"},"dist":{"shasum":"3825c38d7c4441fa847edc5d00246e08d7e0c4c2","tarball":"https://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.2.1.tgz","integrity":"sha512-Iu8zN3tMXIZY6gOmbeH+q3ZfGhjHAQfA6rizF7HYzviBJezKzDpdbHWMYn8dwyvMYPesEstvEJBh02QlhQp3MA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTtSDI6z2Gr/UPaJLF9k7WddVmtmiGOLQwwLhM5ZwFhwIhAJUjfIzMnaODKJ0sZk8GPOhVEjLgcRwn14jjW0JzeCwx"}]},"maintainers":[{"name":"hjiayz","email":"hjiayz@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fraction-math-js-0.2.1.tgz_1490255218730_0.12305001192726195"}}},"readme":"## fraction-math-js\n\n[![Build Status](https://travis-ci.org/hjiayz/fraction-math-js.svg?branch=master)](https://travis-ci.org/hjiayz/fraction-math-js)\n\nbignumber fraction calculator and node module.\n\n### need ES6 support!\n\n\tnode4.1.1 arguments:\n\t\t--harmony --harmony_array_includes\n\tnode7.6.0 no arguments.\n    \n### Install\n\nnpm install fraction-math-js -g\n\n### REPL\n\n\t> fcalc\n  \n###### input expression,like:\n\n\tfcalc> (1+1)*2/12\n  \n\t(1+1)*2/12  =  1/3\n  \n### Load\n\n\t\"use strict\"\n  \n    let F = require('fraction-math-js').builder;\n    \n### Use\n    let x=F(\"1+2/3*5\");//1+2/3*5 = 13/3 Infix\n    \n    let y=F(\"1+\",x);//1+x = 16/3\n    \n    let z=F(\"+\",1,y);//1+y = 19/3 Prefix\n    \n    let a=F(y,z,\"+\");//y+z = 35/3 Postfix\n    \n    console.log(\"%s\",F(\"+ 1 1\"));//1+1=2 postfix and prefix need space\n    \n    console.log(a.toString());//35/3\n    \n    console.log(a.n.toString());//35\n    \n    console.log(a.d.toString());//3\n    \n    let b=F(a,\"+\",1.1);//a+1.1 = 383/30\n\t\n    console.log(b.toString());//383/30\n    \n    console.log(b.toBigNumber().toNumber());//12.766666666666667\n    \n### Run\n\n\t//save to sample.js and\n  \n\t> node sample.js\n\n### browser(AMD)[view demo](http://hjiayz.github.io/fraction-math-js/example/amd.html)\n\n\t<!--write to amd.html-->\n  \n\t<script src=\"./lib/browser-polyfill.min.js\" ></script>\n  \n\t<script src=\"./lib/require.js\"></script>\n  \n\t<!--load babel-polyfill and require.js for es6 and AMD-->\n  \n\t<script>\n  \n\t//load bignumber\n\n\tdefine(\"bignumber.js\",[\"./lib/bignumber.min.js\"],function(b){return b;});\n\n\t//load fraction-math-js\n  \n\trequire([\"../fraction-math-js-es5.min.js\"],function(fraction){\n \n    \tvar F=fraction.builder;\n    \n    \tdocument.write(F(\"1 + 1 / 3\").toString());\n  \n\t});\n  \n\t</script>\n  \n### browser(global)[view demo](http://hjiayz.github.io/fraction-math-js/example/global.html)\n\n\t<!--write to global.html-->\n  \n\t<script src=\"./lib/browser-polyfill.min.js\" ></script>\n\n\t<script src=\"./lib/bignumber.min.js\"></script>\n\n\t<script src=\"../fraction-math-js-es5.min.js\"></script>\n  \n\t<!--load babel-polyfill , bignumber.js and fraction-math-js-->\n  \n\t<!--fraction-math-js bind to window.FractionMathJs-->\n  \n\t<script>\n\n\tvar F=window.FractionMathJs.builder;\n  \n\tdocument.write(F(\"1 + 1 / 3\").toString());\n  \n\t</script>\n","maintainers":[{"name":"hjiayz","email":"hjiayz@gmail.com"}],"time":{"modified":"2022-06-18T03:25:28.458Z","created":"2015-09-30T07:48:57.641Z","0.1.0":"2015-09-30T07:48:57.641Z","0.1.1":"2015-09-30T08:02:50.605Z","0.1.2":"2015-09-30T08:06:18.736Z","0.1.3":"2015-09-30T08:08:32.665Z","0.1.4":"2015-09-30T09:56:35.005Z","0.1.5":"2015-10-01T08:43:29.497Z","0.1.6":"2015-10-01T12:05:38.077Z","0.1.7":"2015-10-02T03:31:49.281Z","0.1.8":"2015-10-03T05:38:27.521Z","0.1.9":"2015-10-03T13:52:24.102Z","0.1.10":"2015-10-04T13:07:44.338Z","0.2.0":"2015-10-12T08:07:14.267Z","0.2.1":"2017-03-23T07:46:58.985Z"},"homepage":"https://github.com/hjiayz/fraction-math-js#readme","keywords":["fraction","calculator"],"repository":{"type":"git","url":"git+https://github.com/hjiayz/fraction-math-js.git"},"author":{"name":"hjiayz"},"bugs":{"url":"https://github.com/hjiayz/fraction-math-js/issues"},"license":"Apache-2.0","readmeFilename":"README.MD","users":{"hjiayz":true}}