{"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":{"integrity":"sha512-NrLjXRJFz9YQ1MaiAQkgEks/hAnVr6yDF1At3Kkwx7hy85BfxV+PRlp6AxEe8ZE3SfXuwisjFa5oLOAfd9sB0g==","shasum":"bf6fef6f9dd95780006a356487b45ddbff2feae1","tarball":"http://registry-npm.ywwl.com/longbits/download/longbits-1.0.0.tgz","fileCount":8,"unpackedSize":21118,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9fkDkz/lgyFmBAWKGBjWgmCcnQEVdXUxr9ij3ytMcjwIhAIJwkR9U0lktrLm3GiaoKs98cW8/4z/jASHf/pp0Yywz"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4Q5NACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqsmA/8CWV/LKMUczDTsP0zNmK21V4cFZRMRybF3vPYoj0kuhE5sjMr\r\nwnVoMNWSKgfBlAceszIyQGunrQEMJBrjY7CZu+jWowZa6bhBxi80IEURgffz\r\nEasQcbpoH2I2XYOUzCuUbDEexzgwTeyS8A5DTEPbq9c7/ZXCAcvZUZAMT18F\r\ntw7oiTfa7IaQgbXFgtbeSeuupeVWKiFOfRcBH44mja8FnRPBs9PnVM+5VE95\r\nsJ8mSbrrF8A6Jjn4BW2XpphEVyLRbbL3B7tMhQwZgQ8AE13wORUdy0zmIu1p\r\nF3PemYs4/fP1oZ9kZ0A/V3UzsQk/S4l8awhoDAa6pdFZCQu6zlD2RP3HVjXg\r\nmTjC7PC5unC+vCiAykRbWbRGxuLurcuHbypxWzAOy8tPBBuq7N8zfjCTtV4l\r\nh/nK7N81kd0ApfJuo17lPf7d7wojNtsBTE1new2JAOpNDqgfLIBCMdLgQKjc\r\nS3jKS+I/YgPBwGAktFURPJpJWLUxnGG+HbMFUDULHHqUSWsb+jHh4X4gZdn+\r\nEUiauafYbvvqwEFpiIQmhzawCulso4hHFsz9lnrWWlbIHkIAxGGoHspHYMeb\r\nXGEfmxFcIYj2UDyQwMLySGPCrVwGxDIGD8zkeUJd9uqT9zfmuLQYxJy3FBUZ\r\nY31Ati8kr+a3TyzYgGA33S1GaP7NIH+yLi0=\r\n=/lNy\r\n-----END PGP SIGNATURE-----\r\n","size":4434,"noattachment":false,"key":"/longbits/-/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,"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":1658916429468,"_cnpm_publish_time":1658916429468,"dist-tags":{"latest":"1.1.0"}}