AlkantarClanX12

Your IP : 18.225.175.230


Current Path : /proc/self/root/opt/alt/alt-nodejs11/root/lib/node_modules/npm/node_modules/slash/
Upload File :
Current File : //proc/self/root/opt/alt/alt-nodejs11/root/lib/node_modules/npm/node_modules/slash/index.js

'use strict';
module.exports = function (str) {
	var isExtendedLengthPath = /^\\\\\?\\/.test(str);
	var hasNonAscii = /[^\x00-\x80]+/.test(str);

	if (isExtendedLengthPath || hasNonAscii) {
		return str;
	}

	return str.replace(/\\/g, '/');
};