3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

NAN化されたnode-ffiを試すには

Last updated at Posted at 2014-08-26

背景

0.11系に未対応だったnode-ffiをNAN化した方が現れたので、試してみた。

node-ffiは任意の共有ライブラリを動的にJavaScriptから呼び出して使えるようにするライブラリ。Pythonでいうところのctypesのようなもの。

やり方

nodebrew use 0.11
git clone https://github.com/avatar5d/node-ffi.git
cd node-ffi
npm install -g node-gyp
npm install nan
node-gyp rebuild

動かし方

関連投稿

関連記事

3
3
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
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?