Node.js 4.1 Is Available Now

Node.js version 4.1 is available to download now, announced by the Node team this morning.

Node.js is designed to build scalable network applications. Today, Node.js version 4.0.0 was released by the Node team.

Download Node.js 4.1: https://new.nodejs.org

Some of the key improvements and features in this version include:

buffer 

  • Buffers are now created in JavaScript, rather than C++. This increases the speed of buffer creation
  • Buffer#slice() now uses Uint8Array#subarray() internally, increasing slice() performance 

fs 

  • fs.utimes() now properly converts numeric strings, NaN, and Infinity.
  • fs.WriteStream now implements _writev, allowing for super-fast bulk writes. 

http: Fixed an issue with certain write() sizes causing errors when using http.request()

npm: Upgrade to version 2.14.3, see https://github.com/npm/npm/releases/tag/v2.14.3 for more details

src: V8 cpu profiling no longer erroneously shows idle time

timers: #ref() and #unref() now return the timer they belong to

v8: Lateral upgrade to 4.5.103.33 from 4.5.103.30, contains minor fixes