Using Nan to create array in Node.js add-on code
<p>I'm writing Node add-on and using the <strong><a href="https://github.com/nodejs/nan" rel="nofollow">nan</a></strong> library as much as I can for writing the code. It's recommended by the Node project because it lets you write code that's compatible with different version of v8 and node. </p>

<p>However after looking through their <a href="https://github.com/nodejs/nan/tree/master/doc" rel="nofollow">documentation</a> many times, I haven't found any guidance on handling of arrays in the nan API. For basic tasks like processing arrays passed as arguments by the Javascript code, or instantiating new array objects in the add-on and return it to Javascript code. Are we supposed to directly work with <code>v8::Array</code> API. I wished the <a href="https://github.com/nodejs/nan/blob/master/doc/new.md" rel="nofollow">Nan::New</a> part of the API would have handled this better.</p>

<p>Have I missed something?</p>