node-memcpy icon indicating copy to clipboard operation
node-memcpy copied to clipboard

Updated dependencies to support io.js

Open ngoossens opened this issue 10 years ago • 4 comments

Updated the dependencies (nan & node-arraybuffer [https://github.com/vmolsa/node-arraybuffer/pull/1]) to support building using io.js 2.

Please review.

ngoossens avatar Jul 22 '15 07:07 ngoossens

Seems this is also necessary for node 0.12.x. Works for me with that engine.

zbjornson avatar Jul 26 '15 04:07 zbjornson

@dcodeIO Any chance you could merge this?

ThomWright avatar Sep 28 '15 07:09 ThomWright

@ThomWright if you're using a version of node that has Buffers backed by TypedArrays (e.g. 4.0 and later), you can just access the underlying buffer with Buffer.buffer and make a new array view on that. But, this module is necessary for earlier versions. (Some discussion here.)

zbjornson avatar Sep 28 '15 18:09 zbjornson

Thanks, but I'm actually running in the browser (using Browserify), and I was hoping to use this library, but the installation fails trying to install memcpy (npm 3.3.4, node 4.1.0).

ThomWright avatar Sep 28 '15 18:09 ThomWright