Skip to content
source

Read file

Reads a file from the local file system.

From barnard59-core · v6.1.3

Reference

Identifier
https://barnard59.zazuko.com/operations/core/fs/createReadStreamView as Turtle ↓
Module
fs
Export
createReadStream
Stream
Readable — produces a stream
Implementation
ES module
Install
$ npm i barnard59-core

Use it in a pipeline

step definition · Turtle
<> a p:Step ;
  code:implementedBy [
    a code:EcmaScriptModule ;
    code:link <node:fs#createReadStream>
  ] .

Paste this into a pipeline definition to add the step. The code:link value tells barnard59 which module to load at runtime.