I\'m using this code in node to check if a file isn\'t starting with a dot
if( !file.startsWith(\'.\') ){...}
It seems working fine anyway I