Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6 7
// ping the npm registry // used by the ping and doctor commands const fetch = require('npm-registry-fetch') module.exports = async (flatOptions) => { const res = await fetch('/-/ping?write=true', flatOptions) return res.json().catch(() => ({})) }