oberknecht-utils
Advanced tools
Comparing version 0.0.5 to 0.0.6
/** @param {String} channel */ | ||
function cleanChannelName(channel) { | ||
if (!(channel ?? undefined)) return undefined; | ||
return channel.trim().replace(/^#/g, ""); | ||
return channel.toString().trim().replace(/^#/g, ""); | ||
}; | ||
module.exports = cleanChannelName; |
{ | ||
"name": "oberknecht-utils", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Utils for oberknecht packages", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23098