@hoast/source-custom
v3.1.0
Published
Allows you to provide your own custom source functions.
Downloads
1
Readme
@hoast/source-custom
Allows you to provide your own custom source functions. Extends base-source where the overridable functions can be provided via the options. Helps you from having to create a package for simple one-off behaviour.
Install
npm install @hoast/source-custom
Options
This package extends the @hoast/base-source package. For more information on how to use this package see the options below as well as the base package.
{Function} initialize = null
Initialize function.{Function} sequential = null
Sequential function.{Function} concurrent = null
Concurrent function.{Function} final = null
Final function.{Number} logLevel = 2
Log level given to the logger.