
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
Koffi is a fast and easy-to-use dynamic C FFI module for Node.js, featuring:
The following combinations of OS and architectures are officially supported and tested at the moment:
| ISA / OS | Windows | Linux/glibc | Linux/musl | macOS | FreeBSD | OpenBSD |
|---|---|---|---|---|---|---|
| x86 (IA32) 1 | β Yes | β Yes | π¨ Probably | β¬οΈ N/A | β Yes | β Yes |
| x86_64 (AMD64) | β Yes | β Yes | β Yes | β Yes | β Yes | β Yes |
| ARM64 (AArch64) LE | β Yes | β Yes | β Yes | β Yes | β Yes | π¨ Probably |
| RISC-V 64 2 | β¬οΈ N/A | β Yes | π¨ Probably | β¬οΈ N/A | π¨ Probably | π¨ Probably |
| LoongArch64 | β¬οΈ N/A | β Yes | π¨ Probably | β¬οΈ N/A | π¨ Probably | π¨ Probably |
Go to the web site for more information: https://koffi.dev/
You can consult the changelog on the official website.
Major version increments can include breaking API changes, use the migration guide for more information.
Koffi is built with a custom CMake-wrapper called CNoke, which also lives in this repository. Don't try to run CMake manually because it will fail.
Follow the documented build instructions to build Koffi from source.
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License.
Find more information here: https://choosealicense.com/licenses/mit/
ffi-napi is a popular package for calling native functions from Node.js. It provides similar functionality to Koffi, allowing you to load libraries, define functions, and manage memory. However, Koffi is designed to be more modern and efficient, with a focus on performance and ease of use.
node-ffi is another package for interfacing with native libraries in Node.js. It offers similar capabilities to Koffi, such as loading shared libraries and calling functions. Koffi, however, aims to provide a more streamlined and performant experience, with additional features for handling complex data types.
ref-napi is a package that works alongside ffi-napi to handle complex data types and memory management in Node.js. While Koffi integrates these functionalities into a single package, ref-napi is often used in conjunction with ffi-napi to achieve similar results.
FAQs
Fast and easy-to-use dynamic C FFI (foreign function interface) for Node.js
The npm package koffi receives a total of 3,656,637 weekly downloads. As such, koffi popularity was classified as popular.
We found that koffi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 1 open source maintainer collaborating on the project.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards usersβ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.