/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/npm/lib/utils/ping.js
6 строк
265 B
npm CLI robot
deps: upgrade npm to 11.11.1
17 мар 2026, 00:59
Не верифицирован
17 мар 2026, 00:59
1e59599
Код
Авторство
О чём код?
// ping the npm registry used by the ping and doctor commands const npmFetch = require('npm-registry-fetch') module.exports = async (flatOptions) => { const res = await npmFetch('/-/ping', { ...flatOptions, cache: false }) return res.json().catch(() => ({})) }