> That's the node spec, it could be a js file without an extension, or it could already have an extension on it

I'm not sure it's worth caring about that case, unless it will become a problem which I highly doubt.