MCPcopy Create free account
hub / github.com/babel/babelify / constructor

Method constructor

index.js:122–126  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

120
121class BabelifyStream extends stream.Transform {
122 constructor(opts) {
123 super();
124 this._data = [];
125 this._opts = opts;
126 }
127
128 _transform(buf, enc, callback) {
129 this._data.push(buf);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected