What is the naming convention of NodeJS?

I found that the naming conversion of node is a little strange. For instance, in the file system module, the read link function's letters are all lower cased:

fs.readlink

But the read file function's name are camelized:

fs.readFile

It confused me. After mistyping for times, I think I shoud ask. So is there a naming convention to help me memorize the api names?

Always go camel case, almostly everyone does it.

The Node core does have various disparities in this case, like the one you mentioned, process have some too (process.get*() x process.memoryUsage()), and others; but the majority of the core methods are camel cased.
Until you memorize the ones who are not camel cased, I'd say that it's a good tip to always develop with the docs open ;)

Node's default convention is camelCase. But functions in file system module named according to their respective POSIX C interface functions. For example readdir, readlink. These functions names is well-known by Linux developers and therefore it's often decided to use them as is(as single word), without camelizing.