{"id":25860081,"url":"https://github.com/thibmeu/quicvarint","last_synced_at":"2026-02-17T19:01:54.811Z","repository":{"id":280001028,"uuid":"940690150","full_name":"thibmeu/quicvarint","owner":"thibmeu","description":"Variable-Length Integer Encoding defined by RFC 9000","archived":false,"fork":false,"pushed_at":"2025-03-05T09:49:05.000Z","size":154,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T10:59:08.640Z","etag":null,"topics":["2msb","cryptography","rfc9000","typescript","varint"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thibmeu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-28T16:09:44.000Z","updated_at":"2025-03-05T09:49:08.000Z","dependencies_parsed_at":"2025-02-28T21:34:42.488Z","dependency_job_id":"d249980e-da18-4fd8-8106-f44f413e0030","html_url":"https://github.com/thibmeu/quicvarint","commit_stats":null,"previous_names":["thibmeu/quicvarint"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/thibmeu/quicvarint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibmeu%2Fquicvarint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibmeu%2Fquicvarint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibmeu%2Fquicvarint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibmeu%2Fquicvarint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thibmeu","download_url":"https://codeload.github.com/thibmeu/quicvarint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibmeu%2Fquicvarint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29554386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T18:16:07.221Z","status":"ssl_error","status_checked_at":"2026-02-17T18:16:04.782Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2msb","cryptography","rfc9000","typescript","varint"],"created_at":"2025-03-01T21:53:16.180Z","updated_at":"2026-02-17T19:01:54.793Z","avatar_url":"https://github.com/thibmeu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quicvarint\n\n![License](https://img.shields.io/npm/l/quicvarint.svg)\n[![crates.io](https://img.shields.io/npm/v/quicvarint.svg)][npm]\n\n[npm]: https://www.npmjs.com/package/quicvarint\n\nVariable-Length Integer Encoding defined by [RFC 9000](https://www.rfc-editor.org/rfc/rfc9000.html#name-variable-length-integer-enc).\n\n## Tables of Content\n\n* [Features](#features)\n* [Usage](#usage)\n* [Security Considerations](#security-considerations)\n* [License](#license)\n\n## Features\n\n* Decode a 2-MSB varint from a DataView or a Uint8Array\n* Encode a 2-MSB varint to a Uint8Array\n* Support integer between 0 and 2147483647 included\n* TypeScript types\n\n## Usage\n\n```typescript\nimport { encode, decode, MAX } from \"quicvarint\"\n\n// A number between 0 and MAX\nconst n = 1234\n\n// Encode it to a Uint8Array\nconst encN = encode(n)\n\n// Decode it and print it on console\nconsole.log(decode(encN))\n```\n\n## Security Considerations\n\nThis software has not been audited. Please use at your sole discretion.\n\n## License\n\nThis project is under the MIT license.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be MIT licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthibmeu%2Fquicvarint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthibmeu%2Fquicvarint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthibmeu%2Fquicvarint/lists"}