Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{Buffer} from
'node:buffer'
;
2
import
{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
isUint8Array
Function · 0.90
validateEmptyReturn
Function · 0.85
Tested by
no test coverage detected