LoginSignup
2
0

More than 3 years have passed since last update.

Node.js v10.0.0でnode-ffiを入れるには

Last updated at Posted at 2018-04-25

npmに登録されているffiは利用しているNANが古いのでv9.x系以降は
対応していない模様。

しかし、githubのリポジトリのマスターはそこそこメンテされており、
ためしたら、リリースされたばかりのv10.0.0でも動いた。

npm i node-ffi/node-ffi

これで、const ffi = require('ffi') として使える

関連記事

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0