{"id":27261341,"url":"https://github.com/datkt/napi","last_synced_at":"2025-08-24T14:36:45.315Z","repository":{"id":57106247,"uuid":"155452266","full_name":"datkt/napi","owner":"datkt","description":"N-API C Interop for Kotlin/Native","archived":false,"fork":false,"pushed_at":"2018-11-07T16:59:22.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T22:06:39.495Z","etag":null,"topics":["binding","c","cinterop","interop","kotlin","kotlin-native","n-api","napi","native","node"],"latest_commit_sha":null,"homepage":null,"language":"Vim script","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/datkt.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}},"created_at":"2018-10-30T20:31:58.000Z","updated_at":"2023-09-08T17:46:41.000Z","dependencies_parsed_at":"2022-08-21T02:31:09.669Z","dependency_job_id":null,"html_url":"https://github.com/datkt/napi","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datkt%2Fnapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datkt%2Fnapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datkt%2Fnapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datkt%2Fnapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datkt","download_url":"https://codeload.github.com/datkt/napi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248347237,"owners_count":21088611,"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":["binding","c","cinterop","interop","kotlin","kotlin-native","n-api","napi","native","node"],"created_at":"2025-04-11T05:29:37.062Z","updated_at":"2025-04-11T05:29:40.484Z","avatar_url":"https://github.com/datkt.png","language":"Vim script","readme":"napi\n====\nN-API C Interop for Kotlin/Native\n\n## Installation\n\n```sh\n$ npm install @datkt/napi\n```\n\n## Prerequisites\n\n* [Kotlin/Native](https://github.com/JetBrains/kotlin-native) and the\n  `konanc` command line program.\n* [node\\_api.h](https://github.com/nodejs/node/blob/master/src/node_api.h)\n\n## Usage\n\n```sh\n## Compile a shared library with 'module.kt' and link napi.klib found in `node_modules/`\n\n$ konanc -r node_modules/@datkt -l napi/napi -p shared -o binding module.kt ## Linux\n$ konanc -r node_modules/@datkt -l napi/napi -p dynamic -o binding module.kt ## OSX\n\n$ mv libbinding.so binding.node\n$ node -e \"require('./binding')\"\n```\n\n\u003e TODO\n\n## See Also\n\n* https://nodejs.org/api/n-api.html\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatkt%2Fnapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatkt%2Fnapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatkt%2Fnapi/lists"}