UNPKG

429 BMarkdownView Raw
1# we-edit-stream-file
2
3file stream to show output immediately
4
5## install
6```sh
7npm install we-edit-stream-file
8```
9
10## options
11>name: string|function
12>path: string|function
13
14## example
15```jsx
16<Stream.Collection>
17 <Stream type="file" path=".">
18 <Emitter.Format type="pdf"/>
19 </Stream>
20 <Stream type="file" path="." name={({format})=>`test-${format}.${format}`}>
21 <Emitter.Format type="svg"/>
22 </Stream>
23</Stream.Collection>
24```
\No newline at end of file