Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@datkt/napi

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datkt/napi - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

package.kc

7

package.json
{
"name": "@datkt/napi",
"version": "0.1.1",
"version": "0.2.0",
"description": "N-API C Interop for Kotlin/Native",
"main": "napi.klib",
"scripts": {
"build": "npm run klib",
"klib": "cinterop -def napi.def -pkg napi -o napi",
"install": "npm run klib",
"build": "cinterop -def napi.def -pkg napi -o napi",
"postinstall": "npm run build",
"test": ":"

@@ -11,0 +10,0 @@ },

@@ -21,3 +21,6 @@ napi

## 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
$ 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

@@ -24,0 +27,0 @@ $ node -e "require('./binding')"

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc