12 lines
160 B
JavaScript
Executable File
12 lines
160 B
JavaScript
Executable File
'use strict';
|
|
const {Readable} = require('stream');
|
|
|
|
module.exports = input => (
|
|
new Readable({
|
|
read() {
|
|
this.push(input);
|
|
this.push(null);
|
|
}
|
|
})
|
|
);
|