Skip to content

lea-js/leajs-folders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leajs-folders

Plugin of leajs.

Serves folders.

leajs.config

module.exports = {

  // Lookup to translate a url into a folder
  // $item ([Object, String]) Folder options, can be used as a shortcut for folders.$item.folders
  // $item.folder ([String, Array]) Folderpath, absolute or relative to CWD
  // $item.folders ([String, Array]) Synonym for folders.$item.folder
  // $item.mount (String) Url to mount the folder to, overwrites folder options name
  folders: {}, // Object

  // …

}

License

Copyright (c) 2018 Paul Pflugradt Licensed under the MIT license.