3.1.0 • Published 2 years ago
@hoast/process-custom v3.1.0
@hoast/process-custom
Allows you to provide your own custom process functions. Extends base-process 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/process-customOptions
This package extends the @hoast/base-process package. For more information on how to use this package see the options below as well as the base package.
{Function} initialize = nullInitialize function.{Function} sequential = nullSequential function.{Function} concurrent = nullConcurrent function.{Function} final = nullFinal function.{Function} filter = nullCustom filter function. The item data is given as the parameter. Returntrueif it should be processed, returnfalseif this processor should be skipped.{Number} logLevel = 2Log level given to the logger.