node-fancy-index

0.2.7 • Public • Published

node-fancy-index

An nginx fancy index like static file server wrote in nodejs.

npm version

Usage

npm install -g node-fancy-index
# cd to the folder you want to expose
# export the configuraltion
> fancy-index --default-config > fancy-index.config.js

# edit the config file
> nano fancy-index.config.js

# run the server
> fancy-index

Theme

node-fancy-index is compatiable with the nginx fancy index themes.

The following themes demonstrate the level of customization which can be achieved using the module:

  • Theme by @TheInsomniac. Uses custom header and footer.
  • Theme by Naereen. Uses custom header and footer, the header includes search field to filter by filename using JavaScript.

Readme

Keywords

none

Package Sidebar

Install

npm i node-fancy-index

Weekly Downloads

0

Version

0.2.7

License

MIT

Unpacked Size

17.6 kB

Total Files

12

Last publish

Collaborators

  • larvata