Skip to content

Releases: itsananderson/node-web-server-cli

For there is nothing hidden that will not be disclosed

28 Aug 00:38
Compare
Choose a tag to compare

This release adds a few new features and breaking changes:

Breaking Changes

  1. The library has been rewritten to accept its config as an object, rather than positional arguments
  2. The library no longer outputs a message to the console. Instead that is left to the consumer

New Features

  1. The library accepts a new "hidden" paramater, which enables hidden (dot) files.
  2. The library supports an array of index files, rather than only supporting a single file
  3. The CLI now accepts a --hidden flag, which enables hidden files/folders
  4. The CLI now accepts a comma separated list of index files: --index index.html,index.htm,default.html
  5. The CLI now accepts a --disable-index flag, which disables the index altogether