Skip to content
sink

Write file

Writes a file to the local file system.

From barnard59-core · v6.1.3

Reference

Identifier
https://barnard59.zazuko.com/operations/core/fs/createWriteStreamView as Turtle ↓
Module
fs
Export
createWriteStream
Stream
Writable — consumes 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#createWriteStream>
  ] .

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