- Notifications
You must be signed in to change notification settings - Fork2
N-API C Interop for Kotlin/Native
License
NotificationsYou must be signed in to change notification settings
datkt/napi
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
N-API C Interop for Kotlin/Native
$ npm install @datkt/napi
- Kotlin/Native and the
konanc
command line program. - node_api.h
## Compile a shared library with 'module.kt' and link napi.klib found in `node_modules/`$ konanc -r node_modules/@datkt -l napi/napi -p shared -o binding module.kt## Linux$ konanc -r node_modules/@datkt -l napi/napi -p dynamic -o binding module.kt## OSX$ mv libbinding.so binding.node$ node -e"require('./binding')"
TODO
MIT
About
N-API C Interop for Kotlin/Native
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published