{"name":"uint8-varint","version":"0.0.0","description":"Read/write varints from Uint8Arrays and Uint8ArrayLists","license":"Apache-2.0 OR MIT","homepage":"https://github.com/achingbrain/uint8-varint#readme","repository":{"type":"git","url":"git+https://github.com/achingbrain/uint8-varint.git"},"bugs":{"url":"https://github.com/achingbrain/uint8-varint/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":"^1.0.0","longbits":"^1.0.0","uint8arraylist":"^1.5.2"},"devDependencies":{"aegir":"^37.4.6"},"gitHead":"9d7569ea321539d1995e26993625a98b6e078d40","_id":"uint8-varint@0.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-+FCuS774Asp/iACioDUyoqAA4VKd4kQg0+AS5eZbvQAYq4g/dwG2980EkW44VN7NleSitElTF8WY+jF7ZF47AQ==","shasum":"fd48dc086c2f0762a4e285e4c40232ad99daaeb7","tarball":"http://registry-npm.ywwl.com/uint8-varint/download/uint8-varint-0.0.0.tgz","fileCount":8,"unpackedSize":18650,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIGXvdzCjHyKYFTkrFyte4lRbn1QIzkqCxDzI341JQHwIhAP/rMPQ8661P/iISpdnjKnqlSrXpejhNhwmbAneY3E8j"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4RWjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCBxAAm42mZ2x9QLvSx5huWHYQfMO2s26/QqBmATzEK5Jty/+OD99u\r\nrR7agzxYLFi6zP5NvEFj+RgcQxuRp/IhgziIL++bLL3zpeWSAB1cD1tcwL+Y\r\nRu+XpcLKKEjXmBlh3FpCkXfWnRv+K67BtyoSI4X0AyLkzwmYRvoN+zQu7V29\r\nro4C0gi4d2rzotmMVUVerbeuhHmsY1ma/dIjPFkeXGr3Gs4XfWkaD3uPECE1\r\nJ9DJPYG3lsLpFOye/1vchKvqbaRuYQnd8iCMLuJnX/lKdHhEcpdZEzzevc6P\r\nWFTgvPcfN7dIasWgDhc9G/Te+f5H5xO9hbj+O1PXVCCRVW5/ozmjnM4mCnQE\r\nKetlKBVAKDWzzBzvfh89Bl5n4TnMGToff6UNRfow09OUGeG4OcpcG7Ob0wDP\r\nFMOqXG+60DoKGlOyAhv0qB4IDiSNQCGdjEHPCNbMt/H4Aw3NxJBZ+uc/MwYI\r\nOPl+pC3gJipjLTz2zu0gkfdnVcD8YCAMrioXnpzF2wd9FRwV8fA3Jgd9U0mr\r\nAjYDfiU+kW0++7rn9G3I7Vf+Jrzd7UkZDPAz/2adQBWzozGmXGRgEVeMasrZ\r\nOq1p2CTVn2MTBCaDU/fEYd39PzPcl0q94SAIeXop3d4sCCTOpA3/1qGgj3DS\r\ncNcjUlhLXW8QasorJLn/t493TJOjfSkXtz8=\r\n=GT0e\r\n-----END PGP SIGNATURE-----\r\n","size":3927,"noattachment":false,"key":"/uint8-varint/-/uint8-varint-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/uint8-varint_0.0.0_1658918306786_0.9221769174238217"},"_hasShrinkwrap":false,"readme":"# uint8-varint <!-- omit in toc -->\n\n[![codecov](https://img.shields.io/codecov/c/github/achingbrain/uint8-varint.svg?style=flat-square)](https://codecov.io/gh/achingbrain/uint8-varint)\n[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/uint8-varint/js-test-and-release.yml?branch=master\\&style=flat-square)](https://github.com/achingbrain/uint8-varint/actions/workflows/js-test-and-release.yml?query=branch%3Amaster)\n\n> Read/write unsigned varints from Uint8Arrays and Uint8ArrayLists\n\n## Table of contents <!-- omit in toc -->\n\n- [Install](#install)\n  - [Browser `<script>` tag](#browser-script-tag)\n- [Usage](#usage)\n- [API Docs](#api-docs)\n- [License](#license)\n- [Contribution](#contribution)\n\n## Install\n\n```console\n$ npm i uint8-varint\n```\n\n### Browser `<script>` tag\n\nLoading this module through a script tag will make it's exports available as `Uint8Varint` in the global namespace.\n\n```html\n<script src=\"https://unpkg.com/uint8-varint/dist/index.min.js\"></script>\n```\n\n## Usage\n\n```js\nimport { Uint8ArrayList } from 'uint8arraylist'\nimport * as varint from 'uint8-varint'\n\nconst value = 12345\n\nconst buf = new Uint8ArrayList(\n  new Uint8Array(2)\n)\nvarint.encode(value, buf)\n\nvarint.decode(buf) // 12345\n```\n\n## API Docs\n\n- <https://achingbrain.github.io/uint8-varint>\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":1658918307055,"_cnpm_publish_time":1658918307055,"dist-tags":{"latest":"3.0.0"}}