File Explorer

/var/lang/lib/node_modules/npm/lib/utils

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

0 dirs
35 files
ping.js268 B · 8 lines
// ping the npm registry// used by the ping and doctor commandsconst npmFetch = require('npm-registry-fetch')module.exports = async (flatOptions) => {  const res = await npmFetch('/-/ping', { ...flatOptions, cache: false })  return res.json().catch(() => ({}))}