@shanzhai/read-text-file-step

A Shanzhai step which reads the content of a UTF-8 encoded text file.

Usage no npm install needed!

<script type="module">
  import shanzhaiReadTextFileStep from 'https://cdn.skypack.dev/@shanzhai/read-text-file-step';
</script>

README

@shanzhai/read-text-file-step Continuous Integration License FOSSA Status Renovate enabled npm npm type definitions

A Shanzhai step which reads the content of a UTF-8 encoded text file.

Usage

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

new ReadTextFile(
  `A description of the operation being performed`,
  [`A`, `Path`, `To`, `A`, `File`]
  new OutputForReadTextFile()
);

A string containing the file's content would be written to the output.

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