{"_id":"longbits","_rev":"4577455","name":"longbits","description":"BigInts represented as hi/low bit values","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"}],"time":{"modified":"2026-04-10T15:47:35.000Z","created":"2022-07-27T09:16:56.729Z","1.1.0":"2022-07-30T21:58:52.577Z","1.0.1":"2022-07-28T16:47:10.801Z","1.0.0":"2022-07-27T10:07:09.468Z","0.0.1":"2022-07-27T10:03:12.127Z","0.0.0":"2022-07-27T09:16:56.729Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/achingbrain/longbits.git"},"versions":{"1.1.0":{"name":"longbits","version":"1.1.0","description":"BigInts represented as hi/low bit values","license":"Apache-2.0 OR MIT","homepage":"https://github.com/achingbrain/longbits#readme","repository":{"type":"git","url":"git+https://github.com/achingbrain/longbits.git"},"bugs":{"url":"https://github.com/achingbrain/longbits/issues"},"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./src/index.d.ts","import":"./dist/src/index.js"}},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"}},"release":{"branches":["master"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"breaking":true,"release":"major"},{"revert":true,"release":"patch"},{"type":"feat","release":"minor"},{"type":"fix","release":"patch"},{"type":"docs","release":"patch"},{"type":"test","release":"patch"},{"type":"deps","release":"patch"},{"scope":"no-release","release":false}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","section":"Trivial Changes"},{"type":"docs","section":"Documentation"},{"type":"deps","section":"Dependencies"},{"type":"test","section":"Tests"}]}}],"@semantic-release/changelog","@semantic-release/npm","@semantic-release/github","@semantic-release/git"]},"scripts":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","test":"aegir test","test:node":"aegir test -t node --cov","test:chrome":"aegir test -t browser --cov","test:chrome-webworker":"aegir test -t webworker","test:firefox":"aegir test -t browser -- --browser firefox","test:firefox-webworker":"aegir test -t webworker -- --browser firefox","test:electron-main":"aegir test -t electron-main","release":"aegir release"},"dependencies":{"byte-access":"^1.0.1","uint8arraylist":"^2.0.0"},"devDependencies":{"aegir":"^37.4.7"},"gitHead":"9de5e70a42ac3010d24e3c5c0c4f99e39985244d","_id":"longbits@1.1.0","_nodeVersion":"16.16.0","_npmVersion":"8.15.1","dist":{"shasum":"d6a7b2411dead1cf4b79ee4586816e65c7356ab9","size":4667,"noattachment":false,"key":"/longbits/-/longbits-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/longbits/download/longbits-1.1.0.tgz"},"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"directories":{},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/longbits_1.1.0_1659218332406_0.8087512390604228"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-30T21:58:55.621Z","publish_time":1659218332577,"_cnpm_publish_time":1659218332577},"1.0.1":{"name":"longbits","version":"1.0.1","description":"BigInts represented as hi/low bit values","license":"Apache-2.0 OR MIT","homepage":"https://github.com/achingbrain/longbits#readme","repository":{"type":"git","url":"git+https://github.com/achingbrain/longbits.git"},"bugs":{"url":"https://github.com/achingbrain/longbits/issues"},"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./src/index.d.ts","import":"./dist/src/index.js"}},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"}},"release":{"branches":["master"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"breaking":true,"release":"major"},{"revert":true,"release":"patch"},{"type":"feat","release":"minor"},{"type":"fix","release":"patch"},{"type":"docs","release":"patch"},{"type":"test","release":"patch"},{"type":"deps","release":"patch"},{"scope":"no-release","release":false}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","section":"Trivial Changes"},{"type":"docs","section":"Documentation"},{"type":"deps","section":"Dependencies"},{"type":"test","section":"Tests"}]}}],"@semantic-release/changelog","@semantic-release/npm","@semantic-release/github","@semantic-release/git"]},"scripts":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","test":"aegir test","test:node":"aegir test -t node --cov","test:chrome":"aegir test -t browser --cov","test:chrome-webworker":"aegir test -t webworker","test:firefox":"aegir test -t browser -- --browser firefox","test:firefox-webworker":"aegir test -t webworker -- --browser firefox","test:electron-main":"aegir test -t electron-main","release":"aegir release"},"dependencies":{"byte-access":"^1.0.1","uint8arraylist":"^2.0.0"},"devDependencies":{"aegir":"^37.4.7"},"gitHead":"0a38c057d7c1d90b8775bcec352f6690e915396a","_id":"longbits@1.0.1","_nodeVersion":"16.16.0","_npmVersion":"8.15.1","dist":{"shasum":"f6b39ab914b40be65c241f63b072357a1f57f55b","size":4433,"noattachment":false,"key":"/longbits/-/longbits-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/longbits/download/longbits-1.0.1.tgz"},"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"directories":{},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/longbits_1.0.1_1659026830595_0.2669124125175719"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-28T17:09:55.413Z","publish_time":1659026830801,"_cnpm_publish_time":1659026830801},"1.0.0":{"name":"longbits","version":"1.0.0","description":"BigInts represented as hi/low bit values","license":"Apache-2.0 OR MIT","homepage":"https://github.com/achingbrain/longbits#readme","repository":{"type":"git","url":"git+https://github.com/achingbrain/longbits.git"},"bugs":{"url":"https://github.com/achingbrain/longbits/issues"},"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./src/index.d.ts","import":"./dist/src/index.js"}},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"}},"release":{"branches":["master"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"breaking":true,"release":"major"},{"revert":true,"release":"patch"},{"type":"feat","release":"minor"},{"type":"fix","release":"patch"},{"type":"chore","release":"patch"},{"type":"docs","release":"patch"},{"type":"test","release":"patch"},{"scope":"no-release","release":false}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","section":"Trivial Changes"},{"type":"docs","section":"Documentation"},{"type":"deps","section":"Dependencies"},{"type":"test","section":"Tests"}]}}],"@semantic-release/changelog","@semantic-release/npm","@semantic-release/github","@semantic-release/git"]},"scripts":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","test":"aegir test -t node","test:node":"aegir test -t node --cov","test:chrome":"aegir test -t browser --cov","test:chrome-webworker":"aegir test -t webworker","test:firefox":"aegir test -t browser -- --browser firefox","test:firefox-webworker":"aegir test -t webworker -- --browser firefox","test:electron-main":"aegir test -t electron-main","release":"aegir release"},"dependencies":{"byte-access":"^0.0.0","uint8arraylist":"^1.5.2"},"devDependencies":{"aegir":"^37.4.6"},"gitHead":"70b3283877c6e07bea354175f309539b21413214","_id":"longbits@1.0.0","_nodeVersion":"16.16.0","_npmVersion":"8.15.0","dist":{"shasum":"bf6fef6f9dd95780006a356487b45ddbff2feae1","size":4434,"noattachment":false,"key":"/longbits/-/longbits-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/longbits/download/longbits-1.0.0.tgz"},"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"directories":{},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/longbits_1.0.0_1658916429327_0.8228480739141666"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-27T10:50:35.505Z","publish_time":1658916429468,"_cnpm_publish_time":1658916429468},"0.0.1":{"name":"longbits","version":"0.0.1","description":"BigInts represented as hi/low bit values","license":"Apache-2.0 OR MIT","homepage":"https://github.com/achingbrain/longbits#readme","repository":{"type":"git","url":"git+https://github.com/achingbrain/longbits.git"},"bugs":{"url":"https://github.com/achingbrain/longbits/issues"},"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./src/index.d.ts","import":"./dist/src/index.js"}},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"}},"release":{"branches":["master"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"breaking":true,"release":"major"},{"revert":true,"release":"patch"},{"type":"feat","release":"minor"},{"type":"fix","release":"patch"},{"type":"chore","release":"patch"},{"type":"docs","release":"patch"},{"type":"test","release":"patch"},{"scope":"no-release","release":false}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","section":"Trivial Changes"},{"type":"docs","section":"Documentation"},{"type":"deps","section":"Dependencies"},{"type":"test","section":"Tests"}]}}],"@semantic-release/changelog","@semantic-release/npm","@semantic-release/github","@semantic-release/git"]},"scripts":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","test":"aegir test -t node","test:node":"aegir test -t node --cov","test:chrome":"aegir test -t browser --cov","test:chrome-webworker":"aegir test -t webworker","test:firefox":"aegir test -t browser -- --browser firefox","test:firefox-webworker":"aegir test -t webworker -- --browser firefox","test:electron-main":"aegir test -t electron-main","release":"aegir release"},"dependencies":{"byte-access":"^0.0.0","uint8arraylist":"^1.5.2"},"devDependencies":{"aegir":"^37.4.6"},"gitHead":"ae78f80dcbe3af6e253748b872c181fdc4f59aa2","_id":"longbits@0.0.1","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"406f43a7b5d3b7d6f376f722b48e99edd6280d32","size":4436,"noattachment":false,"key":"/longbits/-/longbits-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/longbits/download/longbits-0.0.1.tgz"},"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"directories":{},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/longbits_0.0.1_1658916191937_0.7941634390437555"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-27T10:50:35.201Z","publish_time":1658916192127,"_cnpm_publish_time":1658916192127},"0.0.0":{"name":"longbits","version":"0.0.0","description":"BigInts represented as hi/low bit vales","license":"Apache-2.0 OR MIT","homepage":"https://github.com/achingbrain/longbits#readme","repository":{"type":"git","url":"git+https://github.com/achingbrain/longbits.git"},"bugs":{"url":"https://github.com/achingbrain/longbits/issues"},"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./src/index.d.ts","import":"./dist/src/index.js"}},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"}},"release":{"branches":["master"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"breaking":true,"release":"major"},{"revert":true,"release":"patch"},{"type":"feat","release":"minor"},{"type":"fix","release":"patch"},{"type":"chore","release":"patch"},{"type":"docs","release":"patch"},{"type":"test","release":"patch"},{"scope":"no-release","release":false}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","section":"Trivial Changes"},{"type":"docs","section":"Documentation"},{"type":"deps","section":"Dependencies"},{"type":"test","section":"Tests"}]}}],"@semantic-release/changelog","@semantic-release/npm","@semantic-release/github","@semantic-release/git"]},"scripts":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","test":"aegir test -t node","test:node":"aegir test -t node --cov","test:chrome":"aegir test -t browser --cov","test:chrome-webworker":"aegir test -t webworker","test:firefox":"aegir test -t browser -- --browser firefox","test:firefox-webworker":"aegir test -t webworker -- --browser firefox","test:electron-main":"aegir test -t electron-main","release":"aegir release"},"dependencies":{"uint8arraylist":"^1.5.2","uint8arraylist-accessor":"^0.0.0"},"devDependencies":{"aegir":"^37.4.5"},"gitHead":"a3b373a589af9c4347f03dce2de5a214e7a2a5c9","_id":"longbits@0.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"37fa00922b5ab2cc90caa0fc96a930b1ebec2991","size":4446,"noattachment":false,"key":"/longbits/-/longbits-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/longbits/download/longbits-0.0.0.tgz"},"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"directories":{},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/longbits_0.0.0_1658913416462_0.8433937435930419"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-27T10:50:34.259Z","publish_time":1658913416729,"_cnpm_publish_time":1658913416729}},"readme":"# longbits <!-- omit in toc -->\n\n[![codecov](https://img.shields.io/codecov/c/github/achingbrain/longbits.svg?style=flat-square)](https://codecov.io/gh/achingbrain/longbits)\n[![CI](https://img.shields.io/github/workflow/status/achingbrain/longbits/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/longbits/actions/workflows/js-test-and-release.yml)\n\n> BigInts represented as hi/low bit values\n\n## Table of contents <!-- omit in toc -->\n\n- [Install](#install)\n- [Usage](#usage)\n- [License](#license)\n- [Contribution](#contribution)\n\n## Install\n\n```console\n$ npm i longbits\n```\n\n## Usage\n\n```js\nimport { LongBits } from 'longbits'\n\nconst val = 6547656755453442n\nconst bits = LongBits.fromBigInt(val)\n\nbits.toBigInt() // 6547656755453442n\n```\n\n## License\n\nLicensed under either of\n\n- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)\n- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","_attachments":{},"homepage":"https://github.com/achingbrain/longbits#readme","bugs":{"url":"https://github.com/achingbrain/longbits/issues"},"license":"Apache-2.0 OR MIT"}