Skip to content

Latest commit

 

History

History

render-pug-step

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

@shanzhai/render-pug-step Continuous Integration License FOSSA Status Renovate enabled npm npm type definitions

A Shanzhai step which renders parsed Pug files.

Usage

If within a trigger's event handler an instance of RenderPugStep similar to the following were to be returned:

new RenderPugStep(
  `A description of the operation being performed`,
  new InputForPreviouslyParsedPugTemplate(),
  new InputForPugLocalsObject(),
  new OutputForReadTextFile()
);

A string containing the rendered HTML would be written to the output.

Dependencies

This package has the following runtime dependencies:

Name Version
pug 3.0.2

Peer Dependencies

This package has no runtime peer dependencies (it does not expect any other packages to be installed alongside itself).

License

FOSSA Status