transformobject mode
Flatten
Separates incoming arrays into their elements and emits each element as a single chunk.
From barnard59-base · v2.5.1
Reference
- Identifier
- https://barnard59.zazuko.com/operations/base/flattenView as Turtle ↓
- Module
- barnard59-base/flatten.js
- Export
- default
- Stream
- Readable and writable — reads the stream and passes it on
- Implementation
- ES module
- Install
$ npm i barnard59-base
Use it in a pipeline
<> a p:Step ;
code:implementedBy [
a code:EcmaScriptModule ;
code:link <node:barnard59-base/flatten.js#default>
] .Paste this into a pipeline definition to add the step. The code:link value tells barnard59 which module to load at runtime.