{"library":"node-int64","type":"library","category":null,"description":"The `node-int64` library provides a class, `Int64`, to precisely represent 64-bit integers in JavaScript, addressing the inherent limitation of JavaScript's IEEE 754 double-precision floats which lose integer precision beyond +/- 2^53. It is currently at version 0.4.0, which was published 11 years ago, and the project is not actively maintained, with its author noting that native `BigInt`s will likely obsolete it. The library aims to provide a Number-like object primarily for carrying 64-bit integer values, such as those encountered in binary data formats like Apache Thrift, rather than for performing 64-bit integer arithmetic. While instances can be coerced to JavaScript numbers for basic operations, values exceeding the safe integer range will resolve to `Infinity`. Its primary utility lies in preserving the exact 64-bit binary representation, which can be extracted as an octet string or Node.js `Buffer`. This makes it suitable for interoperability with systems requiring precise 64-bit data types, distinguishing it from libraries focused on arbitrary-precision arithmetic.","language":"javascript","status":"abandoned","version":"0.4.0","tags":["javascript","math","integer","int64"],"install":[{"cmd":"npm install node-int64","imports":["const Int64 = require('node-int64');","const myInt = new Int64('123456789abcdef0');","import Int64 = require('node-int64');\n// or\n/// <reference types=\"node-int64\" />"]},{"cmd":"yarn add node-int64","imports":[]},{"cmd":"pnpm add node-int64","imports":[]}],"homepage":null,"github":"https://github.com/broofa/node-int64","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/node-int64","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/node-int64/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}