{"_id":"byte-access","_rev":"2-b05181d92ccfc3391f5329817dc6273e","name":"byte-access","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.0":{"name":"byte-access","version":"0.0.0","description":"Access data in Uint8ArrayLists and Uint8Arrays in a uniform way","license":"Apache-2.0 OR MIT","homepage":"https://github.com/achingbrain/byte-access#readme","repository":{"type":"git","url":"git+https://github.com/achingbrain/byte-access.git"},"bugs":{"url":"https://github.com/achingbrain/byte-access/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"},"ignorePatterns":["!.aegir.js","test/ts-use","*.d.ts"]},"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"},"devDependencies":{"aegir":"^37.4.5"},"gitHead":"26fc5f62edd9b78dfafca951001f0a3c3a1d45aa","_id":"byte-access@0.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-JHAwVVyC3yxjSD+86b0rpEQHuo0N5JhyqSc//8ZcNQFeOiStLB0wEJAn32a21/y2MD/NQ8sdyOcb/iOKUOOhiw==","shasum":"f8fb89565641413bf414afc1115f353b4fcef5fc","tarball":"https://registry.npmjs.org/byte-access/-/byte-access-0.0.0.tgz","fileCount":8,"unpackedSize":7268,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICl37c6C14JjNYLKGlb6ihHBGFbnyZd8ojWxmO+gYqOjAiEAuV/7LoYlHd8+W6T2ypRthXDEl3VoLPK/klbXwd75SKo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4Qx6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoMCw//X+zg0v3qEunICsGWEu3vTKNYH+Vc12sEIsnHvvcqR0/E0V0j\r\nhlIFFD0FPc0EdOptyTuurYmAqTS73yDrdRO3KE6fd1/Y3U5TPm0Y2UdgMWYF\r\nONkL2fxLMwa3fjc+vy5KEa46af7rIoIsDQYQPFhG7F781RwSMrtAi9+URIvA\r\n3OMuuYLwDu4Em0DB8nZpBm9SQTFx8CUv1jRbL2tntuYBSVYM1+8hwvYEjRWf\r\n9mz64MNBFg/pRI9A0W05CGgidk3qqO3aa+7d8BTMPKXZG1C/Kc/Ug7/57wkd\r\nXvm9gFOAIe+XC5LPGrCVxZFDAlVZX8Qv7fAKkzXzLbE/L5lZJ36hClKeI11X\r\nFHnP1z/ai5mP0X4AF88PX0c+bDH1s1ByusLK+adTaCMvU7Jc4FGrsKoBFEJ6\r\njclZrL/YDexMw7zqYPKzmnywiBSA/bQzariwuQBz9f/+LEt+zOY9mChgl+Ii\r\ngley/l1XGWhOt/RolqcAge2Hf8BLHhE3V9yn7nfDL2R9Dm9zu7wrp0qp+iZZ\r\npNHqGoaHguOTJjPc4ICaozdY5GI75P7b0rIXRv9AvV57TaVVQr4PM/ndJHS+\r\nO6BSp4dupcb6n4cNFU3r75GjNMNdfLbHA2hYxI0BDnwW4SnSciyfLX3qHn6t\r\n98dGBXBnYwN0XtoA28f4/dZM573D/B6B+XA=\r\n=hEdz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"directories":{},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/byte-access_0.0.0_1658915962012_0.28002589193231153"},"_hasShrinkwrap":false},"1.0.0":{"name":"byte-access","version":"1.0.0","description":"Access data in Uint8ArrayLists and Uint8Arrays in a uniform way","license":"Apache-2.0 OR MIT","homepage":"https://github.com/achingbrain/byte-access#readme","repository":{"type":"git","url":"git+https://github.com/achingbrain/byte-access.git"},"bugs":{"url":"https://github.com/achingbrain/byte-access/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"},"ignorePatterns":["!.aegir.js","test/ts-use","*.d.ts"]},"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"},"devDependencies":{"aegir":"^37.4.5"},"gitHead":"f57ed207afe1b6b0bce9a0d3973109ba2ea3fe8c","_id":"byte-access@1.0.0","_nodeVersion":"16.16.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-ITmGgjlwYE8YdspN0RSzQ15QlS3UdiJKJoX4kN5quQR2+mUoYMwFboUNq22mrDweE9LmgK/zHtLxDt1WvvsmxA==","shasum":"96d25ae21613af9ab4993dc3cd6220b3c6b06bb7","tarball":"https://registry.npmjs.org/byte-access/-/byte-access-1.0.0.tgz","fileCount":8,"unpackedSize":7268,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGZWHPcEQA0Jv9KSVXR6Ce42P3iFX14IuQoQoOOeB+2KAiAE6AJNJgoUsEi0zCoBcLHVMLftW2T8qMZSOkP2QFdS0g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4Q3dACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmokDxAAihY2bqx2QTfUrIuVHXRZhwozcv71p1MfQW5axs58Y4zppIZx\r\nJesm+2p1V5MkSIWTrFBaGtCeKBGRZ0Vd1P31PKBzgmWNy556HCfezSOCP/Vn\r\nxdng945e9J2UBcxSZIT9fAVL6WBsDl2xFBR2G9TRn9AWdRHDCuHg7TV/DDuZ\r\nkXF85OXvW0vq+Tgp45Uko571B0NFf1WMuq+56BHSjPCDhmWVsRwi3VYhoRWq\r\nRlxYL8tsyZh3K2IWZAp4zWiNnlFQupFlTkDGye8tzGr65XAtly7hLXw8p4nC\r\nCJNjAcakG6CzhoFApBQxjlaoe94lqli4OgbGMWDt4peg4Nb+KzaAZZQRHJUi\r\nsmuGlEPVzBQBGbq0lIjMQUcL8tDNQ/uqiDOH/zmtfZ1Kzje8YIMRbC5mjIoL\r\npVsDuthT9Im3QZ8a3LT9yUy+VJxWhiOk4pjZh/ulrArWVYItMQc5o6wE68QI\r\ntq6MtDm2HzpYIlhBIQ0FSZcJHER9DyjRaGKNWt6MIZG8TRMWhOwzmJakZUoJ\r\nXcsZneFBn4oqVhVGl9GRdSqsc8n7SAAeIC3cy26YBbUWzhoeb//6wqOEKEE6\r\nlEl/hnuskv5WwOTQuArH0kr7RWamzLoCDgu/1r+xTFTGXY0xYPMzAHv3A7DR\r\neM4kRTQSXPZJRKsfzWEsFnaUrFHbVREoz5U=\r\n=bYCI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"directories":{},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/byte-access_1.0.0_1658916317572_0.01316294979592958"},"_hasShrinkwrap":false},"1.0.1":{"name":"byte-access","version":"1.0.1","description":"Access data in Uint8ArrayLists and Uint8Arrays in a uniform way","license":"Apache-2.0 OR MIT","homepage":"https://github.com/achingbrain/byte-access#readme","repository":{"type":"git","url":"git+https://github.com/achingbrain/byte-access.git"},"bugs":{"url":"https://github.com/achingbrain/byte-access/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"},"ignorePatterns":["!.aegir.js","test/ts-use","*.d.ts"]},"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 -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":"^2.0.0"},"devDependencies":{"aegir":"^37.4.5"},"gitHead":"728df0553dea5ed8d4d8fd7f8eafb2e9880064cb","_id":"byte-access@1.0.1","_nodeVersion":"16.16.0","_npmVersion":"8.15.1","dist":{"integrity":"sha512-GKYa+lvxnzhgHWj9X+LCsQ4s2/C5uvib573eAOiQKywXMkzFFErY2+yQdzmdE5iWVpmqecsRx3bOtOY4/1eINw==","shasum":"84badd99be3671c03f0dd6a039a9c963983724af","tarball":"https://registry.npmjs.org/byte-access/-/byte-access-1.0.1.tgz","fileCount":8,"unpackedSize":7267,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAjZrEWBvoOdKrmKA62fA5+2BGeTYdhRQ7OkRFmJdRlKAiAfOH6L99MTph92Merx4k8Y3bencOcm8LZRzRVPhc1zOg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4rqwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq07RAAgNBWML3k5t0A5B0XM0f/8biJOlRm4U6eWJdDckNt4I6uD9gJ\r\ng/4/aE+fZopdgQHW67+Z/Gf/OY15ftHY9G2bwmZredyToAYwBR09E4imVAGW\r\niiuDO0MZo2BG0ywYi3L+oOpurX/rGJgM6rsGQRKPp62lPPH1E3Jg6k73FNEr\r\nQCikNpSKCqRlJ5vkDLu/YK0/J3s/TWvgeqYkB2IoR2hPZVsgLmxyXv8IHVJ3\r\nQsqunIL6pIawMkApGOfzLdtZ9a9SWLqaiAE0+VinBsqL7FarpuWQLjWibYj8\r\nj2Ee299XBt+gXMJsQ4VHLxJl8fiEd1oJY8wA3tykEsDgUve/UYiPX2juQzH3\r\n2EyY0X3emkpdtrYqbw4H+ScZU1dxxW7PJzAkOWfe2Hq/npLToHhRKM3dlf49\r\npofnfAFdjD7FthFvT7bqdDtrCa8c/DKVM9AE64JtxIr1BZwug7y302wWrU3z\r\np1HJt95VkjLgKNjosc1EepdQTgaJoFuEjPV7cDXGfeuuLaN92QY9Z30lj3sY\r\nRpxLuzv5bZGz9wEp1J2QbjeKNiDHoWAUQ2oWbo8JSwA25NuG/7TKdcGTTHPr\r\nRVtEVYME77q/Y7zMkx5GWLu+rC/ATVAmp39YKS9BFrUzbZyKJ5Ok6d3qEdvn\r\n/Jyyk7sNXgQUyabE+2WGZb4StArWhUI0jrQ=\r\n=rXqe\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"directories":{},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/byte-access_1.0.1_1659026096020_0.918320097179343"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-27T09:59:22.011Z","0.0.0":"2022-07-27T09:59:22.149Z","modified":"2022-07-28T16:34:56.371Z","1.0.0":"2022-07-27T10:05:17.747Z","1.0.1":"2022-07-28T16:34:56.283Z"},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"}],"description":"Access data in Uint8ArrayLists and Uint8Arrays in a uniform way","homepage":"https://github.com/achingbrain/byte-access#readme","repository":{"type":"git","url":"git+https://github.com/achingbrain/byte-access.git"},"bugs":{"url":"https://github.com/achingbrain/byte-access/issues"},"license":"Apache-2.0 OR MIT","readme":"# byte-access <!-- omit in toc -->\n\n[![codecov](https://img.shields.io/codecov/c/github/achingbrain/byte-access.svg?style=flat-square)](https://codecov.io/gh/achingbrain/byte-access)\n[![CI](https://img.shields.io/github/workflow/status/achingbrain/byte-access/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/byte-access/actions/workflows/js-test-and-release.yml)\n\n> Access data in Uint8ArrayLists and Uint8Arrays in a uniform way\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 byte-access\n```\n\n## Usage\n\n```js\nimport { Uint8ArrayList } from 'uint8arraylist'\nimport accessor from 'byte-access'\n\n// access Uint8Array data\nconst array = Uint8Array.from([0, 1, 2, 3, 4])\nconst arrayAccess = accessor(array)\narrayAccess.get(1) // 1\narrayAccess.set(1, 2)\n\n// access Uint8ArrayList data\nconst list = new Uint8ArrayList(\n  Uint8Array.from([0, 1, 2]),\n  Uint8Array.from([3, 4])\n)\nconst listAccess = accessor(list)\nlistAccess.get(1) // 1\nlistAccess.set(1, 2)\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","readmeFilename":"README.md"}