{"id":15447848,"url":"https://github.com/hazae41/x509","last_synced_at":"2026-02-02T01:31:07.861Z","repository":{"id":64207392,"uuid":"573544878","full_name":"hazae41/x509","owner":"hazae41","description":"Zero-copy X.509 certificates for the web 🏎️","archived":false,"fork":false,"pushed_at":"2025-08-15T11:43:42.000Z","size":650,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-19T01:14:28.933Z","etag":null,"topics":["asn1","certificate","certificate-authority","decoding","der","encoding","esmodules","javascript","letsencrypt","nodejs","parser","pem","ssl","tls","typescript","unit-testing","x509","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-02T18:11:14.000Z","updated_at":"2025-08-21T22:32:30.000Z","dependencies_parsed_at":"2023-12-22T14:05:06.246Z","dependency_job_id":"2c3c026a-6b31-478b-ab73-0f3ee14c5a67","html_url":"https://github.com/hazae41/x509","commit_stats":{"total_commits":188,"total_committers":1,"mean_commits":188.0,"dds":0.0,"last_synced_commit":"6ebf3ed6b0e3a91da782de655a5d28d4c0763512"},"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/hazae41/x509","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fx509","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fx509/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fx509/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fx509/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hazae41","download_url":"https://codeload.github.com/hazae41/x509/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fx509/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28999523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T23:10:54.274Z","status":"ssl_error","status_checked_at":"2026-02-01T23:10:47.298Z","response_time":56,"last_error":"SSL_read: 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":["asn1","certificate","certificate-authority","decoding","der","encoding","esmodules","javascript","letsencrypt","nodejs","parser","pem","ssl","tls","typescript","unit-testing","x509","zero-copy"],"created_at":"2024-10-01T20:20:36.839Z","updated_at":"2026-02-02T01:31:07.839Z","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/219945066-a2adbe64-f75e-4317-bb22-91a8457181fa.png\" /\u003e\n\u003c/div\u003e\n\n```bash\nnpm i @hazae41/x509\n```\n\n[**Node Package 📦**](https://www.npmjs.com/package/@hazae41/x509)\n\n## Features\n\n### Current features\n- 100% TypeScript and ESM\n- Zero-copy reading and writing\n- No external dependency\n- No cryptography\n- Rust-like patterns\n- Zero-copy PEM \u003c=\u003e DER \u003c=\u003e ASN1 \u003c=\u003e X509 reading and writing\n- X.509 certificates (v3)\n- X.501 encoding and decoding\n\n### [Upcoming features](https://github.com/sponsors/hazae41)\n- X.509 extensions (v3)\n\n## Usage\n\n### Reading DER\n\n```typescript\nimport { Certificate, X509 } from \"@hazae41/x509\";\n\nconst bytes = await readFile(\"./cert.der\")\nconst cert = X509.tryReadFromBytes(bytes, Certificate).unwrap()\n```\n\n### Reading PEM\n\n```typescript\nimport { PEM, Certificate, X509 } from \"@hazae41/x509\";\n\nconst bytes = PEM.tryParse(await readFile(\"./cert.pem\", \"utf8\")).unwrap()\nconst cert = X509.tryReadFromBytes(bytes, Certificate).unwrap()\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazae41%2Fx509","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhazae41%2Fx509","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazae41%2Fx509/lists"}