{"_id":"biguint-format","_rev":"30-84e3f5b3362ca2a4e503ad63a1976712","name":"biguint-format","description":"An arbitrary length unsigned integer formatter library for Node.js","dist-tags":{"latest":"1.0.2"},"versions":{"0.0.1":{"name":"biguint-format","version":"0.0.1","description":"Node.js module to format big uint numbers from a byte array or a node Buffer","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/T-PWK/biguint-format.git"},"keywords":["big","bignum","biguint","uint","integer"],"author":{"name":"Tom Pawlak"},"license":"MIT","bugs":{"url":"https://github.com/T-PWK/biguint-format/issues"},"_id":"biguint-format@0.0.1","dist":{"shasum":"4354b78fd46755d41d28e3249dae06d47f3d0e4e","tarball":"https://registry.npmjs.org/biguint-format/-/biguint-format-0.0.1.tgz","integrity":"sha512-ASl1QMEQgdItqpzIa42S8JCFTvosGTVVymQypIWWuF7sE3PNOb3ihiBkc8Le5Ts5wVKo9Ow2iO4s+vdcSFVnfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHOj9TC8cJoGOmKQYMFCpI1UjQ73o8yLuxbn9jGtrUUDAiAfWFEFrQ8zSMYGYBBCCCrDFcBngHuoFrC/P/tkz7Ho0A=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tpwk","email":"pawlaktom@gmail.com"},"maintainers":[{"name":"tpwk","email":"pawlaktom@gmail.com"}],"directories":{},"deprecated":"Version 0.2.1+ works properly with the strict mode"},"0.0.2":{"name":"biguint-format","version":"0.0.2","description":"Node.js module to format big uint numbers from a byte array or a node Buffer","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/T-PWK/biguint-format.git"},"keywords":["big","bignum","biguint","uint","integer"],"author":{"name":"Tom Pawlak"},"license":"MIT","bugs":{"url":"https://github.com/T-PWK/biguint-format/issues"},"_id":"biguint-format@0.0.2","dist":{"shasum":"b720aa00d06df7a4b7c14d73629df27cbdf70d95","tarball":"https://registry.npmjs.org/biguint-format/-/biguint-format-0.0.2.tgz","integrity":"sha512-1J1S+ie7nEycxOI1lIheKLRH6x81GTJaMsjSS0Va3VlYZ4P3fnlT/29gVhni5+2edaV3PwEWlm8EPd2qYIMUcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBsdOdUPVOUMaJTeAR2hBpxLqx4l+DisFqjBhHdSWbzQIgaCyvgDX2kp9Y454S/Gbo0HhHk0gVIX4lFZydUSDwsi8="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tpwk","email":"pawlaktom@gmail.com"},"maintainers":[{"name":"tpwk","email":"pawlaktom@gmail.com"}],"directories":{},"deprecated":"Version 0.2.1+ works properly with the strict mode"},"0.0.3":{"name":"biguint-format","version":"0.0.3","description":"Node.js module to format big uint numbers from a node Buffer, an array of bytes or a string in hex format to decimal, hexadecimal or octet string","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/T-PWK/biguint-format.git"},"keywords":["big","bignum","biguint","uint","integer","hex","hexadecimal","octet","decimal","formatting"],"author":{"name":"Tom Pawlak"},"license":"MIT","bugs":{"url":"https://github.com/T-PWK/biguint-format/issues"},"_id":"biguint-format@0.0.3","dist":{"shasum":"f51c43f340c5222e8724f363beeb1cd51ea8ac81","tarball":"https://registry.npmjs.org/biguint-format/-/biguint-format-0.0.3.tgz","integrity":"sha512-9rsJupCdQ7voyx8K5anyi4yiimQdJgoXaiwJ+e4KbIw3k3kPi4nbPoijGnroYEBcjclScYlmH7K/VR62uimdgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTKMljcerlAaJkNFQfDqmHMXRJA4q7WgakJ24gjPkeKQIhALg1YfTsuTZUtHqVjzKDTKrb0I7rQALG1AHfpPAfyKC6"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tpwk","email":"pawlaktom@gmail.com"},"maintainers":[{"name":"tpwk","email":"pawlaktom@gmail.com"}],"directories":{},"deprecated":"Version 0.2.1+ works properly with the strict mode"},"0.1.0":{"name":"biguint-format","version":"0.1.0","description":"An arbitrary length unsigned integer formatter library for Node.js","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/T-PWK/biguint-format.git"},"keywords":["big","bignum","biguint","uint","integer","hex","hexadecimal","octet","decimal","binary","formatting"],"author":{"name":"Tom Pawlak"},"license":"MIT","bugs":{"url":"https://github.com/T-PWK/biguint-format/issues"},"_id":"biguint-format@0.1.0","dist":{"shasum":"6348e4efdc99c6e20abb36f6a9aa6cd23f58b393","tarball":"https://registry.npmjs.org/biguint-format/-/biguint-format-0.1.0.tgz","integrity":"sha512-XNDC77aAkP/lPbuD/Pr0sGBsz5a+TT9e0xz4emCE1y19fTBE1IALWIZwMIIKfLu0a2a9M16bJF4aFIN+9Yeevg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYutrfmS+eSP5b2mp0D1qM3mfsXZ6n1avTH8Wl2ITThQIgPX1L/9qLV2UHxpDi8BcxEjvm9IQDFMlMx8GRhC4XRV0="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tpwk","email":"pawlaktom@gmail.com"},"maintainers":[{"name":"tpwk","email":"pawlaktom@gmail.com"}],"directories":{},"deprecated":"Version 0.2.1+ works properly with the strict mode"},"0.1.1":{"name":"biguint-format","version":"0.1.1","description":"An arbitrary length unsigned integer formatter library for Node.js","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/T-PWK/biguint-format.git"},"keywords":["big","bignum","biguint","uint","integer","hex","hexadecimal","octet","decimal","binary","formatting"],"author":{"name":"Tom Pawlak"},"license":"MIT","bugs":{"url":"https://github.com/T-PWK/biguint-format/issues"},"_id":"biguint-format@0.1.1","dist":{"shasum":"1a3f5b5996f8605a5e90afc299c46624c3bc6011","tarball":"https://registry.npmjs.org/biguint-format/-/biguint-format-0.1.1.tgz","integrity":"sha512-FoSkR90NTfiyJjvtHtFbWw/oIFbrd7/NuToubEkpLVHitD1NewPHM/4TMu0IvksuAU97pKHsp1+bV0KJfdcPww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBPW7SZwIHt5xWYhH2fHev+jRBzXrCNMmlnTqEPqys11AiEA8VKNZnZ6CWLb/4JcnDOt2+pSigM17NRqf1yHthVgCsY="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tpwk","email":"pawlaktom@gmail.com"},"maintainers":[{"name":"tpwk","email":"pawlaktom@gmail.com"}],"directories":{},"deprecated":"Version 0.2.1+ works properly with the strict mode"},"0.2.0":{"name":"biguint-format","version":"0.2.0","description":"An arbitrary length unsigned integer formatter library for Node.js","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/T-PWK/biguint-format.git"},"keywords":["big","bignum","biguint","uint","integer","hex","hexadecimal","octet","decimal","binary","formatting"],"author":{"name":"Tom Pawlak","email":"tompwk@gmail.com","url":"http://blog.tompawlak.org/"},"licenses":[{"type":"MIT","url":"http://blog.tompawlak.org/p/mit.html"}],"bugs":{"url":"https://github.com/T-PWK/biguint-format/issues"},"_id":"biguint-format@0.2.0","dist":{"shasum":"ed3400030a76f3032853db20f081d490f13c4202","tarball":"https://registry.npmjs.org/biguint-format/-/biguint-format-0.2.0.tgz","integrity":"sha512-2W4bCTywGy2JoMFKHL8tbfAMO5okRGbSGNZUhfvE8/TETamo7h6HUl1nUUHO75Mq2FiPVyvaMXnOLzm9oFDdkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqOYYLBWbPerLoDUYmFInbULzrrisvloOEGNZ+C/wG8wIgbqSuJPj0sNnkW0aimm7cDtdLKrXBMny04ul4kXplGes="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tpwk","email":"pawlaktom@gmail.com"},"maintainers":[{"name":"tpwk","email":"pawlaktom@gmail.com"}],"directories":{},"deprecated":"Version 0.2.1+ works properly with the strict mode"},"0.2.1":{"name":"biguint-format","version":"0.2.1","description":"An arbitrary length unsigned integer formatter library for Node.js","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/T-PWK/biguint-format.git"},"keywords":["big","bignum","biguint","uint","integer","hex","hexadecimal","octet","decimal","binary","formatting"],"author":{"name":"Tom Pawlak","email":"tompwk@gmail.com","url":"http://blog.tompawlak.org/"},"licenses":[{"type":"MIT","url":"http://blog.tompawlak.org/p/mit.html"}],"bugs":{"url":"https://github.com/T-PWK/biguint-format/issues"},"homepage":"https://github.com/T-PWK/biguint-format","_id":"biguint-format@0.2.1","dist":{"shasum":"f2eed05441421062563b5bc84301000113418733","tarball":"https://registry.npmjs.org/biguint-format/-/biguint-format-0.2.1.tgz","integrity":"sha512-viTRywddc691aF2WaUKDPuuutHi6u6j60D2OLI6yMZnvD4VACWOuuvEtzHc1xDST2Ng/x/VEJlGfCcXyu7xTvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID4IyCMWRo+NCBPVTMpLbYnhuBvHi8hPvFtuVnoJO0T+AiEAngMG9QStEXWCi8fivFsV90f+RTu6dqrRcK5OE3DtixA="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"tpwk","email":"tompwk@gmail.com"},"maintainers":[{"name":"tpwk","email":"pawlaktom@gmail.com"}],"directories":{}},"0.2.2":{"name":"biguint-format","version":"0.2.2","description":"An arbitrary length unsigned integer formatter library for Node.js","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/T-PWK/biguint-format.git"},"keywords":["big","bignum","biguint","uint","integer","hex","hexadecimal","octet","decimal","binary","formatting"],"author":{"name":"Tom Pawlak","email":"tompwk@gmail.com","url":"http://blog.tompawlak.org/"},"licenses":[{"type":"MIT","url":"http://blog.tompawlak.org/p/mit.html"}],"bugs":{"url":"https://github.com/T-PWK/biguint-format/issues"},"homepage":"https://github.com/T-PWK/biguint-format","_id":"biguint-format@0.2.2","dist":{"shasum":"a81da1276823c5de969e25f1ba95ba47a0662151","tarball":"https://registry.npmjs.org/biguint-format/-/biguint-format-0.2.2.tgz","integrity":"sha512-+bwVGwg8X5bllROmK3FoWL1gz8YH/VK8kXNdVk+vS2/adLWHm1XLyWwN1HSDxIp0mgemEhn+1vY1FFjwOB0Q/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCINtIPAtLTdVzjG1pQRonUTYd8U+tWeGZ4ENuDPCMADAIhAOc6/afL7HuFP23rD51hR47AVx9FfpCSUKsktYkzYeE9"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"tpwk","email":"tompwk@gmail.com"},"maintainers":[{"name":"tpwk","email":"pawlaktom@gmail.com"}],"directories":{}},"1.0.0":{"name":"biguint-format","version":"1.0.0","description":"An arbitrary length unsigned integer formatter library for Node.js","main":"index.js","scripts":{"test":"istanbul cover _mocha --report lcovonly"},"repository":{"type":"git","url":"https://github.com/T-PWK/biguint-format.git"},"keywords":["big","bignum","biguint","uint","integer","hex","hexadecimal","octet","decimal","binary","formatting"],"author":{"name":"Tom Pawlak","email":"tompwk@gmail.com","url":"http://blog.tompawlak.org/"},"licenses":[{"type":"MIT","url":"http://blog.tompawlak.org/p/mit.html"}],"bugs":{"url":"https://github.com/T-PWK/biguint-format/issues"},"gitHead":"a1d832107707757311582c8190897276d8f8a4e0","homepage":"https://github.com/T-PWK/biguint-format","_id":"biguint-format@1.0.0","_shasum":"e1863f47dfdfed316cc95726e4cd9d1994fc8c5e","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"tpwk","email":"tompwk@gmail.com"},"maintainers":[{"name":"tpwk","email":"pawlaktom@gmail.com"}],"dist":{"shasum":"e1863f47dfdfed316cc95726e4cd9d1994fc8c5e","tarball":"https://registry.npmjs.org/biguint-format/-/biguint-format-1.0.0.tgz","integrity":"sha512-Xv5PvGnd6TgaZvxPFI9i/RDXnGcwZA6t8sKsjFprnl8TFcZPQiZuofgbDP1k/UdBXFLXFF692uu8DdVAvoC8sw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhM1hHqus4MBp29PX6kKJt2Y/qwK2Y4+ru2kYQzxaREAIgVSj05lgEcL38W2mSLdq02aO9t2qclrpP7w51GD5TfyE="}]},"directories":{}},"1.0.1":{"name":"biguint-format","version":"1.0.1","description":"An arbitrary length unsigned integer formatter library for Node.js","main":"index.js","scripts":{"test":"istanbul cover _mocha --report lcovonly"},"repository":{"type":"git","url":"git+https://github.com/T-PWK/biguint-format.git"},"keywords":["big","bignum","biguint","uint","integer","hex","hexadecimal","octet","decimal","binary","formatting"],"author":{"name":"Tom Pawlak","email":"tompwk@gmail.com","url":"https://blog.abelotech.com/"},"licenses":[{"type":"MIT"}],"bugs":{"url":"https://github.com/T-PWK/biguint-format/issues"},"gitHead":"2c90191a66c5a93aba7f419db850c7a4e3a68414","homepage":"https://github.com/T-PWK/biguint-format#readme","_id":"biguint-format@1.0.1","_npmVersion":"6.5.0","_nodeVersion":"11.5.0","_npmUser":{"name":"tpwk","email":"tompwk@gmail.com"},"dist":{"integrity":"sha512-EyEAXbBXdXHTmysr9bFjiTiFa7nDwew4N2qZ2Ka0aAM9oTidS5lNH3jVTBPFcaXyRCzLpw1cb3ATD+fzg89/fQ==","shasum":"0ad9a81a48de96a79084c1a2fcc11bf27b80e284","tarball":"https://registry.npmjs.org/biguint-format/-/biguint-format-1.0.1.tgz","fileCount":8,"unpackedSize":22827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPf+4CRA9TVsSAnZWagAAWWkP+wf4q253Sueubw5yRqcy\nIEtGkepmXTRWmkYjn2b84IWScUd+uHzrr6Z99/y2zc0TSzWucpA9qRTiDFH3\nm0modYMFO9GbFI6krJg/9lBD1yV1nf390T6Kt84q2QV7l4Axi/gDV1gnRsIC\nKCzoRpDDMbuhOm8goolEdV4StRV+ULtuzJfzAX9N+A0DmIy6Al36KdUt0Kz4\nYPLluDbWv/0XnOtVYugxTCnp+yR8lkdDytV8IfUoNRpXtMPy84L8P5gAx/Rb\n7MuKYvQ3QBaTROMyVKjATTpY/cAXKM2slZJT/mbIqUa387+HVRjd+qH/rsWi\nwPG4/H9l/dCBPxK8/fzzpE2W6zrktp0DVy2CfxXJ+0haex6ZaxWvjxA9P0Pe\n5JmqybqCvRW2siN585A8eqZ7zJpuCXVlQBO/yp0ID12BSVuJQPRzmSYTjYA5\nyo0aC8PluBYDuUCXuFOwTDAQG9Xl70QCYvqNo71GjMtwIRxS/32bAOMYQ4hK\nTYYH8VvGUYZWvTvxtuGvS9tSMplC00RYaHpbA8+x370bE+mS7Bil07EdtYg9\nBbnXPTGX5rOoSX+ei1S4hvTtOy+9N/FhoxpL6sDkNv7MrIi4ZJZqUfDljyBS\n5JGnMMgsDEb/gGaCu8uec2E+j0Ck17mG9ABG1fORZX7ivh1HTC3SIulTwWmd\ndetG\r\n=yIuD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3BWc3v5gcRU2J4UsrQ+cnvuWdFeliIBbrQ2XSFirWqQIhAMq1eoA3/KrYJJLI7I+Wxyv69x0JrWdnFIlnjF4Zg7Jj"}]},"maintainers":[{"name":"tpwk","email":"pawlaktom@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/biguint-format_1.0.1_1547567032146_0.9539060719781747"},"_hasShrinkwrap":false},"1.0.2":{"name":"biguint-format","version":"1.0.2","description":"An arbitrary length unsigned integer formatter library for Node.js","main":"index.js","scripts":{"test":"istanbul cover _mocha --report lcovonly"},"repository":{"type":"git","url":"git+https://github.com/T-PWK/biguint-format.git"},"keywords":["big","bignum","biguint","uint","integer","hex","hexadecimal","octet","decimal","binary","formatting"],"author":{"name":"Tom Pawlak","email":"tompwk@gmail.com","url":"https://blog.abelotech.com/"},"licenses":[{"type":"MIT"}],"bugs":{"url":"https://github.com/T-PWK/biguint-format/issues"},"gitHead":"4fc39c98a75c00e4d2e98f165757365686d0ddec","homepage":"https://github.com/T-PWK/biguint-format#readme","_id":"biguint-format@1.0.2","_nodeVersion":"13.10.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-A9/8NoHnszWRAp4WCrgwe70wMd0FVDB3pXTdKs78z3pgwHRhc/BGU3uO7Wmfp9ueWD5WpmncL1OpypGnvc1R3w==","shasum":"21e8d6c8259a8c9b39874ba6a060a1a8ec137f30","tarball":"https://registry.npmjs.org/biguint-format/-/biguint-format-1.0.2.tgz","fileCount":8,"unpackedSize":23087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeluOUCRA9TVsSAnZWagAA10QP/36glYGX/Owj6NiRgHqa\nFFggJpxM29dUzSzTPQM4oY0Z2O3PDxVyhzODtJVxGEcfcWjR4S+YAivyu2x5\n2csYaBZbr3R5xzyc0FFamd65RhL3hAuD1XHQk1wBE3hWP73+7ptWul+YLcRU\nZB/TGbF+60HhT+9Vjqf4fdshneOhARGQnceWUSuKZqZviI2htXi2WpUr7sJi\nyvi4Chv+LGdDHpnfiFdjiguNbFyCAsHEd/haJ07V2UHcv6jiiTOeDsE9hI64\ni5cA/G1AD4pX0GC12SQ/RKQBPZniTlKtsUIUfrtMipZxPYcnEWdAotVu1Ade\nfxxpUv7UZlAgrpzkhGT6TJhdehma4vtjd8Yfmqx2U36Shg4+ni/InI5Rj+Ns\nxN+DvVH5lYdq9nsgE81TOXd/5FmV36m3cDa8rYicN3j7PrJ0ngwJYsoZbf3L\ni+Iz0x/A4qBQBcyaGbe/7SbvyBJKkmKuq+kpGi6NK6TcKqKKlWwvdtfwnUbt\nj+x+Cdj/NDnG6BbBPRCRber2eOR+r5O1UcYRDI2NBPMMjTnWbKLEStan/K4f\nmO4f2GVV7SlTwaN3NIiWtMxhQPqOuTW84YK8OagtEVTGPkzRVh3wacNzBx1k\n8qwadCRyyZI8UCjWpF/vhMIy4DC/WlCoLcVJJHz+CaRmS7Piucl+MBETzQ+s\nIWbC\r\n=Mbvc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEW0uiD5kUATc1ShEypoiVLSu2LoyIh03byhdT5isCtsAiEAhdrGfQ6VNQCWfeqDfmmYJF28v6T3YHMuaZj8bUwM0HM="}]},"maintainers":[{"name":"tpwk","email":"pawlaktom@gmail.com"}],"_npmUser":{"name":"tpwk","email":"tompwk@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/biguint-format_1.0.2_1586946964161_0.26360486086701296"},"_hasShrinkwrap":false}},"readme":"Big UInteger Formatter \n====\n[![Build Status](https://travis-ci.org/T-PWK/biguint-format.svg?branch=master)](https://travis-ci.org/T-PWK/biguint-format)\n[![npm version](https://badge.fury.io/js/biguint-format.svg)](http://badge.fury.io/js/biguint-format)\n[![Coverage Status](https://coveralls.io/repos/github/T-PWK/biguint-format/badge.svg?branch=master)](https://coveralls.io/github/T-PWK/biguint-format?branch=master)\n[![Code Climate](https://codeclimate.com/github/T-PWK/biguint-format/badges/gpa.svg)](https://codeclimate.com/github/T-PWK/biguint-format) \n\nAn arbitrary length unsigned integer formatter library for Node.js.\n\nJavaScript uses [IEEE 754 double-precision floats](http://en.wikipedia.org/wiki/IEEE_floating_point) to represents numbers. That works perfectly fine for small numbers, however, it is an issue for big integers. This means they lose integer precision for values beyond `+/- 2 pow 53`\n\n### Problem ###\n\nPresentation of *small* integer in decimal format works fine (e.g. `0x1FF`). However, we can see an issue when we try to convert big integers like `0x1234567890abcdeffedcba908765421` to string decimal.\n\n```js\n(0x1FF).toString(10) // returns '511' - correct\n(0x1234567890abcdeffedcba908765421).toString(10) \n\n// output is '1.5123660750094533e+36' - incorrect - lose integer precision\n```\n\n### Solution ###\n\nNode.js `biguint-format` module has been built in order to help display very large (arbitrary length) unsigned integers without any integer precision lose.\n\nExample:\n```js\nvar format  = require('biguint-format');\n\n// 0x1234567890abcdeffedcba908765421 split into bytes\nformat([\n  0x1, 0x23, 0x45, 0x67, 0x89, 0x0a, 0xbc, 0xde, \n  0xff, 0xed, 0xcb, 0xa9, 0x08, 0x76, 0x54, 0x21], 'dec')\n\n// output value is '1512366075009453296626403467035300897' - no integer precision lose\n```\n## Installation ##\n```\n$ npm install biguint-format\n```\n\n## API ##\n\nThe `biguint-format` module is a function (`fn(number, format [, options])`) which performs number conversion to the required string format. \n\nThe `number` argument represents an arbitrary length unsigned integer number to be converted to string. It can be provided in one of the following formats:\n* Node.js [Buffer](http://nodejs.org/api/buffer.html) e.g. `new Buffer([0x1, 0xFF])`\n* An array of bytes (values from `0x00` to `0xFF`) e.g. `[0x1, 0xFF]`.\n* A string with a number in a hexadecimal format e.g. `0x1FF0A` or `1FF0A`\n\nThe `format` argument represents output string format and it can be one of the following options:\n* `dec` - conversion to decimal format e.g. `123324884`\n* `bin` - conversion to binary format e.g. `1100101010`\n* `hex` - conversion to hexadecimal format e.g. `0xADFFAA11`\n* `oct` - conversion to octet format e.g. `07771`\n\nIf `format` argument is missing, `dec` format is used as a default option. Note that you will have to specify format if you would like to use `options` argument.\n\nThe `options` argument (optional) is an object which provides some additional conversion details:\n* `format` - specifies format of the input number. It can be either `BE` for Big Endian or `LE` for Little Endian. `BE` is a default value. Check [wikipedia](http://en.wikipedia.org/wiki/Endianness) for more details.\n* `prefix` - output string prefix. Note that this option is not supported by `dec` conversion.\n* `groupsize` - splits output string into groups of `groupsize` length characters.\n* `delimiter` - specifies delimiter string to be inserted in between character groups. Default value is space. It is quite handy option when dealing with large numbers.\n* `trim` - (works only with `bin` formatting) specifies if the leading 0's should be trimmed.\n* `padstr` - string used for right-padding of the formatted string if its length (including prefix and grouping) is less than value of `size` parameter.\n* `size` - determines formatted string size. That option has effect only with `padstr` option. Note that the formatted string is not trimmed if its length is longer than value of `size` parameter.\n\n### Examples ###\n\n```js\nvar format = require('biguint-format');\n\nvar buffer1 = new Buffer([0x63, 0xA7, 0x27]);\nvar buffer2 = new Buffer([0x27, 0xA7, 0x63]);\n\nformat(buffer1, 'dec', {format:'LE'})   // returns '2598755'\nformat(buffer2, 'dec', {format:'BE'})   // returns '2598755'\nformat(buffer2, 'dec')                  // returns '2598755'\n\nformat(buffer1, 'hex', {format:'LE'})   // returns '27a763'\nformat(buffer2, 'hex', {format:'BE'})   // returns '27a763'\nformat(buffer2, 'hex', {prefix:'0x'})   // returns '0x27a763'\n\nformat(buffer2, 'bin')                  // 001001111010011101100011\nformat(buffer2, 'bin', {groupsize:8})   // 00100111 10100111 01100011\nformat(buffer2, 'oct')                  // 11723543\nformat(buffer2, 'oct', {prefix:'0'})    // 011723543\n```\n\nUse of `delimiter` option which helps with large numbers e.g.\n```js\nvar format = require('biguint-format');\n\nformat([0x2A, 0xFF, 0x1E, 0x22, 0x11, 0x30, 0x12, 0x2F], 'bin')\nformat([0x2A, 0xFF, 0x1E, 0x22, 0x11, 0x30, 0x12, 0x2F], 'bin', {groupsize:8})\n\n// returned values\n0010101011111111000111100010001000010001001100000001001000101111        // no delimiter\n00101010 11111111 00011110 00100010 00010001 00110000 00010010 00101111 // with delimiter\n```\n\nExample of `trim` option which works only with binary formatter\n```js\nvar format = require('biguint-format');\nvar buffer = new Buffer([0x1, 0xA7, 0x63]);\n\nformat(buffer, 'bin');              // returns 000000011010011101100011\nformat(buffer, 'bin', {trim:true}); // returns 11010011101100011\n```\n\nExample of `padstr` and `size` options\n```js\nvar format = require('biguint-format');\nvar buffer = new Buffer([0x1, 0xA7, 0x63]);\n\nformat(buffer, 'dec'); // returns 108387\nformat(buffer, 'oct'); // returns 323543\nformat(buffer, 'hex'); // returns 1a763\n\nformat(buffer, 'dec', {padstr:'0', size:6});  // returns 108387 - no padding effect\nformat(buffer, 'oct', {padstr:'0', size:10}); // returns 0000323543\nformat(buffer, 'hex', {padstr:'0', size:6});  // returns 01a763\n```\n\n## Author ##\nWritten by Tom Pawlak - [Blog](https://blog.abelotech.com)\n\n## License ##\n\nCopyright (c) 2014 Tom Pawlak\n\nMIT License : https://blog.abelotech.com/mit-license/\n","maintainers":[{"name":"tpwk","email":"pawlaktom@gmail.com"}],"time":{"modified":"2022-06-13T04:36:44.926Z","created":"2014-01-02T16:29:35.614Z","0.0.1":"2014-01-02T16:29:36.520Z","0.0.2":"2014-01-07T00:00:14.648Z","0.0.3":"2014-01-07T17:12:32.149Z","0.1.0":"2014-01-08T15:26:41.572Z","0.1.1":"2014-01-11T00:09:50.956Z","0.2.0":"2014-02-04T12:20:16.242Z","0.2.1":"2014-06-02T12:20:35.446Z","0.2.2":"2014-09-19T15:14:37.830Z","1.0.0":"2014-12-22T15:20:24.506Z","1.0.1":"2019-01-15T15:43:52.283Z","1.0.2":"2020-04-15T10:36:04.296Z"},"author":{"name":"Tom Pawlak","email":"tompwk@gmail.com","url":"https://blog.abelotech.com/"},"repository":{"type":"git","url":"git+https://github.com/T-PWK/biguint-format.git"},"readmeFilename":"README.md","users":{"tpwk":true,"456wyc":true},"homepage":"https://github.com/T-PWK/biguint-format#readme","keywords":["big","bignum","biguint","uint","integer","hex","hexadecimal","octet","decimal","binary","formatting"],"bugs":{"url":"https://github.com/T-PWK/biguint-format/issues"}}