@shanzhai/parse-pug-step

A Shanzhai step which parses Pug files.

Usage no npm install needed!

<script type="module">
  import shanzhaiParsePugStep from 'https://cdn.skypack.dev/@shanzhai/parse-pug-step';
</script>

README

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

A Shanzhai step which parses Pug files.

Usage

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

new ParsePugStep(
  `A description of the operation being performed`,
  new InputForUnparsedPug(),
  new OutputForParsedPug()
);

A Pug render function 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