{"id":51522746,"url":"https://github.com/yuku-toolchain/napi-zig","last_synced_at":"2026-07-08T17:30:42.502Z","repository":{"id":349731616,"uuid":"1201848247","full_name":"yuku-toolchain/napi-zig","owner":"yuku-toolchain","description":"The simplest way to write cross-platform Node.js native addons in Zig.","archived":false,"fork":false,"pushed_at":"2026-06-11T18:21:47.000Z","size":9974,"stargazers_count":8,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-11T20:10:59.854Z","etag":null,"topics":["napi","native-addon","nodejs","zig"],"latest_commit_sha":null,"homepage":"https://napi-zig.dev","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/yuku-toolchain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-05T08:47:56.000Z","updated_at":"2026-06-11T18:23:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/yuku-toolchain/napi-zig","commit_stats":null,"previous_names":["yuku-toolchain/napi-zig"],"tags_count":38,"template":false,"template_full_name":null,"purl":"pkg:github/yuku-toolchain/napi-zig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuku-toolchain%2Fnapi-zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuku-toolchain%2Fnapi-zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuku-toolchain%2Fnapi-zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuku-toolchain%2Fnapi-zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuku-toolchain","download_url":"https://codeload.github.com/yuku-toolchain/napi-zig/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuku-toolchain%2Fnapi-zig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35273524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-08T02:00:06.796Z","response_time":61,"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":["napi","native-addon","nodejs","zig"],"created_at":"2026-07-08T17:30:41.831Z","updated_at":"2026-07-08T17:30:42.494Z","avatar_url":"https://github.com/yuku-toolchain.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# napi-zig\n\nBuild [Node.js native addons](https://nodejs.org/api/n-api.html) in Zig. Cross-compile every platform from one machine. Publish to npm with one command.\n\n```zig\nconst napi = @import(\"napi-zig\");\n\ncomptime { napi.module(@This()); }\n\npub fn add(a: i32, b: i32) i32 {\n    return a + b;\n}\n```\n\n```js\nimport addon from \"./my-addon.js\";\naddon.add(2, 3); // 5\n```\n\n## Quick start\n\n```sh\nnpx napi-zig@latest new my-addon\n```\n\n```sh\ncd my-addon\nnode test.mjs\n```\n\nThat's it. You have a working native Node.js addon written in Zig.\n\n## Documentation\n\nFull guides, API reference, and the publish pipeline:\n\n**[napi-zig.dev](https://napi-zig.dev)**\n\n- [Introduction](https://napi-zig.dev/)\n- [Quick start](https://napi-zig.dev/quick-start)\n- [Functions, classes, and types](https://napi-zig.dev/functions)\n- [Async (workers, threadsafe, promises)](https://napi-zig.dev/async/workers)\n- [Cross-compiling and publishing](https://napi-zig.dev/cross-compiling)\n- [API reference](https://napi-zig.dev/reference/env)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuku-toolchain%2Fnapi-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuku-toolchain%2Fnapi-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuku-toolchain%2Fnapi-zig/lists"}