{"_id":"integer","_rev":"312275","name":"integer","description":"Native 64-bit integers with overflow protection.","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"time":{"modified":"2021-06-03T19:53:17.000Z","created":"2013-07-26T18:20:30.031Z","4.0.0":"2020-04-21T23:11:33.165Z","3.0.1":"2020-02-24T03:26:15.616Z","3.0.0":"2020-02-24T02:32:25.538Z","2.1.0":"2018-10-04T18:17:31.764Z","2.0.1":"2018-10-04T16:03:28.534Z","2.0.0":"2018-09-17T02:12:32.781Z","1.0.7":"2018-09-17T01:52:29.472Z","1.0.6":"2018-09-17T01:46:01.108Z","1.0.5":"2018-06-13T04:30:43.775Z","1.0.4":"2018-06-13T03:22:25.874Z","1.0.3":"2018-01-20T06:18:59.903Z","1.0.1":"2017-06-06T00:20:24.911Z","1.0.0":"2017-06-02T12:10:30.230Z","0.2.0":"2017-05-31T19:33:09.508Z","0.0.2":"2013-07-26T18:30:30.189Z","0.0.1":"2013-07-26T18:20:30.031Z"},"users":{},"author":{"name":"Joshua Wise","email":"joshuathomaswise@gmail.com"},"repository":{"type":"git","url":"git://github.com/JoshuaWise/integer.git"},"versions":{"4.0.0":{"name":"integer","version":"4.0.0","description":"Native 64-bit integers with overflow protection.","main":"lib/index.js","scripts":{"install":"prebuild-install || npm run build-release","build-release":"node-gyp rebuild --release","build-debug":"node-gyp rebuild --debug","test":"mocha --exit --bail --timeout 1000 --slow 500"},"repository":{"type":"git","url":"git://github.com/JoshuaWise/integer.git"},"keywords":["integer","64-bit","64bit","int","overflow","native"],"author":{"name":"Joshua Wise","email":"joshuathomaswise@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/JoshuaWise/integer/issues"},"homepage":"https://github.com/JoshuaWise/integer#readme","dependencies":{"bindings":"^1.5.0","prebuild-install":"^5.3.3"},"devDependencies":{"chai":"^4.2.0","mocha":"^7.0.1","prebuild":"^10.0.0"},"gitHead":"ac5b8d3782c459c828ce56c0787c5bdd9d83fc68","_id":"integer@4.0.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"45e8a0c6bdf40734c63634a75ed0daa1c0a8ad82","size":17006,"noattachment":false,"key":"/integer/-/integer-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-4.0.0.tgz"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"_npmUser":{"name":"joshuawise","email":"joshuathomaswise@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/integer_4.0.0_1587510692966_0.36517205571022093"},"_hasShrinkwrap":false,"publish_time":1587510693165,"_cnpm_publish_time":1587510693165},"3.0.1":{"name":"integer","version":"3.0.1","description":"Native 64-bit integers with overflow protection.","main":"lib/index.js","scripts":{"install":"prebuild-install || npm run build-release","build-release":"node-gyp rebuild --release","build-debug":"node-gyp rebuild --debug","test":"mocha --exit --bail --timeout 1000 --slow 500"},"repository":{"type":"git","url":"git://github.com/JoshuaWise/integer.git"},"keywords":["integer","64-bit","64bit","int","overflow","native"],"author":{"name":"Joshua Wise","email":"joshuathomaswise@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/JoshuaWise/integer/issues"},"homepage":"https://github.com/JoshuaWise/integer#readme","dependencies":{"bindings":"^1.5.0","prebuild-install":"^5.3.3"},"devDependencies":{"chai":"^4.2.0","mocha":"^7.0.1","prebuild":"^10.0.0"},"gitHead":"b8484943180212a6d17d5ad69c336b787354b68e","_id":"integer@3.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"joshuawise","email":"joshuathomaswise@gmail.com"},"dist":{"shasum":"49b17f2543e7fd3f606f5bcc968be7a9c4690f73","size":16537,"noattachment":false,"key":"/integer/-/integer-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-3.0.1.tgz"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/integer_3.0.1_1582514775483_0.9442251863282067"},"_hasShrinkwrap":false,"publish_time":1582514775616,"_cnpm_publish_time":1582514775616},"3.0.0":{"name":"integer","version":"3.0.0","description":"Native 64-bit integers with overflow protection.","main":"lib/index.js","scripts":{"install":"prebuild-install || npm run build-release","build-release":"node-gyp rebuild --release","build-debug":"node-gyp rebuild --debug","test":"mocha --exit --bail --timeout 1000 --slow 500"},"repository":{"type":"git","url":"git://github.com/JoshuaWise/integer.git"},"keywords":["integer","64-bit","64bit","int","overflow","native"],"author":{"name":"Joshua Wise","email":"joshuathomaswise@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/JoshuaWise/integer/issues"},"homepage":"https://github.com/JoshuaWise/integer#readme","dependencies":{"bindings":"^1.5.0","prebuild-install":"^5.3.2"},"devDependencies":{"chai":"^4.2.0","mocha":"^6.2.0","prebuild":"^9.1.1"},"gitHead":"d784b486a04c71e498d698122d2f035aa6c352f2","_id":"integer@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"joshuawise","email":"joshuathomaswise@gmail.com"},"dist":{"shasum":"b03b9f0eab524ab6be38ff5bedab2219a6afbceb","size":16534,"noattachment":false,"key":"/integer/-/integer-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-3.0.0.tgz"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/integer_3.0.0_1582511545379_0.6083443002185203"},"_hasShrinkwrap":false,"publish_time":1582511545538,"_cnpm_publish_time":1582511545538},"2.1.0":{"name":"integer","version":"2.1.0","description":"Native 64-bit integers with overflow protection.","main":"lib/index.js","scripts":{"install-debug":"node-gyp rebuild --debug","test":"$(npm bin)/mocha --bail --timeout 1000 --slow 500","install":"node-gyp rebuild"},"repository":{"type":"git","url":"git://github.com/JoshuaWise/integer.git"},"keywords":["integer","64-bit","64bit","int","overflow","native"],"author":{"name":"Joshua Wise","email":"joshuathomaswise@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/JoshuaWise/integer/issues"},"homepage":"https://github.com/JoshuaWise/integer#readme","devDependencies":{"chai":"^4.1.2","mocha":"^3.5.3"},"gypfile":true,"gitHead":"b8f1164bfa9e579d0c08278b56d62da3a819be85","_id":"integer@2.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"joshuawise","email":"joshuathomaswise@gmail.com"},"dist":{"shasum":"29134ea2f7ba3362ed4dbe6bcca992b1f18ff276","size":15775,"noattachment":false,"key":"/integer/-/integer-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-2.1.0.tgz"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/integer_2.1.0_1538677051634_0.10401081475785423"},"_hasShrinkwrap":false,"publish_time":1538677051764,"_cnpm_publish_time":1538677051764},"2.0.1":{"name":"integer","version":"2.0.1","description":"Native 64-bit integers with overflow protection.","main":"lib/index.js","scripts":{"install-debug":"node-gyp rebuild --debug","test":"$(npm bin)/mocha --bail --timeout 1000 --slow 500","install":"node-gyp rebuild"},"repository":{"type":"git","url":"git://github.com/JoshuaWise/integer.git"},"keywords":["integer","64-bit","64bit","int","overflow","native"],"author":{"name":"Joshua Wise","email":"joshuathomaswise@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/JoshuaWise/integer/issues"},"homepage":"https://github.com/JoshuaWise/integer#readme","dependencies":{"bindings":"^1.3.0"},"devDependencies":{"chai":"^4.1.2","mocha":"^3.5.3"},"gypfile":true,"gitHead":"4bf5cc67ac9cf7fda714430f921a756dc3e5eb9d","_id":"integer@2.0.1","_shasum":"1d77a11e28ad67875a86449b4304450b6d0b0dbb","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"joshuawise","email":"joshuathomaswise@gmail.com"},"dist":{"shasum":"1d77a11e28ad67875a86449b4304450b6d0b0dbb","size":16224,"noattachment":false,"key":"/integer/-/integer-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-2.0.1.tgz"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/integer_2.0.1_1538669008427_0.10161126762531114"},"_hasShrinkwrap":false,"publish_time":1538669008534,"_cnpm_publish_time":1538669008534},"2.0.0":{"name":"integer","version":"2.0.0","description":"Native 64-bit integers with overflow protection.","main":"lib/index.js","scripts":{"install-debug":"node-gyp rebuild --debug","test":"$(npm bin)/mocha --bail --timeout 1000 --slow 500","install":"node-gyp rebuild"},"repository":{"type":"git","url":"git://github.com/JoshuaWise/integer.git"},"keywords":["integer","64-bit","64bit","int","overflow","native"],"author":{"name":"Joshua Wise","email":"joshuathomaswise@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/JoshuaWise/integer/issues"},"homepage":"https://github.com/JoshuaWise/integer#readme","dependencies":{"bindings":"^1.3.0"},"devDependencies":{"chai":"^4.1.2","mocha":"^3.5.3"},"gypfile":true,"gitHead":"2f1c907224036bb77512667a2113ab39ef06de08","_id":"integer@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"joshuawise","email":"joshuathomaswise@gmail.com"},"dist":{"shasum":"02d3b031ae6e46614e76f5de96c6ddcc5768ea54","size":15660,"noattachment":false,"key":"/integer/-/integer-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-2.0.0.tgz"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/integer_2.0.0_1537150352619_0.5272956034066165"},"_hasShrinkwrap":false,"publish_time":1537150352781,"_cnpm_publish_time":1537150352781},"1.0.7":{"name":"integer","version":"1.0.7","description":"Native 64-bit integers with overflow protection.","main":"lib/index.js","scripts":{"install-debug":"node-gyp rebuild --debug","test":"$(npm bin)/mocha --bail --timeout 1000 --slow 500","install":"node-gyp rebuild"},"repository":{"type":"git","url":"git://github.com/JoshuaWise/integer.git"},"keywords":["integer","64-bit","64bit","int","overflow","native"],"author":{"name":"Joshua Wise","email":"joshuathomaswise@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/JoshuaWise/integer/issues"},"homepage":"https://github.com/JoshuaWise/integer#readme","dependencies":{"bindings":"^1.3.0"},"devDependencies":{"chai":"^4.1.2","mocha":"^3.5.3"},"gypfile":true,"gitHead":"3c31767dcbd2905f47576ae057c28a5930f90d3e","_id":"integer@1.0.7","_shasum":"28b4aa59412bcd7159c337020ba9aed939ab4467","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"joshuawise","email":"joshuathomaswise@gmail.com"},"dist":{"shasum":"28b4aa59412bcd7159c337020ba9aed939ab4467","size":16110,"noattachment":false,"key":"/integer/-/integer-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-1.0.7.tgz"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/integer_1.0.7_1537149149308_0.7692700196418516"},"_hasShrinkwrap":false,"publish_time":1537149149472,"_cnpm_publish_time":1537149149472},"1.0.6":{"name":"integer","version":"1.0.6","description":"Native 64-bit integers with overflow protection.","main":"lib/index.js","scripts":{"install-debug":"node-gyp rebuild --debug","test":"$(npm bin)/mocha --bail --timeout 1000 --slow 500","install":"node-gyp rebuild"},"repository":{"type":"git","url":"git://github.com/JoshuaWise/integer.git"},"keywords":["integer","64-bit","64bit","int","overflow","native"],"author":{"name":"Joshua Wise","email":"joshuathomaswise@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/JoshuaWise/integer/issues"},"homepage":"https://github.com/JoshuaWise/integer#readme","dependencies":{"bindings":"^1.3.0"},"devDependencies":{"chai":"^4.1.2","mocha":"^3.5.3"},"gypfile":true,"gitHead":"76152b38367edffefee219ea25f94ee2e08c1d53","_id":"integer@1.0.6","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"joshuawise","email":"joshuathomaswise@gmail.com"},"dist":{"shasum":"1077ad0eb2677788e72419b4f911c0d8bcafc4e2","size":15554,"noattachment":false,"key":"/integer/-/integer-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-1.0.6.tgz"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/integer_1.0.6_1537148760914_0.3935480293001514"},"_hasShrinkwrap":false,"publish_time":1537148761108,"_cnpm_publish_time":1537148761108},"1.0.5":{"name":"integer","version":"1.0.5","description":"Native 64-bit integers with overflow protection.","main":"index.js","scripts":{"install-debug":"node-gyp rebuild --debug","test":"$(npm bin)/mocha --bail --timeout 1000 --slow 500","install":"node-gyp rebuild"},"repository":{"type":"git","url":"git://github.com/JoshuaWise/integer.git"},"keywords":["integer","64-bit","64bit","int","overflow","native"],"author":{"name":"Joshua Wise","email":"joshuathomaswise@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/JoshuaWise/integer/issues"},"homepage":"https://github.com/JoshuaWise/integer#readme","dependencies":{"bindings":"^1.3.0"},"devDependencies":{"chai":"^4.1.2","mocha":"^3.5.3"},"gypfile":true,"gitHead":"097c457aa40782b18c385982a13c6a0ecc07aa90","_id":"integer@1.0.5","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"joshuawise","email":"joshuathomaswise@gmail.com"},"dist":{"shasum":"cadbf6078290389e8e4e29226e6b0044433deec1","size":15604,"noattachment":false,"key":"/integer/-/integer-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-1.0.5.tgz"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/integer_1.0.5_1528864243662_0.6579009873708193"},"_hasShrinkwrap":false,"publish_time":1528864243775,"_cnpm_publish_time":1528864243775},"1.0.4":{"name":"integer","version":"1.0.4","description":"Native 64-bit integers with overflow protection.","main":"index.js","scripts":{"test":"$(npm bin)/mocha --bail --timeout 1000 --slow 500","install":"node-gyp rebuild"},"repository":{"type":"git","url":"git://github.com/JoshuaWise/integer.git"},"keywords":["integer","64-bit","64bit","int","overflow","native"],"author":{"name":"Joshua Wise","email":"joshuathomaswise@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/JoshuaWise/integer/issues"},"homepage":"https://github.com/JoshuaWise/integer#readme","dependencies":{"bindings":"^1.3.0"},"devDependencies":{"chai":"^4.1.2","mocha":"^3.5.3"},"gypfile":true,"gitHead":"7d4430f17b7360323ad8ea84301eb0296ad2fb96","_id":"integer@1.0.4","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"joshuawise","email":"joshuathomaswise@gmail.com"},"dist":{"shasum":"065bffad4f6a3786d3fe71ea1ea13258fb2afb07","size":15570,"noattachment":false,"key":"/integer/-/integer-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-1.0.4.tgz"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/integer_1.0.4_1528860145757_0.27399191281476765"},"_hasShrinkwrap":false,"publish_time":1528860145874,"_cnpm_publish_time":1528860145874},"1.0.3":{"name":"integer","version":"1.0.3","description":"Native 64-bit integers with overflow protection.","main":"index.js","scripts":{"install":"node tools/install","test":"$(npm bin)/mocha --bail --timeout 1000 --slow 500"},"repository":{"type":"git","url":"git://github.com/JoshuaWise/integer.git"},"keywords":["integer","64-bit","64bit","int","overflow","native"],"author":{"name":"Joshua Wise","email":"joshuathomaswise@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/JoshuaWise/integer/issues"},"homepage":"https://github.com/JoshuaWise/integer#readme","dependencies":{"bindings":"^1.3.0"},"devDependencies":{"chai":"^4.1.2","mocha":"^3.5.3"},"gitHead":"6e9690bbbffcbfd51f29185d191ab7b3efa887e0","_id":"integer@1.0.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"joshuawise","email":"joshuathomaswise@gmail.com"},"dist":{"shasum":"6e6403896de6781c50974c5adf9eea9bb0ce6acb","size":15786,"noattachment":false,"key":"/integer/-/integer-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-1.0.3.tgz"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/integer-1.0.3.tgz_1516429138808_0.3437167024239898"},"directories":{},"publish_time":1516429139903,"_hasShrinkwrap":false,"_cnpm_publish_time":1516429139903},"1.0.1":{"name":"integer","version":"1.0.1","description":"Native 64-bit integers with overflow protection.","main":"index.js","scripts":{"install":"node tools/install","test":"$(npm bin)/mocha --bail --timeout 1000 --slow 500"},"repository":{"type":"git","url":"git://github.com/JoshuaWise/integer.git"},"keywords":["integer","64-bit","64bit","int","overflow","native"],"author":{"name":"Joshua Wise","email":"joshuathomaswise@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/JoshuaWise/integer/issues"},"homepage":"https://github.com/JoshuaWise/integer#readme","dependencies":{"bindings":"^1.2.1"},"devDependencies":{"chai":"^4.0.0","mocha":"^3.4.2"},"gitHead":"bd95011c30d6b03bd540dcafc027642678e571a8","_id":"integer@1.0.1","_shasum":"41ecb5db9931c1a069728f4764f8d7eeee02b249","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"joshuawise","email":"joshuathomaswise@gmail.com"},"dist":{"shasum":"41ecb5db9931c1a069728f4764f8d7eeee02b249","size":16275,"noattachment":false,"key":"/integer/-/integer-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-1.0.1.tgz"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/integer-1.0.1.tgz_1496708423777_0.9161649886518717"},"directories":{},"publish_time":1496708424911,"_hasShrinkwrap":false,"_cnpm_publish_time":1496708424911},"1.0.0":{"name":"integer","version":"1.0.0","description":"Native 64-bit integers with overflow protection.","main":"index.js","scripts":{"install":"node tools/install","test":"$(npm bin)/mocha --bail --timeout 1000 --slow 500"},"repository":{"type":"git","url":"git://github.com/JoshuaWise/integer.git"},"keywords":["integer","64-bit","64bit","int","overflow","native"],"author":{"name":"Joshua Wise","email":"joshuathomaswise@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/JoshuaWise/integer/issues"},"homepage":"https://github.com/JoshuaWise/integer#readme","dependencies":{"bindings":"^1.2.1"},"devDependencies":{"chai":"^4.0.0","mocha":"^3.4.2"},"gitHead":"be8ca3244a0942da346629f9e98f8fa99111ab6d","_id":"integer@1.0.0","_shasum":"69b81f52ef8219797f05d021bec0ab5b18cd3833","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.2","_npmUser":{"name":"joshuawise","email":"joshuathomaswise@gmail.com"},"dist":{"shasum":"69b81f52ef8219797f05d021bec0ab5b18cd3833","size":16339,"noattachment":false,"key":"/integer/-/integer-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-1.0.0.tgz"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/integer-1.0.0.tgz_1496405429184_0.5174022447317839"},"directories":{},"publish_time":1496405430230,"_hasShrinkwrap":false,"_cnpm_publish_time":1496405430230},"0.2.0":{"name":"integer","version":"0.2.0","description":"Native 64-bit integers with overflow protection.","main":"index.js","scripts":{"install":"node tools/install","test":"$(npm bin)/mocha --bail --timeout 1000 --slow 500"},"repository":{"type":"git","url":"git://github.com/JoshuaWise/integer.git"},"keywords":["integer","64-bit","64bit","int","overflow","native"],"author":{"name":"Joshua Wise","email":"joshuathomaswise@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/JoshuaWise/integer/issues"},"homepage":"https://github.com/JoshuaWise/integer#readme","dependencies":{"bindings":"^1.2.1"},"devDependencies":{"chai":"^4.0.0","mocha":"^3.4.2"},"gitHead":"38ab1ab4134d694525008b0135f27627215bc08b","_id":"integer@0.2.0","_shasum":"7f2362ca3fa8e371f9b83092b692de3b323cc43a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"joshuawise","email":"joshuathomaswise@gmail.com"},"dist":{"shasum":"7f2362ca3fa8e371f9b83092b692de3b323cc43a","size":12441,"noattachment":false,"key":"/integer/-/integer-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-0.2.0.tgz"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/integer-0.2.0.tgz_1496259188461_0.7577079450711608"},"directories":{},"publish_time":1496259189508,"_cnpm_publish_time":1496259189508,"_hasShrinkwrap":false},"0.0.2":{"name":"integer","version":"0.0.2","description":"Provides methods for comparing, manipulating, and calculating with integers","main":"index.js","scripts":{"test":"mocha --reporter spec ./test.js"},"repository":{"type":"git","url":"git://github.com/mstorgaard/integer"},"author":{"name":"Michael Storgaard"},"bugs":{"url":"https://github.com/mstorgaard/integer/issues"},"license":"MIT","dependencies":{},"devDependencies":{"mocha":"*"},"readmeFilename":"README.md","_id":"integer@0.0.2","dist":{"shasum":"9c349187b39a016064415778a6d7fd8c29014e42","size":5216,"noattachment":false,"key":"/integer/-/integer-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-0.0.2.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"mex","email":"michael@billysbilling.com"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"directories":{},"publish_time":1374863430189,"_cnpm_publish_time":1374863430189,"_hasShrinkwrap":false},"0.0.1":{"name":"integer","version":"0.0.1","description":"Provides methods for comparing, manipulating, and calculating with integers","main":"index.js","scripts":{"test":"mocha --reporter spec ./test.js"},"repository":{"type":"git","url":"git://github.com/mstorgaard/integer"},"author":{"name":"Michael Storgaard"},"bugs":{"url":"https://github.com/mstorgaard/integer/issues"},"license":"MIT","dependencies":{},"devDependencies":{"mocha":"*"},"readmeFilename":"README.md","_id":"integer@0.0.1","dist":{"shasum":"3ec47c28112c8a96195f7e64cd767214f067d1b2","size":4464,"noattachment":false,"key":"/integer/-/integer-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/integer/download/integer-0.0.1.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"mex","email":"michael@billysbilling.com"},"maintainers":[{"name":"joshuawise","email":"joshuathomaswise@gmail.com"}],"directories":{},"publish_time":1374862830031,"_cnpm_publish_time":1374862830031,"_hasShrinkwrap":false}},"readme":"# integer [![Build Status](https://travis-ci.org/JoshuaWise/integer.svg?branch=master)](https://travis-ci.org/JoshuaWise/integer)\n\nNative 64-bit signed integers in Node.js.\n\n- All standard operators (arithmetic, bitwise, logical)\n- Protection from overflow and unsafe numbers\n- Always immutable\n- Other useful utilities\n\n## Installation\n\n```bash\nnpm install --save integer\n```\n\n> You must be using Node.js v10 or above. Prebuilt binaries are available for [LTS versions](https://nodejs.org/en/about/releases/) + Linux/OSX.\n\n## Usage\n\n```js\nvar Integer = require('integer');\n\nvar a = Integer('7129837312139827189');\nvar b = a.subtract(1).shiftRight(3);\nassert(b.equals('891229664017478398'));\n```\n\n## Overflow protection\n\nWe will not let you perform operations that would result in overflow. If you try to create an `Integer` that cannot be represented in 64-bits (signed), we will throw a `RangeError`.\n\n```js\n// These will each throw a RangeError\nvar tooBig = Integer(13897283129).multiply(13897283129);\nvar tooSmall = Integer.MIN_VALUE.subtract(1);\nvar divideByZero = Integer(123).divide(0);\nvar alsoTooBig = Integer('4029384203948203948923');\n\n// You are also protected against two's complement overflow (this will throw a RangeError)\nvar twosComplement = Integer.MIN_VALUE.divide(-1);\n```\n\n## Unsafe number protection\n\nIt's easy to convert between me and regular JavaScript numbers.\n\n```js\nvar int = Integer(12345);\nassert(int instanceof Integer);\n\nvar num = Number(int); // same as int.toNumber()\nassert(typeof num === 'number');\n```\n\nHowever, we will prevent you from converting an `Integer` to an unsafe number, and vice-versa. To learn more about unsafe numbers, [click here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger).\n\n```js\n// This will throw a RangeError\nvar unsafe = Integer(Number.MAX_SAFE_INTEGER + 1);\n\n// This is okay\nvar int = Integer(Number.MAX_SAFE_INTEGER).plus(1);\n\n// But this will throw a RangeError\nvar unsafe = int.toNumber();\n```\n\n# API\n\n### Integer(*value*) -> *Integer*\n\nCasts a value to an `Integer`. If the value cannot be converted safely and losslessly, a `RangeError` is thrown.\n\n```js\nvar a = Integer();\nvar b = Integer(12345);\nvar c = Integer('12345');\nassert(a.equals(0));\nassert(b.equals(c));\n```\n\n### Integer.fromNumber(*number*, [*defaultValue*]) -> *Integer*\n\nCasts a regular number to an `Integer`.\n\nIf the number is unsafe the `defaultValue` is used instead (or a `RangeError` is thrown if no `defaultValue` was provided).\n\n```js\nInteger.fromNumber(12345, 0); // results in Integer(12345)\nInteger.fromNumber(Number.MAX_SAFE_INTEGER + 1, 0); // results in Integer(0)\n```\n\n### Integer.fromString(*string*, [*radix*, [*defaultValue*]]) -> *Integer*\n\nCasts a string to an `Integer`. The string is assumed to be [base-10](https://en.wikipedia.org/wiki/Radix) unless a different `radix` is specified.\n\nIf conversions fails the `defaultValue` is used instead (or a `RangeError` is thrown if no `defaultValue` was provided).\n\n```js\nvar hexColor = 'ff55dd';\nvar int = Integer.fromString(hexColor, 16, 'ffffff');\n```\n\n### Integer.fromBits(*lowBits*, [*highBits*]) -> *Integer*\n\nCreates an `Integer` by concatenating two regular 32-bit signed integers. The `highBits` are optional and default to `0`.\n\n```js\nvar int = Integer.fromBits(0x40, 0x20);\nint.toString(16); // => '2000000040'\n```\n\n## Arithmetic operations\n\n#### &nbsp;&nbsp;&nbsp;&nbsp;.add/plus(*other*) -> *Integer*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.subtract/sub/minus(*other*) -> *Integer*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.multiply/mul/times(*other*) -> *Integer*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.divide/div/divideBy/dividedBy/over(*other*) -> *Integer*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.modulo/mod(*other*) -> *Integer*\n\nPerforms the arithmetic operation and returns a new `Integer`. The argument must either be a number, a base-10 string, or an `Integer`. If the operation results in overflow, a `RangeError` is thrown.\n\n#### &nbsp;&nbsp;&nbsp;&nbsp;.negate/neg() -> *Integer*\n\nReturns the unary negation (`-value`) of the `Integer`.\n\n#### &nbsp;&nbsp;&nbsp;&nbsp;.abs/absoluteValue() -> *Integer*\n\nReturns the absolute value of the `Integer`.\n\n## Bitwise operations\n\n#### &nbsp;&nbsp;&nbsp;&nbsp;.and(*other*) -> *Integer*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.or(*other*) -> *Integer*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.xor(*other*) -> *Integer*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.not() -> *Integer*\n\nPerforms the bitwise operation and returns a new `Integer`. The argument must either be a number, a base-10 string, or an `Integer`.\n\n#### &nbsp;&nbsp;&nbsp;&nbsp;.shiftLeft/shl(*numberOfBits*) -> *Integer*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.shiftRight/shr(*numberOfBits*) -> *Integer*\n\nShifts the `Integer` by specified number of bits and returns the result.\n\n## Logical operations\n\n#### &nbsp;&nbsp;&nbsp;&nbsp;.equals/eq/isEqualTo(*other*) -> *boolean*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.notEquals/neq/isNotEqualTo/doesNotEqual(*other*) -> *boolean*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.greaterThan/gt/isGreaterThan(*other*) -> *boolean*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.lessThan/lt/isLessThan(*other*) -> *boolean*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.greaterThanOrEquals/gte/isGreaterThanOrEqualTo(*other*) -> *boolean*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.lessThanOrEquals/lte/isLessThanOrEqualTo(*other*) -> *boolean*\n\nPerforms the logical operation and returns `true` or `false`. The argument must either be a number, a base-10 string, or an `Integer`.\n\n#### &nbsp;&nbsp;&nbsp;&nbsp;.compare(*other*) -> *number*\n\nCompares the value of the `Integer` and `other`, resulting in:\n- `-1` if `this` is less than `other`\n- `1` if `this` is greater than `other`\n- `0` if `this` is equal to `other`\n\n## Converting to other values\n\n#### &nbsp;&nbsp;&nbsp;&nbsp;.toString([*radix*]) -> *string*\n\nConverts the `Integer` to a string. A base-10 string is returned unless a different `radix` is specified.\n\n#### &nbsp;&nbsp;&nbsp;&nbsp;.valueOf/toNumber() -> *number*\n\nConverts the `Integer` to a regular number. If the `Integer` is not within the safe range, a `RangeError` is thrown.\n\n#### &nbsp;&nbsp;&nbsp;&nbsp;.toNumberUnsafe() -> *number*\n\nConverts the `Integer` to a regular number, **even if the conversion would result in a loss of precision**. This method will never throw an error.\n\n## Other utility\n\n#### &nbsp;&nbsp;&nbsp;&nbsp;.bitSizeAbs() -> *number*\n\nReturns the number of bits necessary to hold the absolute value of the `Integer`.\n\n```js\nInteger(0).bitSizeAbs(); // => 1\nInteger(128).bitSizeAbs(); // => 8\nInteger(-255).bitSizeAbs(); // => 8\nInteger.fromString('4fffffffffff', 16).bitSizeAbs(); // => 47\n```\n\n#### &nbsp;&nbsp;&nbsp;&nbsp;.isEven() -> *boolean*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.isOdd() -> *boolean*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.isPositive() -> *boolean*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.isNegative() -> *boolean*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.isZero() -> *boolean*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.isNonZero/isNotZero() -> *boolean*\n\nThese methods are self-explanatory.\n\n#### &nbsp;&nbsp;&nbsp;&nbsp;.isSafe() -> *boolean*\n#### &nbsp;&nbsp;&nbsp;&nbsp;.isUnsafe() -> *boolean*\n\nReturns whether or not the `Integer` is within the safe range. If it's not within the safe range, trying to convert it to a regular number would result in a `RangeError` being thrown.\n\nThe safe range is defined as `n >= Number.MIN_SAFE_INTEGER && n <= Number.MAX_SAFE_INTEGER`.\n\n#### Integer.isInstance(*value*) -> *boolean*\n\nDetermines if the given value is an `Integer` object.\n\n#### Getters\n\n- **.low -> _number_** - the lower 32-bits of the `Integer`\n- **.high -> _number_** - the upper 32-bits of the `Integer`\n\n#### Constants\n\n- **Integer.MAX_VALUE** - maximum value of an `Integer`\n- **Integer.MIN_VALUE** - minimum value of an `Integer`\n- **Integer.ZERO** - an `Integer` with a value of `0`\n- **Integer.ONE** - an `Integer` with a value of `1`\n- **Integer.NEG_ONE** - an `Integer` with a value of `-1`\n\n## License\n\n[MIT](https://github.com/JoshuaWise/integer/blob/master/LICENSE)\n","_attachments":{},"homepage":"https://github.com/JoshuaWise/integer#readme","bugs":{"url":"https://github.com/JoshuaWise/integer/issues"},"license":"MIT"}