1.1.4 • Published 8 years ago

broccoli-fileindex v1.1.4

Weekly downloads
8
License
MIT
Repository
github
Last release
8 years ago

Broccoli-fileindex

Build Status

Outputs a HTML file that list links to other HTML pages

There is also a version for Gulp

CHANGELOG

INSTALL

$ npm install broccoli-fileindex

USAGE

var fileindex = require('broccoli-fileindex');

var tree = fileindex(html, {
  files: ['**/*.html'],
  dest: 'index.html'
});

OPTIONS

fileindex(tree, options)

options.files

Type: Array
Required

This option is the glob of the pages you want to generate the links.

options.dest

Type: String
Optional
Default index.html

Path to the HTML page to generate.

options.showOnlyFilenames

Type: Boolean
Optional
Default false

Whether ot not to show only the filenames in the HTML listing page

CONTRIBUTE

$ npm run test

LICENSE

MIT

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago