@randajan/jet-core
Advanced tools
Comparing version 3.2.14 to 3.2.15
@@ -747,3 +747,3 @@ var __defProp = Object.defineProperty; | ||
create: Boolean, | ||
rnd: (trueRatio) => Math.random() < (trueRatio || 0.5), | ||
rnd: (trueRatio = 0.5) => Math.random() < trueRatio, | ||
to: { | ||
@@ -919,2 +919,5 @@ Function: (bol) => (_) => bol | ||
capitalize: (str) => str.charAt(0).toUpperCase() + str.slice(1), | ||
camelCase: (str) => str.replace(/[^a-zA-Z0-9]+/g, " ").trim().split(" ").map((s, i) => i ? String.jet.capitalize(s) : s).join(""), | ||
pascalCase: (str) => str.replace(/[^a-zA-Z0-9]+/g, " ").trim().split(" ").map((s) => String.jet.capitalize(s)).join(""), | ||
snakeCase: (str) => str.replace(/[^a-zA-Z0-9]+/g, " ").trim().replaceAll(" ", "_"), | ||
delone: (str) => { | ||
@@ -921,0 +924,0 @@ let r = ""; |
{ | ||
"name": "@randajan/jet-core", | ||
"version": "3.2.14", | ||
"version": "3.2.15", | ||
"description": "Ecosystem of types and related usefull tools.", | ||
@@ -5,0 +5,0 @@ "repository": "randajan/jet-core", |
Sorry, the diff of this file is not supported yet
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
148492
1453