MCPcopy Index your code
hub / github.com/nodejs/node / createOpener

Function createOpener

deps/npm/lib/utils/open-url.js:90–91  ·  view source on GitHub ↗
(npm, title, prompt = 'Press ENTER to open in the browser...')

Source from the content-addressed store, hash-verified

88
89// Rearrange arguments and return a function that takes the two arguments returned from the npm-profile methods that take an opener
90const createOpener = (npm, title, prompt = 'Press ENTER to open in the browser...') =>
91 (url, opts) => openUrlPrompt(npm, url, title, prompt, opts)
92
93module.exports = {
94 openUrl,

Callers 3

otpleaseFunction · 0.85
adduserFunction · 0.85
loginFunction · 0.85

Calls 1

openUrlPromptFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…