{"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":{"integrity":"sha512-22U2exkkYy7sr7nuQJYx2NEZ2kEMsC69+BxM5h8auLvkVIJa+LwAB5mFIExnuW2dFuYXFOWsFMKXjaWiq/htYQ==","shasum":"d6a7b2411dead1cf4b79ee4586816e65c7356ab9","tarball":"http://registry-npm.ywwl.com/longbits/download/longbits-1.1.0.tgz","fileCount":8,"unpackedSize":23021,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQyNk7iZebhhPd813dt3vRXmiaBrGjLWENUqkwhhSnLwIgRCItWoqPmVucwMJvM0Qmsl++njAsVR0+Vms7PQ7aZ8U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5amcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmofDw/+IvnYY0gTrHatlqnQXlCy+AAVvEamjXp/kL0MTpm6nOMmtbme\r\nIpwUtWQpTmPtIVfSB6ZiJ2vjlb1xxix4h+jLCJ3IABIL1EgVd+OgZgE+5vam\r\n+h3ejdOxl/UFdlprxrnzTf0gY1ItRPWfOVDGK7W5veSabJDrI/ed3B8y5zdA\r\nbtzia5hezYhxPi9zyJ6eRdiujTryKr7oR7RmOieaKjCAT2w3UUkHXzveajjF\r\n/Hny5L0Gy29CfBH3qGPSVdsXFple8HwDQKnnXqSu7EhvAT1oLXznw2YQ+SOC\r\nogWCNosVAiQcZ0evQzfNq7bNZ2AfvyWB/NYcfQ4Mj+2JIsaLLsJckrkG2Mwb\r\nYNccuN1gz5poIgoDxb6OLyf8iMHtIcJmrSwGiyujx5SDo5nltMiU3g2b9EFt\r\nZcGIapU14xv/qy3JB3K+Q3T73usm782RqaitMu7s47sAw4TEdKeyhMqnSROK\r\npYWk2cv5lTllHOI5wTOdiHVoXm+xIw3GnkkacECkSjn0FJiuUT6PzWeGwBec\r\nIac/NWN9/k9EG8j3gOFVSRbQV89lqk5Y2K0qYSjbBDCr4itMnD8fM0kUqGt6\r\n4hgD39plDmT9gKvP2cMr+Dz5uidvGBo5VvQ5tpwERwHelZsvDNycKF7zacik\r\nVsqlnWNKLCmP0SeL5sT0BxspjZvd5clrUa0=\r\n=JDiQ\r\n-----END PGP SIGNATURE-----\r\n","size":4667,"noattachment":false,"key":"/longbits/-/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,"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","publish_time":1659218332577,"_cnpm_publish_time":1659218332577,"dist-tags":{"latest":"1.1.0"}}