{"id":15447868,"url":"https://github.com/hazae41/asn1","last_synced_at":"2025-04-19T21:35:50.118Z","repository":{"id":65777609,"uuid":"574221188","full_name":"hazae41/asn1","owner":"hazae41","description":"Zero-copy ASN.1 and DER coding 🏎️","archived":false,"fork":false,"pushed_at":"2024-09-01T06:13:28.000Z","size":845,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T00:18:43.940Z","etag":null,"topics":["asn1","browser","decoding","der","encoding","esmodules","javascript","nodejs","parser","typescript","unit-testing","zero-copy"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hazae41.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":["hazae41"],"patreon":"hazae41"}},"created_at":"2022-12-04T19:45:47.000Z","updated_at":"2024-09-01T06:13:31.000Z","dependencies_parsed_at":"2023-10-11T13:29:33.026Z","dependency_job_id":"e92efcae-6d79-4e5b-b6a7-c7c54b8f5ebb","html_url":"https://github.com/hazae41/asn1","commit_stats":{"total_commits":110,"total_committers":1,"mean_commits":110.0,"dds":0.0,"last_synced_commit":"e4e4f4a5e03227457e8953364f0084d0875f9944"},"previous_names":[],"tags_count":81,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fasn1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fasn1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fasn1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fasn1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hazae41","download_url":"https://codeload.github.com/hazae41/asn1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249811014,"owners_count":21328732,"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","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":["asn1","browser","decoding","der","encoding","esmodules","javascript","nodejs","parser","typescript","unit-testing","zero-copy"],"created_at":"2024-10-01T20:20:42.295Z","updated_at":"2025-04-19T21:35:50.090Z","avatar_url":"https://github.com/hazae41.png","language":"TypeScript","funding_links":["https://github.com/sponsors/hazae41","https://patreon.com/hazae41"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/4405263/219944360-d138f86e-5517-4859-a532-1a6e45579074.png\" /\u003e\n\u003c/div\u003e\n\n```bash\nnpm i @hazae41/asn1\n```\n\n[**Node Package 📦**](https://www.npmjs.com/package/@hazae41/asn1)\n\n## Features\n\n### Current features\n- 100% TypeScript and ESM\n- No external dependency\n- Rust-like patterns\n- Zero-copy DER \u003c=\u003e ASN1 reading and writing\n- Almost all universal triplets\n- Implicit and explicit tagged types\n\n### [Upcoming features](https://github.com/sponsors/hazae41)\n- More string types\n- More encodings\n\n## Usage\n\n```typescript\nimport { DER } from \"@hazae41/asn1\"\n\nconst input = new Uint8Array([0x01, 0x01, 0xFF])\n\nconst triplet = DER.tryFromBytes(input).unwrap() // Boolean\n\nconsole.log(triplet.toString()) // \"BOOLEAN true\"\n\nconst output = DER.tryToBytes(triplet).unwrap() // Uint8Array([0x01, 0x01, 0xFF])\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazae41%2Fasn1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhazae41%2Fasn1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazae41%2Fasn1/lists"}