PHP 7.4.33
Preview: index.js Size: 536 B
/var/www/gtechmarathon2026.bitkit.dk/httpdocs/node_modules/camelcase-css/index.js
"use strict";
const pattern = /-(\w|$)/g;

const callback = (dashChar, char) => char.toUpperCase();



const camelCaseCSS = property =>
{
	property = property.toLowerCase();

	// NOTE :: IE8's "styleFloat" is intentionally not supported
	if (property === "float")
	{
		return "cssFloat";
	}
	// Microsoft vendor-prefixes are uniquely cased
	else if (property.startsWith("-ms-"))
	{
		return property.substr(1).replace(pattern, callback);
	}
	else
	{
		return property.replace(pattern, callback);
	}
};



module.exports = camelCaseCSS;

Directory Contents

Dirs: 0 × Files: 5
Name Size Perms Modified Actions
674 B lrw-r--r-- 2025-07-10 12:54:55
Edit Download
536 B lrw-r--r-- 2025-07-10 12:54:55
Edit Download
1.08 KB lrw-r--r-- 2025-07-10 12:54:55
Edit Download
860 B lrw-r--r-- 2025-07-10 12:54:55
Edit Download
870 B lrw-r--r-- 2025-07-10 12:54:55
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).