Ringobot log - RingoJS IRC channel: #ringojs on irc.freenode.net

2010-09-07:

[9:29] <emilis_info> what do you use for parsing csv?
[9:29] <emilis_info> or maybe there's a library for Google spreadsheet import?
[10:01] <earl> emilis_info: http://github.com/chl/wraps-gdata may be interesting
[16:39] <oravecz> I'm trying to list all of the files in the same directory as my module. It looks like the list() function in fs.js tries to resolve paths using the current working directory. I'm in a web application. Is there any way to use fs.list() to find all files relative to the current module?
[17:01] <robi42> oravecz, `require('fs').list(module.directory);` should do the job
[23:04] <oravecz> thanks robi, I eventually discovered the module.directory property, but I could not get it to list() however.