MCPcopy Create free account
hub / github.com/sindresorhus/execa / validate.js

File validate.js

lib/transform/validate.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {Buffer} from 'node:buffer';
2import {isUint8Array} from '../utils/uint-array.js';
3
4// Validate the type of chunk argument passed to transform generators

Callers

nothing calls this directly

Calls 2

isUint8ArrayFunction · 0.90
validateEmptyReturnFunction · 0.85

Tested by

no test coverage detected