html-list

Putting out a list of html files.

npm install html-list
4 downloads in the last week
16 downloads in the last month

html-list

Putting out a list of html files.

Build Status

Usage

Callback

var htmlList = require('html-list');

htmlList('examples', {}, function (data) {
  console.log(data);
});

Emitter

var htmlList = require('html-list');

htmlList('examples', {})
.on('open', function (data) {
  console.log(data);
})
.on('data', function (data {
  console.log(data);
})
.on('end', function (data) {
  console.log(data);
});

Options

  • filterDir: directories that exclude from result.
  • filterFile: Files that exclude from result.
npm loves you