broccoli-fileindex

1.1.4 • Public • Published

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

Package Sidebar

Install

npm i broccoli-fileindex

Weekly Downloads

6

Version

1.1.4

License

MIT

Last publish

Collaborators

  • raiseandfall