[nodejs] Buffer.write - Is there an efficient way to get the last index of the string that was written to the buffer

2016-01-23 Thread Chethiya Abeysinghe
This question is regarding this : https://nodejs.org/api/buffer.html#buffer_buf_write_string_offset_length_encoding In case Buffer has no enough space to fit in all the bytes this function returns the number of bytes it could write to the buffer. But is there an efficient way to find last

Re: [nodejs] ThinkJS 2.1: Supports TypeScript, and 90% Faster

2016-01-23 Thread Ω Alisson
Interesting I wonder what would be the comparison to Koa 2.0 Alpha On Fri, Jan 22, 2016 at 1:26 AM Welefen Li wrote: > ThinkJS 2.0 is the first Node.js framework that fully supports all new > ES2015/ES2016 syntax, and it was released on Oct 30 2015. By using the new > syntax