I have tried this code in meteor js but it will display error “TypeError: Object #Object> has no method ‘parse’”
path = Npm.require('path')
filename = path.parse('/home/user/dir/file.txt')
but in the documentaion in node js parse method should exisit in path library http://nodejs.org/api/path.html#path_path_parse_pathstring
Any tips?