MCPcopy Create free account
hub / github.com/webdriverio/webdriverio / nodeVersion

Function nodeVersion

packages/wdio-cli/src/utils.ts:307–309  ·  view source on GitHub ↗
(type: keyof typeof NodeVersion)

Source from the content-addressed store, hash-verified

305}
306
307export function nodeVersion(type: keyof typeof NodeVersion): number {
308 return process.versions.node.split('.').map(Number)[NodeVersion[type]]
309}

Callers 1

initializeMethod · 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…