File Explorer

/var/lang/lib/node_modules/npm/node_modules/semver/functions

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 /.

compare.js170 B · 8 lines
'use strict' const SemVer = require('../classes/semver')const compare = (a, b, loose) =>  new SemVer(a, loose).compare(new SemVer(b, loose)) module.exports = compare