No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
node_modules
views
.gitignore
README.md
index.js

README.md

list-dir

#node ./index.js

or

var list = require('list-dir');
list.listen(__dirname, 3000, function(){
  console.log('-- Server created');
});

or

var list = require('list-dir').list;
var list_dir = new list({basePath: '/'});
list_dir.get('/some/path', ['size'], function(err, data){ // sort by size
  console.log(data);
});