new FileHelper()

Description

Defines and registers custom handlebar helper - file

Methods


register() → {void}

Description

Registers file helper

  • If file path is not included in the defined handlebar, log an error.
  • If file path is passed, check if file exists and send the return value to HttpParser to process
Returns