{"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":{"integrity":"sha512-C3q4Rab5CFlypvKbR7E/JwSeScsIVntGgLLlEWAZEuriL5NqoW12fOz5S7ZWpbodqilCuzxvf/6UdSzTxSUgSQ==","shasum":"37fa00922b5ab2cc90caa0fc96a930b1ebec2991","tarball":"http://registry-npm.ywwl.com/longbits/download/longbits-0.0.0.tgz","fileCount":8,"unpackedSize":21161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChnGIbObU6F1niB0Ym/6zL2EHIftAgw+tFbAafU6GjFwIgGRLbZx5ATFNrEFZsbRxA5HuJvJ2kpWUex9PLFe5uyZw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4QKIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqlnxAAmYiUe1yAI7wLipc4IOJQMf9Vkf/IncwO4a+WyG3XJuyK9tce\r\n1XXltkXVoVgu6ukYmls7MOYCAwlyKAw85q1bCnbSz7yOVX1TLnOTQpbwvm5W\r\nUqQVBl8yCeViRWSruOMiExaVirbenfJXNpa/Q5pptAQr//3D/JI2bDv3F88N\r\n0yyg+5849BqgTtTFsuDHZ+RVmoN4EQHMHRwwhiF8wpjAfKzaY4eRVPpi2Rje\r\nMKXh+2GkuX+Fa6xJ98fJfXaESzjC/0JilibTAhnmQcrS7ucVv2D4EkbPysCQ\r\n7DIL/S1cvz+HVym4Dd3FTguZ0phmFJ0kqBd3CnMvU+ovUy06Yna3vHDW9w0J\r\nBhwRr2c+dyXrxWkoZ11a/NFp3QOXrdrhgZD2LQENrTwWCjMcwY6JZF1RsAyc\r\nuWbLfwtGpyTZ8Jor4hLmYJYBy0qewN1XMENaqLapMDCHwn85DWEwiEyYhaxV\r\nikkH7l/HvePTrgdV3p/Qejhf0sqkgwAd3FyVBNQcnTyP3nx44fxG7bPWcn/t\r\nGD/pav8ni/PFxlyZsprfFGajOoEgbt4BLaHENyMDis3EZMTjv0kbxJvN/AwO\r\nOr7UfBqRf8uMPh7YJCIAqWklIKIZSktGwI+q6JstU2lxk9DMSbx/hNwtFO/w\r\nCLQPbBLmSPszz9GFxJHcWwVpQZaC8GRd8qI=\r\n=p9Ii\r\n-----END PGP SIGNATURE-----\r\n","size":4446,"noattachment":false,"key":"/longbits/-/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,"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":1658913416729,"_cnpm_publish_time":1658913416729,"dist-tags":{"latest":"1.1.0"}}