{"id":22222016,"url":"https://github.com/fabiospampinato/bigint-encoding","last_synced_at":"2025-10-06T19:48:22.205Z","repository":{"id":186850546,"uuid":"675884185","full_name":"fabiospampinato/bigint-encoding","owner":"fabiospampinato","description":"BigInt encoding, a simple way to convert Uint8Arrays into BigInts, and vice versa.","archived":false,"fork":false,"pushed_at":"2025-01-15T02:37:06.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-19T00:02:27.744Z","etag":null,"topics":["bigint","encoding","uint8array"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/fabiospampinato.png","metadata":{"files":{"readme":"readme.md","changelog":null,"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},"funding":{"github":"fabiospampinato","custom":"https://www.paypal.me/fabiospampinato"}},"created_at":"2023-08-08T00:46:43.000Z","updated_at":"2025-01-15T02:37:07.000Z","dependencies_parsed_at":"2025-07-27T16:32:40.172Z","dependency_job_id":"df89187e-3fca-4bf8-b752-976252cfd0d9","html_url":"https://github.com/fabiospampinato/bigint-encoding","commit_stats":null,"previous_names":["fabiospampinato/bigint-encoding"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/fabiospampinato/bigint-encoding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fbigint-encoding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fbigint-encoding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fbigint-encoding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fbigint-encoding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabiospampinato","download_url":"https://codeload.github.com/fabiospampinato/bigint-encoding/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fbigint-encoding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278671729,"owners_count":26025743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bigint","encoding","uint8array"],"created_at":"2024-12-02T23:16:32.612Z","updated_at":"2025-10-06T19:48:22.187Z","avatar_url":"https://github.com/fabiospampinato.png","language":"JavaScript","funding_links":["https://github.com/sponsors/fabiospampinato","https://www.paypal.me/fabiospampinato"],"categories":[],"sub_categories":[],"readme":"# BigInt Encoding\n\nBigInt encoding, a simple way to convert Uint8Arrays into BigInts, and vice versa.\n\n## Install\n\n```sh\nnpm install bigint-encoding\n```\n\n## Usage\n\n```ts\nimport BigEnc from 'bigint-encoding';\n\n// It can convert a Uint8Array into a BigInt\n\nconst uint8 = new Uint8Array ([ 72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33 ]);\nconst encoded = BigEnc.encode ( uint8 ); // =\u003e 22405534230753928650781647905n\n\n// It can also go the other way, and covnert a BigInt into a Uint8Array\n\nconst decoded = BigEnc.decode ( encoded ); // =\u003e Uint8Array(12) [72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33]\n```\n\n## License\n\nMIT © Fabio Spampinato\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Fbigint-encoding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiospampinato%2Fbigint-encoding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Fbigint-encoding/lists"}