{"_id":"@agoralabs-sh/bytes","name":"@agoralabs-sh/bytes","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@agoralabs-sh/bytes","version":"1.0.0","description":"Utilities for handling byte arrays.","repository":{"type":"git","url":"git+https://github.com/agoralabs-sh/avm-tools.git"},"author":{"name":"Kieran O'Neill","email":"hello@kieranoneill.com","url":"https://github.com/kieranroneill"},"license":"CC0-1.0","private":false,"type":"module","main":"dist/index.js","types":"dist/index.d.ts","dependencies":{"@stablelib/bytes":"^2.0.1"},"devDependencies":{"@eslint/js":"^9.16.0","@types/node":"^22.10.1","chalk":"^5.3.0","eslint":"^9.16.0","eslint-config-prettier":"^9.1.0","globals":"^15.13.0","prettier":"^3.2.5","shx":"^0.3.4","tsx":"^4.19.2","typescript":"^5.7.2","typescript-eslint":"^8.18.0","vite":"^6.0.3","vite-plugin-dts":"^4.3.0","vite-tsconfig-paths":"^5.1.4","vitest":"^3.0.5"},"scripts":{"build":"pnpm run clean && vite build","build:dependencies":"exit 0","clean":"shx rm -rf dist && shx rm -rf tsconfig.*.tsbuildinfo","generate:index":"tsx ./scripts/generate-index.ts","lint":"eslint .","prettier":"prettier --write \"**/*.{cjs,js,json,mjs,ts}\"","test":"vitest run --config vitest.config.ts"},"_id":"@agoralabs-sh/bytes@1.0.0","bugs":{"url":"https://github.com/agoralabs-sh/avm-tools/issues"},"homepage":"https://github.com/agoralabs-sh/avm-tools#readme","_integrity":"sha512-NifTB5dPWOQSjCdxRThs3OpIz18rzHYVm2QIv1qT81atfdDMN9IVySJ2YBaa26ZaAFJV20zDt5l/K7UqP8uGHw==","_resolved":"/tmp/913968a0e97c664fc06b44915e21f4f8/agoralabs-sh-bytes-1.0.0.tgz","_from":"file:agoralabs-sh-bytes-1.0.0.tgz","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-NifTB5dPWOQSjCdxRThs3OpIz18rzHYVm2QIv1qT81atfdDMN9IVySJ2YBaa26ZaAFJV20zDt5l/K7UqP8uGHw==","shasum":"3680280d0ae6cf9a468b5f83c6b0bb67c60ec790","tarball":"https://registry.npmjs.org/@agoralabs-sh/bytes/-/bytes-1.0.0.tgz","fileCount":14,"unpackedSize":12585,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDA6o73cW/8ERLdKVAGa4jux/n0oeF/kWj5/PbR0Fh89QIhAITBxrpu184Sjg9hwUDi2pthXJg67XqCeyluKbj/6tsX"}]},"_npmUser":{"name":"agoralabs-bot","email":"tech@agoralabs.sh"},"directories":{},"maintainers":[{"name":"agoralabs-bot","email":"tech@agoralabs.sh"},{"name":"kieranroneill","email":"kieran.oneill@pm.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bytes_1.0.0_1740229784119_0.010070593717689036"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-22T13:09:44.058Z","1.0.0":"2025-02-22T13:09:44.301Z","modified":"2025-02-22T13:09:44.563Z"},"maintainers":[{"name":"agoralabs-bot","email":"tech@agoralabs.sh"},{"name":"kieranroneill","email":"kieran.oneill@pm.me"}],"description":"Utilities for handling byte arrays.","homepage":"https://github.com/agoralabs-sh/avm-tools#readme","repository":{"type":"git","url":"git+https://github.com/agoralabs-sh/avm-tools.git"},"author":{"name":"Kieran O'Neill","email":"hello@kieranoneill.com","url":"https://github.com/kieranroneill"},"bugs":{"url":"https://github.com/agoralabs-sh/avm-tools/issues"},"license":"CC0-1.0","readme":"<div align=\"center\">\n\n[![License: CC0-1.0](https://img.shields.io/badge/License-CC0_1.0-brightgreen.svg)](./LICENSE)\n[![NPM Version](https://img.shields.io/npm/v/%40agoralabs-sh%2Fbytes)](https://www.npmjs.com/package/%40agoralabs-sh/bytes)\n\n</div>\n\n<div align=\"center\">\n\n![GitHub Release](https://img.shields.io/github/v/release/agoralabs-sh/instrumentum?filter=%40agoralabs-sh%2Fbytes*)\n![GitHub Release](https://img.shields.io/github/v/release/agoralabs-sh/instrumentum?include_prereleases&filter=%40agoralabs-sh%2Fbytes*&label=pre-release)\n\n</div>\n\n<h1 align=\"center\">\n  @agoralabs/bytes\n</h1>\n\n<p align=\"center\">\n  Utilities for handling byte arrays.\n</p>\n\n---\n\n### Table Of Contents\n\n* [1. Getting Started](#-2-getting-started)\n  - [1.1. Installation](#12-installation)\n* [2. Appendix](#-2-appendix)\n  - [2.1. Useful Commands](#21-useful-commands)\n* [3. How To Contribute](#-3-how-to-contribute)\n* [4. License](#-4-license)\n\n## 🪄 1. Getting Started\n\n### 1.1. Installation\n\nYou can install the types using:\n```shell\npnpm add @agoralabs-sh/bytes\n```\n\n<sup>[Back to top ^][table-of-contents]</sup>\n\n## 📑 2. Appendix\n\n### 2.1. Useful Commands\n\n| Command               | Description                                                                 |\n|-----------------------|-----------------------------------------------------------------------------|\n| `pnpm build`          | Generates build and TypeScript declaration files to the `dist/` directory.  |\n| `pnpm clean`          | Deletes the `dist/` directory and the `tsconfig.*.tsbuildinfo` files.       |\n| `pnpm generate:index` | Generates/overwrites the main `index.ts` file used for exporting all files. |\n| `pnpm lint`           | Runs the linter based on the rules in `eslint.config.mjs`.                  |\n| `pnpm prettier`       | Runs the prettier based on the rules in `prettier.config.mjs`.              |\n| `pnpm test`           | Runs Vitest.                                                                |\n\n<sup>[Back to top ^][table-of-contents]</sup>\n\n## 👏 3. How To Contribute\n\nPlease read the [**Contributing Guide**][contribute] to learn about the development process.\n\n<sup>[Back to top ^][table-of-contents]</sup>\n\n## 📄 4. License\n\nPlease refer to the [LICENSE][license] file.\n\n<sup>[Back to top ^][table-of-contents]</sup>\n\n<!-- links -->\n[contribute]: ../../CONTRIBUTING.md\n[license]: LICENSE\n[table-of-contents]: #table-of-contents\n\n","readmeFilename":"README.md"}