Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 node_modules
Octocat-spinner-32 views
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 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);
});
Something went wrong with that request. Please try again.