File: wrap.js

package info (click to toggle)
node-read-only-stream 2.0.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 112 kB
  • sloc: javascript: 81; makefile: 12
file content (8 lines) | stat: -rw-r--r-- 186 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
var through = require('through2');
var readonly = require('../');

module.exports = function () {
    var stream = through();
    stream.end('wooooo\n');
    return readonly(stream);
};