MCPcopy Create free account
hub / github.com/browserify/static-module / wrapStream

Function wrapStream

index.js:397–400  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

395}
396
397function wrapStream (s) {
398 if (typeof s.read === 'function') return s
399 else return (new Readable).wrap(s)
400}
401
402function isStaticProperty(node) {
403 return node.type === 'Identifier' || node.type === 'Literal';

Callers 1

traverseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…