You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

big-integer

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "big-integer",
"version": "1.1.0",
"version": "1.1.1",
"author": "Peter Olson <peter.e.c.olson+npm@gmail.com>",

@@ -5,0 +5,0 @@ "description": "An arbitrary length integer library for Javascript",

@@ -37,2 +37,8 @@ BigInteger.js

Method Chaining
---
Note that bigInt operations return bigInts, which allows you to chain methods, for example:
var salary = bigInt(dollarsPerHour).times(hoursWorked).plus(randomBonuses)
Constants

@@ -115,3 +121,3 @@ ---

`isEven(number)`
`isEven(number)`
---

@@ -123,3 +129,3 @@ Returns `true` if the number is even, `false` otherwise.

`isNegative(number)`
`isNegative(number)`
---

@@ -132,3 +138,3 @@ Returns `true` if the number is negative, `false` otherwise.

`isOdd(number)`
`isOdd(number)`
---

@@ -140,3 +146,3 @@ Returns `true` if the number is odd, `false` otherwise.

`isPositive(number)`
`isPositive(number)`
---

@@ -143,0 +149,0 @@ Return `true` if the number is positive, `false` otherwise.

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc