Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ globify
Function
globify
deps/npm/lib/commands/help-search.js:7–7 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5
const
BaseCommand = require(
'../base-cmd.js'
)
6
7
const
globify = pattern => pattern.split(
'\\'
).join(
'/'
)
8
9
class
HelpSearch extends BaseCommand {
10
static description =
'Search npm help documentation'
Callers
1
exec
Method · 0.70
Calls
2
join
Method · 0.45
split
Method · 0.45
Tested by
no test coverage detected