setup-php/node_modules/parse5/lib/sax/dev_null_stream.js
Shivam Mathur 8f9786b73f init
2019-09-06 05:17:43 +05:30

15 lines
305 B
JavaScript

'use strict';
var WritableStream = require('stream').Writable,
util = require('util');
var DevNullStream = module.exports = function () {
WritableStream.call(this);
};
util.inherits(DevNullStream, WritableStream);
DevNullStream.prototype._write = function (chunk, encoding, cb) {
cb();
};