Socket
Socket
Sign inDemoInstall

bigeval

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 1.1.0

BigEval.min.js

6

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc