bigeval
Advanced tools
Comparing version 0.1.0 to 1.1.0
{ | ||
"name": "bigeval", | ||
"version": "0.1.0", | ||
"description": "Mathematical expression solving library. Test Node builds. Don't install.", | ||
"version": "1.1.0", | ||
"description": "Mathematical expression solving library", | ||
"main": "BigEval.js", | ||
@@ -24,3 +24,3 @@ "scripts": { | ||
}, | ||
"homepage": "https://github.com/aviaryan/BigEval.js#readme" | ||
"homepage": "https://github.com/aviaryan/BigEval.js" | ||
} |
# BigEval.js | ||
[![Build Status](https://travis-ci.org/aviaryan/BigEval.js.svg?branch=gh-pages)](https://travis-ci.org/aviaryan/BigEval.js) | ||
[![npm](https://img.shields.io/npm/aviaryan/bigeval.svg)]() | ||
@@ -8,2 +9,15 @@ An alternative to JavaScript's eval() for solving mathematical expressions. It can be extended to use the *Big Number* libraries available to provide results with maximum precision. See [Releases](https://github.com/aviaryan/BigEval.js/releases) for compressed script (~4kb) download. | ||
## Installation | ||
* Node | ||
``` | ||
npm install bigeval | ||
> var BigEval = require('bigeval') | ||
``` | ||
* From browser | ||
```html | ||
<script src="BigEval.js"></script> | ||
``` | ||
## Features | ||
@@ -75,7 +89,7 @@ | ||
### Credits | ||
* [Avi Aryan](http://aviaryan.in) | ||
To use decimaljs extension with Node, download the [file](extensions/MikeMcl-decimal.js) and then | ||
``` | ||
var BigEval = require('./MikeMcl-decimal.js'); | ||
var b = new BigEval(); | ||
console.log(b.exec('-2 + 3')); | ||
``` |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
31766
404
0
93