@shanzhai/copy-step

A Shanzhai step which copies an input to an output.

Usage no npm install needed!

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

README

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

A Shanzhai step which copies an input to an output.

Usage

Within a trigger's event handler, return an instance of CopyStep similar to the following:

new CopyStep(
  `A description of the operation being performed`,
  new InputRetrievingTheInformationToCopy(),
  new OutputStoringTheInformationBeingCopied()
)

Dependencies

This package has no runtime dependencies.

Peer Dependencies

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

License

FOSSA Status