Thanks Zlatko, much appreciated :)
This is just for my own benefit, so I'll do as you suggest an use Node 4
with "native" ES6.
PS: looks like modules aren't supported yet. Am I right? I don't even see
Modules on the compatibility
page: https://kangax.github.io/compat-table/es6/
On Thursday,
On Friday, 6 November 2015 08:39:12 UTC+11, Ingwie Phoenix wrote:
>
> Hey folks.
>
> While developing a function that lets me require() custom files, I took
> the original JS and jSON "loaders" as examples.
>
> But what I saw within the JS version confused me: It didn’T return a
> thing!
>
>
We build our version of nodejs Debian packages internally as it gives us
ability to specify installation path through the --prefix switch. All nodejs
packages are installed to something like /opt/nodejs/. With this
scheme different apps can use different versions of node packages and be run on
Hey folks.
While developing a function that lets me require() custom files, I took the
original JS and jSON "loaders" as examples.
But what I saw within the JS version confused me: It didn’T return a thing!
> console.log(require.extensions[".js"].toString())
function (module, filename) {
var
Personally, I prefer to install Node through NVM (
https://github.com/creationix/nvm) for development environments. For our
stage, QA, and production environments we use the prebuilt image.
As for advantages, honestly, I can't find any unless you plan on working on
the Node codebase yourself.
On
I don't know what version of Linux you're running, but prepacked version of
node on Ubuntu are *very* out-of-date (I just checked my 15.04 installation
and the version of node for that is still stuck at 0.10.25). By building
from source, you can pick one of the latest versions (4.2.2 or 5.0.0). It'
I want to install Node on Linux and am not sure whether to unpack the
pre-built binary for Linux 64 or to build from source.
Can anyone brief me on the drivers behind building from source on the
target machine as opposed to just unpacking a pre-built version?
cheers
--
Job board: http://jobs.
Hi,
I have a use case query from the mongo db database , where I am sending
the query $in with 500 records and currently working well now.If the record
goes beyond , for example 7000 records, is the same query works well or I
need to do alternative logic for achieve this. Can any one please
This depends a little on what you plan to do with your node-fu.
If you plan to learn a bit more, maybe work on your personal projects or
start something new in a new company, then I think you should just start
with Node 4 (the TLS version) and write "native" ES6. Even if you're just
learning at