lix-website/themes/lix/assets/bootstrap/node_modules/to-readable-stream/index.js

12 lines
160 B
JavaScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
'use strict';
const {Readable} = require('stream');
module.exports = input => (
new Readable({
read() {
this.push(input);
this.push(null);
}
})
);