@oxog/strkit 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/extend.cjs CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkQYEYUUS2_cjs=require('./chunk-QYEYUUS2.cjs');String.prototype.camelCase=function(){return chunkQYEYUUS2_cjs.f(this.toString())};String.prototype.kebabCase=function(){return chunkQYEYUUS2_cjs.g(this.toString())};String.prototype.snakeCase=function(){return chunkQYEYUUS2_cjs.h(this.toString())};String.prototype.pascalCase=function(){return chunkQYEYUUS2_cjs.i(this.toString())};String.prototype.titleCase=function(){return chunkQYEYUUS2_cjs.j(this.toString())};String.prototype.sentenceCase=function(){return chunkQYEYUUS2_cjs.k(this.toString())};String.prototype.constantCase=function(){return chunkQYEYUUS2_cjs.l(this.toString())};String.prototype.dotCase=function(){return chunkQYEYUUS2_cjs.m(this.toString())};String.prototype.pathCase=function(){return chunkQYEYUUS2_cjs.n(this.toString())};String.prototype.headerCase=function(){return chunkQYEYUUS2_cjs.o(this.toString())};String.prototype.swapCase=function(){return chunkQYEYUUS2_cjs.p(this.toString())};String.prototype.capitalize=function(){return chunkQYEYUUS2_cjs.s(this.toString())};String.prototype.decapitalize=function(){return chunkQYEYUUS2_cjs.t(this.toString())};String.prototype.trimChars=function(t){return chunkQYEYUUS2_cjs.u(this.toString(),t)};String.prototype.trimStartChars=function(t){return chunkQYEYUUS2_cjs.v(this.toString(),t)};String.prototype.trimEndChars=function(t){return chunkQYEYUUS2_cjs.w(this.toString(),t)};String.prototype.padBoth=function(t,n){return chunkQYEYUUS2_cjs.x(this.toString(),t,n)};String.prototype.reverse=function(){return chunkQYEYUUS2_cjs.B(this.toString())};String.prototype.truncate=function(t,n){return chunkQYEYUUS2_cjs.C(this.toString(),t,n)};String.prototype.wrap=function(t,n){return chunkQYEYUUS2_cjs.D(this.toString(),t,n)};String.prototype.unwrap=function(t,n){return chunkQYEYUUS2_cjs.E(this.toString(),t,n)};String.prototype.insert=function(t,n){return chunkQYEYUUS2_cjs.G(this.toString(),t,n)};String.prototype.remove=function(t,n){return chunkQYEYUUS2_cjs.H(this.toString(),t,n)};String.prototype.replaceAllStr=function(t,n){return chunkQYEYUUS2_cjs.J(this.toString(),t,n)};String.prototype.between=function(t,n){return chunkQYEYUUS2_cjs.K(this.toString(),t,n)};String.prototype.before=function(t){return chunkQYEYUUS2_cjs.L(this.toString(),t)};String.prototype.after=function(t){return chunkQYEYUUS2_cjs.M(this.toString(),t)};String.prototype.beforeLast=function(t){return chunkQYEYUUS2_cjs.N(this.toString(),t)};String.prototype.afterLast=function(t){return chunkQYEYUUS2_cjs.O(this.toString(),t)};String.prototype.append=function(...t){return chunkQYEYUUS2_cjs.P(this.toString(),...t)};String.prototype.prepend=function(...t){return chunkQYEYUUS2_cjs.Q(this.toString(),...t)};String.prototype.surround=function(t){return chunkQYEYUUS2_cjs.R(this.toString(),t)};String.prototype.collapseWhitespace=function(){return chunkQYEYUUS2_cjs.S(this.toString())};String.prototype.lines=function(){return chunkQYEYUUS2_cjs.T(this.toString())};String.prototype.words=function(){return chunkQYEYUUS2_cjs.U(this.toString())};String.prototype.chars=function(){return chunkQYEYUUS2_cjs.V(this.toString())};String.prototype.escape=function(){return chunkQYEYUUS2_cjs.ra(this.toString())};String.prototype.unescape=function(){return chunkQYEYUUS2_cjs.sa(this.toString())};String.prototype.escapeHtml=function(){return chunkQYEYUUS2_cjs.ta(this.toString())};String.prototype.unescapeHtml=function(){return chunkQYEYUUS2_cjs.ua(this.toString())};String.prototype.escapeRegex=function(){return chunkQYEYUUS2_cjs.va(this.toString())};String.prototype.slugify=function(t){return chunkQYEYUUS2_cjs.wa(this.toString(),t)};String.prototype.sanitizeFilename=function(){return chunkQYEYUUS2_cjs.xa(this.toString())};String.prototype.stripHtml=function(){return chunkQYEYUUS2_cjs.ya(this.toString())};String.prototype.stripTags=function(t){return chunkQYEYUUS2_cjs.za(this.toString(),t)};String.prototype.clean=function(){return chunkQYEYUUS2_cjs.Aa(this.toString())};String.prototype.normalizeStr=function(){return chunkQYEYUUS2_cjs.Ba(this.toString())};String.prototype.latinise=function(){return chunkQYEYUUS2_cjs.Ca(this.toString())};String.prototype.transliterate=function(t){return chunkQYEYUUS2_cjs.Da(this.toString(),t)};String.prototype.template=function(t,n){return chunkQYEYUUS2_cjs.Ea(this.toString(),t,n)};String.prototype.sprintf=function(...t){return chunkQYEYUUS2_cjs.Fa(this.toString(),...t)};String.prototype.mask=function(t){return chunkQYEYUUS2_cjs.Ga(this.toString(),t)};String.prototype.unmask=function(t){return chunkQYEYUUS2_cjs.Ha(this.toString(),t)};String.prototype.isEmail=function(){return chunkQYEYUUS2_cjs.W(this.toString())};String.prototype.isUrl=function(){return chunkQYEYUUS2_cjs.X(this.toString())};String.prototype.isUuid=function(t){return chunkQYEYUUS2_cjs.Y(this.toString(),t)};String.prototype.isIp=function(){return chunkQYEYUUS2_cjs.Z(this.toString())};String.prototype.isIpv4=function(){return chunkQYEYUUS2_cjs._(this.toString())};String.prototype.isIpv6=function(){return chunkQYEYUUS2_cjs.$(this.toString())};String.prototype.isPhone=function(){return chunkQYEYUUS2_cjs.aa(this.toString())};String.prototype.isCreditCard=function(){return chunkQYEYUUS2_cjs.ba(this.toString())};String.prototype.isEmpty=function(){return chunkQYEYUUS2_cjs.ca(this.toString())};String.prototype.isBlank=function(){return chunkQYEYUUS2_cjs.da(this.toString())};String.prototype.isAlpha=function(){return chunkQYEYUUS2_cjs.ea(this.toString())};String.prototype.isNumeric=function(){return chunkQYEYUUS2_cjs.fa(this.toString())};String.prototype.isAlphanumeric=function(){return chunkQYEYUUS2_cjs.ga(this.toString())};String.prototype.isHex=function(){return chunkQYEYUUS2_cjs.ha(this.toString())};String.prototype.isBase64=function(){return chunkQYEYUUS2_cjs.ia(this.toString())};String.prototype.isJson=function(){return chunkQYEYUUS2_cjs.ja(this.toString())};String.prototype.isUpperCase=function(){return chunkQYEYUUS2_cjs.ka(this.toString())};String.prototype.isLowerCase=function(){return chunkQYEYUUS2_cjs.la(this.toString())};String.prototype.wordCount=function(){return chunkQYEYUUS2_cjs.Wa(this.toString())};String.prototype.charCount=function(t){return chunkQYEYUUS2_cjs.Xa(this.toString(),t)};String.prototype.lineCount=function(){return chunkQYEYUUS2_cjs.Ya(this.toString())};String.prototype.sentenceCount=function(){return chunkQYEYUUS2_cjs.Za(this.toString())};String.prototype.paragraphCount=function(){return chunkQYEYUUS2_cjs._a(this.toString())};String.prototype.byteSize=function(){return chunkQYEYUUS2_cjs.$a(this.toString())};String.prototype.entropy=function(){return chunkQYEYUUS2_cjs.ab(this.toString())};String.prototype.frequency=function(t){return chunkQYEYUUS2_cjs.bb(this.toString(),t)};String.prototype.readingTime=function(t){return chunkQYEYUUS2_cjs.cb(this.toString(),t)};String.prototype.speakingTime=function(t){return chunkQYEYUUS2_cjs.db(this.toString(),t)};String.prototype.containsStr=function(t,n){return chunkQYEYUUS2_cjs.sb(this.toString(),t,n)};String.prototype.countOccurrences=function(t){return chunkQYEYUUS2_cjs.xb(this.toString(),t)};String.prototype.positions=function(t){return chunkQYEYUUS2_cjs.yb(this.toString(),t)};String.prototype.matchStr=function(t){return chunkQYEYUUS2_cjs.zb(this.toString(),t)};String.prototype.matchAllStr=function(t){return chunkQYEYUUS2_cjs.Ab(this.toString(),t)};String.prototype.levenshtein=function(t){return chunkQYEYUUS2_cjs.La(this.toString(),t)};String.prototype.levenshteinRatio=function(t){return chunkQYEYUUS2_cjs.Ma(this.toString(),t)};String.prototype.dice=function(t){return chunkQYEYUUS2_cjs.Na(this.toString(),t)};String.prototype.jaroWinkler=function(t){return chunkQYEYUUS2_cjs.Oa(this.toString(),t)};String.prototype.hamming=function(t){return chunkQYEYUUS2_cjs.Pa(this.toString(),t)};String.prototype.cosine=function(t){return chunkQYEYUUS2_cjs.Qa(this.toString(),t)};String.prototype.similarity=function(t,n){return chunkQYEYUUS2_cjs.Ta(this.toString(),t,n)};String.prototype.diffChars=function(t){return chunkQYEYUUS2_cjs.lb(this.toString(),t)};String.prototype.diffWords=function(t){return chunkQYEYUUS2_cjs.mb(this.toString(),t)};String.prototype.diffLines=function(t){return chunkQYEYUUS2_cjs.nb(this.toString(),t)};String.prototype.diff=function(t,n){return chunkQYEYUUS2_cjs.ob(this.toString(),t,n)};String.prototype.pluralize=function(t,n){return chunkQYEYUUS2_cjs.eb(this.toString(),t,n)};String.prototype.singularize=function(){return chunkQYEYUUS2_cjs.fb(this.toString())};String.prototype.isPlural=function(){return chunkQYEYUUS2_cjs.gb(this.toString())};String.prototype.isSingular=function(){return chunkQYEYUUS2_cjs.hb(this.toString())};//# sourceMappingURL=extend.cjs.map
1
+ 'use strict';var chunkVXA6NXOA_cjs=require('./chunk-VXA6NXOA.cjs');var Xt=new Set(Object.keys(String.prototype));String.prototype.camelCase=function(){return chunkVXA6NXOA_cjs.f(this.toString())};String.prototype.kebabCase=function(){return chunkVXA6NXOA_cjs.g(this.toString())};String.prototype.snakeCase=function(){return chunkVXA6NXOA_cjs.h(this.toString())};String.prototype.pascalCase=function(){return chunkVXA6NXOA_cjs.i(this.toString())};String.prototype.titleCase=function(){return chunkVXA6NXOA_cjs.j(this.toString())};String.prototype.sentenceCase=function(){return chunkVXA6NXOA_cjs.k(this.toString())};String.prototype.constantCase=function(){return chunkVXA6NXOA_cjs.l(this.toString())};String.prototype.dotCase=function(){return chunkVXA6NXOA_cjs.m(this.toString())};String.prototype.pathCase=function(){return chunkVXA6NXOA_cjs.n(this.toString())};String.prototype.headerCase=function(){return chunkVXA6NXOA_cjs.o(this.toString())};String.prototype.swapCase=function(){return chunkVXA6NXOA_cjs.p(this.toString())};String.prototype.capitalize=function(){return chunkVXA6NXOA_cjs.s(this.toString())};String.prototype.decapitalize=function(){return chunkVXA6NXOA_cjs.t(this.toString())};String.prototype.trimChars=function(t){return chunkVXA6NXOA_cjs.u(this.toString(),t)};String.prototype.trimStartChars=function(t){return chunkVXA6NXOA_cjs.v(this.toString(),t)};String.prototype.trimEndChars=function(t){return chunkVXA6NXOA_cjs.w(this.toString(),t)};String.prototype.padBoth=function(t,n){return chunkVXA6NXOA_cjs.x(this.toString(),t,n)};String.prototype.reverse=function(){return chunkVXA6NXOA_cjs.B(this.toString())};String.prototype.truncate=function(t,n){return chunkVXA6NXOA_cjs.C(this.toString(),t,n)};String.prototype.wrap=function(t,n){return chunkVXA6NXOA_cjs.D(this.toString(),t,n)};String.prototype.unwrap=function(t,n){return chunkVXA6NXOA_cjs.E(this.toString(),t,n)};String.prototype.insert=function(t,n){return chunkVXA6NXOA_cjs.G(this.toString(),t,n)};String.prototype.remove=function(t,n){return chunkVXA6NXOA_cjs.H(this.toString(),t,n)};String.prototype.replaceAllStr=function(t,n){return chunkVXA6NXOA_cjs.J(this.toString(),t,n)};String.prototype.between=function(t,n){return chunkVXA6NXOA_cjs.K(this.toString(),t,n)};String.prototype.before=function(t){return chunkVXA6NXOA_cjs.L(this.toString(),t)};String.prototype.after=function(t){return chunkVXA6NXOA_cjs.M(this.toString(),t)};String.prototype.beforeLast=function(t){return chunkVXA6NXOA_cjs.N(this.toString(),t)};String.prototype.afterLast=function(t){return chunkVXA6NXOA_cjs.O(this.toString(),t)};String.prototype.append=function(...t){return chunkVXA6NXOA_cjs.P(this.toString(),...t)};String.prototype.prepend=function(...t){return chunkVXA6NXOA_cjs.Q(this.toString(),...t)};String.prototype.surround=function(t){return chunkVXA6NXOA_cjs.R(this.toString(),t)};String.prototype.collapseWhitespace=function(){return chunkVXA6NXOA_cjs.S(this.toString())};String.prototype.lines=function(){return chunkVXA6NXOA_cjs.T(this.toString())};String.prototype.words=function(){return chunkVXA6NXOA_cjs.U(this.toString())};String.prototype.chars=function(){return chunkVXA6NXOA_cjs.V(this.toString())};String.prototype.escape=function(){return chunkVXA6NXOA_cjs.ra(this.toString())};String.prototype.unescape=function(){return chunkVXA6NXOA_cjs.sa(this.toString())};String.prototype.escapeHtml=function(){return chunkVXA6NXOA_cjs.ta(this.toString())};String.prototype.unescapeHtml=function(){return chunkVXA6NXOA_cjs.ua(this.toString())};String.prototype.escapeRegex=function(){return chunkVXA6NXOA_cjs.va(this.toString())};String.prototype.slugify=function(t){return chunkVXA6NXOA_cjs.wa(this.toString(),t)};String.prototype.sanitizeFilename=function(){return chunkVXA6NXOA_cjs.xa(this.toString())};String.prototype.stripHtml=function(){return chunkVXA6NXOA_cjs.ya(this.toString())};String.prototype.stripTags=function(t){return chunkVXA6NXOA_cjs.za(this.toString(),t)};String.prototype.clean=function(){return chunkVXA6NXOA_cjs.Aa(this.toString())};String.prototype.normalizeStr=function(){return chunkVXA6NXOA_cjs.Ba(this.toString())};String.prototype.latinise=function(){return chunkVXA6NXOA_cjs.Ca(this.toString())};String.prototype.transliterate=function(t){return chunkVXA6NXOA_cjs.Da(this.toString(),t)};String.prototype.template=function(t,n){return chunkVXA6NXOA_cjs.Ea(this.toString(),t,n)};String.prototype.sprintf=function(...t){return chunkVXA6NXOA_cjs.Fa(this.toString(),...t)};String.prototype.mask=function(t){return chunkVXA6NXOA_cjs.Ga(this.toString(),t)};String.prototype.unmask=function(t){return chunkVXA6NXOA_cjs.Ha(this.toString(),t)};String.prototype.isEmail=function(){return chunkVXA6NXOA_cjs.W(this.toString())};String.prototype.isUrl=function(){return chunkVXA6NXOA_cjs.X(this.toString())};String.prototype.isUuid=function(t){return chunkVXA6NXOA_cjs.Y(this.toString(),t)};String.prototype.isIp=function(){return chunkVXA6NXOA_cjs.Z(this.toString())};String.prototype.isIpv4=function(){return chunkVXA6NXOA_cjs._(this.toString())};String.prototype.isIpv6=function(){return chunkVXA6NXOA_cjs.$(this.toString())};String.prototype.isPhone=function(){return chunkVXA6NXOA_cjs.aa(this.toString())};String.prototype.isCreditCard=function(){return chunkVXA6NXOA_cjs.ba(this.toString())};String.prototype.isEmpty=function(){return chunkVXA6NXOA_cjs.ca(this.toString())};String.prototype.isBlank=function(){return chunkVXA6NXOA_cjs.da(this.toString())};String.prototype.isAlpha=function(){return chunkVXA6NXOA_cjs.ea(this.toString())};String.prototype.isNumeric=function(){return chunkVXA6NXOA_cjs.fa(this.toString())};String.prototype.isAlphanumeric=function(){return chunkVXA6NXOA_cjs.ga(this.toString())};String.prototype.isHex=function(){return chunkVXA6NXOA_cjs.ha(this.toString())};String.prototype.isBase64=function(){return chunkVXA6NXOA_cjs.ia(this.toString())};String.prototype.isJson=function(){return chunkVXA6NXOA_cjs.ja(this.toString())};String.prototype.isUpperCase=function(){return chunkVXA6NXOA_cjs.ka(this.toString())};String.prototype.isLowerCase=function(){return chunkVXA6NXOA_cjs.la(this.toString())};String.prototype.wordCount=function(){return chunkVXA6NXOA_cjs.Wa(this.toString())};String.prototype.charCount=function(t){return chunkVXA6NXOA_cjs.Xa(this.toString(),t)};String.prototype.lineCount=function(){return chunkVXA6NXOA_cjs.Ya(this.toString())};String.prototype.sentenceCount=function(){return chunkVXA6NXOA_cjs.Za(this.toString())};String.prototype.paragraphCount=function(){return chunkVXA6NXOA_cjs._a(this.toString())};String.prototype.byteSize=function(){return chunkVXA6NXOA_cjs.$a(this.toString())};String.prototype.entropy=function(){return chunkVXA6NXOA_cjs.ab(this.toString())};String.prototype.frequency=function(t){return chunkVXA6NXOA_cjs.bb(this.toString(),t)};String.prototype.readingTime=function(t){return chunkVXA6NXOA_cjs.cb(this.toString(),t)};String.prototype.speakingTime=function(t){return chunkVXA6NXOA_cjs.db(this.toString(),t)};String.prototype.containsStr=function(t,n){return chunkVXA6NXOA_cjs.sb(this.toString(),t,n)};String.prototype.countOccurrences=function(t){return chunkVXA6NXOA_cjs.xb(this.toString(),t)};String.prototype.positions=function(t){return chunkVXA6NXOA_cjs.yb(this.toString(),t)};String.prototype.matchStr=function(t){return chunkVXA6NXOA_cjs.zb(this.toString(),t)};String.prototype.matchAllStr=function(t){return chunkVXA6NXOA_cjs.Ab(this.toString(),t)};String.prototype.levenshtein=function(t){return chunkVXA6NXOA_cjs.La(this.toString(),t)};String.prototype.levenshteinRatio=function(t){return chunkVXA6NXOA_cjs.Ma(this.toString(),t)};String.prototype.dice=function(t){return chunkVXA6NXOA_cjs.Na(this.toString(),t)};String.prototype.jaroWinkler=function(t){return chunkVXA6NXOA_cjs.Oa(this.toString(),t)};String.prototype.hamming=function(t){return chunkVXA6NXOA_cjs.Pa(this.toString(),t)};String.prototype.cosine=function(t){return chunkVXA6NXOA_cjs.Qa(this.toString(),t)};String.prototype.similarity=function(t,n){return chunkVXA6NXOA_cjs.Ta(this.toString(),t,n)};String.prototype.diffChars=function(t){return chunkVXA6NXOA_cjs.lb(this.toString(),t)};String.prototype.diffWords=function(t){return chunkVXA6NXOA_cjs.mb(this.toString(),t)};String.prototype.diffLines=function(t){return chunkVXA6NXOA_cjs.nb(this.toString(),t)};String.prototype.diff=function(t,n){return chunkVXA6NXOA_cjs.ob(this.toString(),t,n)};String.prototype.pluralize=function(t,n){return chunkVXA6NXOA_cjs.eb(this.toString(),t,n)};String.prototype.singularize=function(){return chunkVXA6NXOA_cjs.fb(this.toString())};String.prototype.isPlural=function(){return chunkVXA6NXOA_cjs.gb(this.toString())};String.prototype.isSingular=function(){return chunkVXA6NXOA_cjs.hb(this.toString())};for(let t of Object.keys(String.prototype))Xt.has(t)||Object.defineProperty(String.prototype,t,{enumerable:false});//# sourceMappingURL=extend.cjs.map
2
2
  //# sourceMappingURL=extend.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/extend.ts"],"names":["camelCase","kebabCase","snakeCase","pascalCase","titleCase","sentenceCase","constantCase","dotCase","pathCase","headerCase","swapCase","capitalize","decapitalize","chars","trim","trimStart","trimEnd","length","char","pad","reverse","options","truncate","wrapper","end","wrap","unwrap","index","str","insert","start","count","remove","search","replacement","replaceAll","between","before","after","beforeLast","afterLast","strings","append","prepend","surround","collapseWhitespace","lines","words","escape","unescape","escapeHtml","unescapeHtml","escapeRegex","slugify","sanitizeFilename","stripHtml","allowed","stripTags","clean","normalize","latinise","locale","transliterate","data","template","args","sprintf","pattern","mask","unmask","isEmail","isUrl","version","isUuid","isIp","isIpv4","isIpv6","isPhone","isCreditCard","isEmpty","isBlank","isAlpha","isNumeric","isAlphanumeric","isHex","isBase64","isJson","isUpperCase","isLowerCase","wordCount","charCount","lineCount","sentenceCount","paragraphCount","byteSize","entropy","frequency","readingTime","speakingTime","contains","countOccurrences","positions","match","matchAll","other","levenshtein","levenshteinRatio","dice","jaroWinkler","hamming","cosine","similarity","diffChars","diffWords","diffLines","diff","showCount","pluralize","singularize","isPlural","isSingular"],"mappings":"mEA0KA,MAAA,CAAO,UAAU,SAAA,CAAY,UAAoB,CAC/C,OAAkBA,oBAAU,IAAA,CAAK,QAAA,EAAU,CAC7C,EAEA,MAAA,CAAO,SAAA,CAAU,SAAA,CAAY,UAAoB,CAC/C,OAAkBC,mBAAAA,CAAU,IAAA,CAAK,QAAA,EAAU,CAC7C,CAAA,CAEA,MAAA,CAAO,SAAA,CAAU,UAAY,UAAoB,CAC/C,OAAkBC,mBAAAA,CAAU,KAAK,QAAA,EAAU,CAC7C,CAAA,CAEA,MAAA,CAAO,UAAU,UAAA,CAAa,UAAoB,CAChD,OAAkBC,oBAAW,IAAA,CAAK,QAAA,EAAU,CAC9C,EAEA,MAAA,CAAO,SAAA,CAAU,SAAA,CAAY,UAAoB,CAC/C,OAAkBC,mBAAAA,CAAU,KAAK,QAAA,EAAU,CAC7C,CAAA,CAEA,MAAA,CAAO,SAAA,CAAU,YAAA,CAAe,UAAoB,CAClD,OAAkBC,mBAAAA,CAAa,IAAA,CAAK,UAAU,CAChD,CAAA,CAEA,MAAA,CAAO,UAAU,YAAA,CAAe,UAAoB,CAClD,OAAkBC,mBAAAA,CAAa,KAAK,QAAA,EAAU,CAChD,CAAA,CAEA,OAAO,SAAA,CAAU,OAAA,CAAU,UAAoB,CAC7C,OAAkBC,mBAAAA,CAAQ,IAAA,CAAK,QAAA,EAAU,CAC3C,CAAA,CAEA,MAAA,CAAO,UAAU,QAAA,CAAW,UAAoB,CAC9C,OAAkBC,mBAAAA,CAAS,IAA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AAoB,CACjD,OAA2BE,qBAAY,IAAA,CAAK,QAAA,EAAU,CACxD,CAAA,CAEA,OAAO,SAAA,CAAU,QAAA,CAAW,UAAqB,CAC/C,OAA2BC,oBAAAA,CAAS,IAAA,CAAK,QAAA,EAAU,CACrD,CAAA,CAEA,MAAA,CAAO,SAAA,CAAU,UAAA,CAAa,UAAqB,CACjD,OAA2BC,qBAAW,IAAA,CAAK,QAAA,EAAU,CACvD,CAAA","file":"extend.cjs","sourcesContent":["/**\n * String Prototype Extensions\n *\n * This file adds StrKit methods to the String prototype.\n * Import this file to enable chained string methods on native strings.\n *\n * @example\n * import '@oxog/strkit/extend';\n *\n * 'hello world'.camelCase(); // 'helloWorld'\n * 'test@test.com'.isEmail(); // true\n */\n\nimport * as casePlugin from './plugins/case/index.js';\nimport * as manipulationPlugin from './plugins/manipulation/index.js';\nimport * as validationPlugin from './plugins/validation/index.js';\nimport * as sanitizationPlugin from './plugins/sanitization/index.js';\nimport * as formattingPlugin from './plugins/formatting/index.js';\nimport * as similarityPlugin from './plugins/similarity/index.js';\nimport * as analysisPlugin from './plugins/analysis/index.js';\nimport * as pluralizationPlugin from './plugins/pluralization/index.js';\nimport * as diffPlugin from './plugins/diff/index.js';\nimport * as searchPlugin from './plugins/search/index.js';\n\nimport type {\n TruncateOptions,\n SlugifyOptions,\n TemplateOptions,\n SimilarityOptions,\n DiffOptions,\n DiffResult,\n StrKitOptions,\n AnalysisOptions,\n FrequencyResult,\n SearchOptions,\n} from './core/types.js';\n\n// Initialize locales\nimport './locales/index.js';\n\ndeclare global {\n interface String {\n // Case methods\n camelCase(): string;\n kebabCase(): string;\n snakeCase(): string;\n pascalCase(): string;\n titleCase(): string;\n sentenceCase(): string;\n constantCase(): string;\n dotCase(): string;\n pathCase(): string;\n headerCase(): string;\n swapCase(): string;\n toUpperCase(): string;\n toLowerCase(): string;\n capitalize(): string;\n decapitalize(): string;\n\n // Manipulation methods\n trimChars(chars?: string): string;\n trimStartChars(chars?: string): string;\n trimEndChars(chars?: string): string;\n padBoth(length: number, char?: string): string;\n reverse(): string;\n truncate(length: number, options?: TruncateOptions): string;\n wrap(wrapper: string, end?: string): string;\n unwrap(wrapper: string, end?: string): string;\n insert(index: number, str: string): string;\n remove(start: number, count: number): string;\n replaceAllStr(search: string | RegExp, replacement: string): string;\n between(start: string, end: string): string;\n before(search: string): string;\n after(search: string): string;\n beforeLast(search: string): string;\n afterLast(search: string): string;\n append(...strings: string[]): string;\n prepend(...strings: string[]): string;\n surround(wrapper: string): string;\n collapseWhitespace(): string;\n lines(): string[];\n words(): string[];\n chars(): string[];\n\n // Sanitization methods\n escape(): string;\n unescape(): string;\n escapeHtml(): string;\n unescapeHtml(): string;\n escapeRegex(): string;\n slugify(options?: SlugifyOptions): string;\n sanitizeFilename(): string;\n stripHtml(): string;\n stripTags(allowed?: string[]): string;\n clean(): string;\n normalizeStr(): string;\n latinise(): string;\n transliterate(locale?: string): string;\n\n // Formatting methods\n template(data: Record<string, unknown>, options?: TemplateOptions): string;\n sprintf(...args: unknown[]): string;\n mask(pattern: string): string;\n unmask(pattern: string): string;\n\n // Validation methods\n isEmail(): boolean;\n isUrl(): boolean;\n isUuid(version?: 1 | 3 | 4 | 5): boolean;\n isIp(): boolean;\n isIpv4(): boolean;\n isIpv6(): boolean;\n isPhone(): boolean;\n isCreditCard(): boolean;\n isEmpty(): boolean;\n isBlank(): boolean;\n isAlpha(): boolean;\n isNumeric(): boolean;\n isAlphanumeric(): boolean;\n isHex(): boolean;\n isBase64(): boolean;\n isJson(): boolean;\n isUpperCase(): boolean;\n isLowerCase(): boolean;\n\n // Analysis methods\n wordCount(): number;\n charCount(options?: AnalysisOptions): number;\n lineCount(): number;\n sentenceCount(): number;\n paragraphCount(): number;\n byteSize(): number;\n entropy(): number;\n frequency(options?: { type?: 'char' | 'word' }): FrequencyResult;\n readingTime(options?: { wordsPerMinute?: number }): number;\n speakingTime(options?: { wordsPerMinute?: number }): number;\n\n // Search methods\n containsStr(search: string, options?: StrKitOptions): boolean;\n indexOf(search: string, options?: SearchOptions): number;\n lastIndexOf(search: string): number;\n countOccurrences(search: string): number;\n positions(search: string): number[];\n matchStr(pattern: RegExp): string | null;\n matchAllStr(pattern: RegExp): string[];\n\n // Similarity methods\n levenshtein(other: string): number;\n levenshteinRatio(other: string): number;\n dice(other: string): number;\n jaroWinkler(other: string): number;\n hamming(other: string): number;\n cosine(other: string): number;\n similarity(other: string, options?: SimilarityOptions): number;\n\n // Diff methods\n diffChars(other: string): DiffResult[];\n diffWords(other: string): DiffResult[];\n diffLines(other: string): DiffResult[];\n diff(other: string, options?: DiffOptions): DiffResult[];\n\n // Pluralization methods\n pluralize(count?: number, showCount?: boolean): string;\n singularize(): string;\n isPlural(): boolean;\n isSingular(): boolean;\n }\n}\n\n// Case methods\nString.prototype.camelCase = function (): string {\n return casePlugin.camelCase(this.toString());\n};\n\nString.prototype.kebabCase = function (): string {\n return casePlugin.kebabCase(this.toString());\n};\n\nString.prototype.snakeCase = function (): string {\n return casePlugin.snakeCase(this.toString());\n};\n\nString.prototype.pascalCase = function (): string {\n return casePlugin.pascalCase(this.toString());\n};\n\nString.prototype.titleCase = function (): string {\n return casePlugin.titleCase(this.toString());\n};\n\nString.prototype.sentenceCase = function (): string {\n return casePlugin.sentenceCase(this.toString());\n};\n\nString.prototype.constantCase = function (): string {\n return casePlugin.constantCase(this.toString());\n};\n\nString.prototype.dotCase = function (): string {\n return casePlugin.dotCase(this.toString());\n};\n\nString.prototype.pathCase = function (): string {\n return casePlugin.pathCase(this.toString());\n};\n\nString.prototype.headerCase = function (): string {\n return casePlugin.headerCase(this.toString());\n};\n\nString.prototype.swapCase = function (): string {\n return casePlugin.swapCase(this.toString());\n};\n\nString.prototype.capitalize = function (): string {\n return casePlugin.capitalize(this.toString());\n};\n\nString.prototype.decapitalize = function (): string {\n return casePlugin.decapitalize(this.toString());\n};\n\n// Manipulation methods\nString.prototype.trimChars = function (chars?: string): string {\n return manipulationPlugin.trim(this.toString(), chars);\n};\n\nString.prototype.trimStartChars = function (chars?: string): string {\n return manipulationPlugin.trimStart(this.toString(), chars);\n};\n\nString.prototype.trimEndChars = function (chars?: string): string {\n return manipulationPlugin.trimEnd(this.toString(), chars);\n};\n\nString.prototype.padBoth = function (length: number, char?: string): string {\n return manipulationPlugin.pad(this.toString(), length, char);\n};\n\nString.prototype.reverse = function (): string {\n return manipulationPlugin.reverse(this.toString());\n};\n\nString.prototype.truncate = function (length: number, options?: TruncateOptions): string {\n return manipulationPlugin.truncate(this.toString(), length, options);\n};\n\nString.prototype.wrap = function (wrapper: string, end?: string): string {\n return manipulationPlugin.wrap(this.toString(), wrapper, end);\n};\n\nString.prototype.unwrap = function (wrapper: string, end?: string): string {\n return manipulationPlugin.unwrap(this.toString(), wrapper, end);\n};\n\nString.prototype.insert = function (index: number, str: string): string {\n return manipulationPlugin.insert(this.toString(), index, str);\n};\n\nString.prototype.remove = function (start: number, count: number): string {\n return manipulationPlugin.remove(this.toString(), start, count);\n};\n\nString.prototype.replaceAllStr = function (search: string | RegExp, replacement: string): string {\n return manipulationPlugin.replaceAll(this.toString(), search, replacement);\n};\n\nString.prototype.between = function (start: string, end: string): string {\n return manipulationPlugin.between(this.toString(), start, end);\n};\n\nString.prototype.before = function (search: string): string {\n return manipulationPlugin.before(this.toString(), search);\n};\n\nString.prototype.after = function (search: string): string {\n return manipulationPlugin.after(this.toString(), search);\n};\n\nString.prototype.beforeLast = function (search: string): string {\n return manipulationPlugin.beforeLast(this.toString(), search);\n};\n\nString.prototype.afterLast = function (search: string): string {\n return manipulationPlugin.afterLast(this.toString(), search);\n};\n\nString.prototype.append = function (...strings: string[]): string {\n return manipulationPlugin.append(this.toString(), ...strings);\n};\n\nString.prototype.prepend = function (...strings: string[]): string {\n return manipulationPlugin.prepend(this.toString(), ...strings);\n};\n\nString.prototype.surround = function (wrapper: string): string {\n return manipulationPlugin.surround(this.toString(), wrapper);\n};\n\nString.prototype.collapseWhitespace = function (): string {\n return manipulationPlugin.collapseWhitespace(this.toString());\n};\n\nString.prototype.lines = function (): string[] {\n return manipulationPlugin.lines(this.toString());\n};\n\nString.prototype.words = function (): string[] {\n return manipulationPlugin.words(this.toString());\n};\n\nString.prototype.chars = function (): string[] {\n return manipulationPlugin.chars(this.toString());\n};\n\n// Sanitization methods\nString.prototype.escape = function (): string {\n return sanitizationPlugin.escape(this.toString());\n};\n\nString.prototype.unescape = function (): string {\n return sanitizationPlugin.unescape(this.toString());\n};\n\nString.prototype.escapeHtml = function (): string {\n return sanitizationPlugin.escapeHtml(this.toString());\n};\n\nString.prototype.unescapeHtml = function (): string {\n return sanitizationPlugin.unescapeHtml(this.toString());\n};\n\nString.prototype.escapeRegex = function (): string {\n return sanitizationPlugin.escapeRegex(this.toString());\n};\n\nString.prototype.slugify = function (options?: SlugifyOptions): string {\n return sanitizationPlugin.slugify(this.toString(), options);\n};\n\nString.prototype.sanitizeFilename = function (): string {\n return sanitizationPlugin.sanitizeFilename(this.toString());\n};\n\nString.prototype.stripHtml = function (): string {\n return sanitizationPlugin.stripHtml(this.toString());\n};\n\nString.prototype.stripTags = function (allowed?: string[]): string {\n return sanitizationPlugin.stripTags(this.toString(), allowed);\n};\n\nString.prototype.clean = function (): string {\n return sanitizationPlugin.clean(this.toString());\n};\n\nString.prototype.normalizeStr = function (): string {\n return sanitizationPlugin.normalize(this.toString());\n};\n\nString.prototype.latinise = function (): string {\n return sanitizationPlugin.latinise(this.toString());\n};\n\nString.prototype.transliterate = function (locale?: string): string {\n return sanitizationPlugin.transliterate(this.toString(), locale);\n};\n\n// Formatting methods\nString.prototype.template = function (data: Record<string, unknown>, options?: TemplateOptions): string {\n return formattingPlugin.template(this.toString(), data, options);\n};\n\nString.prototype.sprintf = function (...args: unknown[]): string {\n return formattingPlugin.sprintf(this.toString(), ...args);\n};\n\nString.prototype.mask = function (pattern: string): string {\n return formattingPlugin.mask(this.toString(), pattern);\n};\n\nString.prototype.unmask = function (pattern: string): string {\n return formattingPlugin.unmask(this.toString(), pattern);\n};\n\n// Validation methods\nString.prototype.isEmail = function (): boolean {\n return validationPlugin.isEmail(this.toString());\n};\n\nString.prototype.isUrl = function (): boolean {\n return validationPlugin.isUrl(this.toString());\n};\n\nString.prototype.isUuid = function (version?: 1 | 3 | 4 | 5): boolean {\n return validationPlugin.isUuid(this.toString(), version);\n};\n\nString.prototype.isIp = function (): boolean {\n return validationPlugin.isIp(this.toString());\n};\n\nString.prototype.isIpv4 = function (): boolean {\n return validationPlugin.isIpv4(this.toString());\n};\n\nString.prototype.isIpv6 = function (): boolean {\n return validationPlugin.isIpv6(this.toString());\n};\n\nString.prototype.isPhone = function (): boolean {\n return validationPlugin.isPhone(this.toString());\n};\n\nString.prototype.isCreditCard = function (): boolean {\n return validationPlugin.isCreditCard(this.toString());\n};\n\nString.prototype.isEmpty = function (): boolean {\n return validationPlugin.isEmpty(this.toString());\n};\n\nString.prototype.isBlank = function (): boolean {\n return validationPlugin.isBlank(this.toString());\n};\n\nString.prototype.isAlpha = function (): boolean {\n return validationPlugin.isAlpha(this.toString());\n};\n\nString.prototype.isNumeric = function (): boolean {\n return validationPlugin.isNumeric(this.toString());\n};\n\nString.prototype.isAlphanumeric = function (): boolean {\n return validationPlugin.isAlphanumeric(this.toString());\n};\n\nString.prototype.isHex = function (): boolean {\n return validationPlugin.isHex(this.toString());\n};\n\nString.prototype.isBase64 = function (): boolean {\n return validationPlugin.isBase64(this.toString());\n};\n\nString.prototype.isJson = function (): boolean {\n return validationPlugin.isJson(this.toString());\n};\n\nString.prototype.isUpperCase = function (): boolean {\n return validationPlugin.isUpperCase(this.toString());\n};\n\nString.prototype.isLowerCase = function (): boolean {\n return validationPlugin.isLowerCase(this.toString());\n};\n\n// Analysis methods\nString.prototype.wordCount = function (): number {\n return analysisPlugin.wordCount(this.toString());\n};\n\nString.prototype.charCount = function (options?: AnalysisOptions): number {\n return analysisPlugin.charCount(this.toString(), options);\n};\n\nString.prototype.lineCount = function (): number {\n return analysisPlugin.lineCount(this.toString());\n};\n\nString.prototype.sentenceCount = function (): number {\n return analysisPlugin.sentenceCount(this.toString());\n};\n\nString.prototype.paragraphCount = function (): number {\n return analysisPlugin.paragraphCount(this.toString());\n};\n\nString.prototype.byteSize = function (): number {\n return analysisPlugin.byteSize(this.toString());\n};\n\nString.prototype.entropy = function (): number {\n return analysisPlugin.entropy(this.toString());\n};\n\nString.prototype.frequency = function (options?: { type?: 'char' | 'word' }): FrequencyResult {\n return analysisPlugin.frequency(this.toString(), options);\n};\n\nString.prototype.readingTime = function (options?: { wordsPerMinute?: number }): number {\n return analysisPlugin.readingTime(this.toString(), options);\n};\n\nString.prototype.speakingTime = function (options?: { wordsPerMinute?: number }): number {\n return analysisPlugin.speakingTime(this.toString(), options);\n};\n\n// Search methods\nString.prototype.containsStr = function (search: string, options?: StrKitOptions): boolean {\n return searchPlugin.contains(this.toString(), search, options);\n};\n\nString.prototype.countOccurrences = function (search: string): number {\n return searchPlugin.countOccurrences(this.toString(), search);\n};\n\nString.prototype.positions = function (search: string): number[] {\n return searchPlugin.positions(this.toString(), search);\n};\n\nString.prototype.matchStr = function (pattern: RegExp): string | null {\n return searchPlugin.match(this.toString(), pattern);\n};\n\nString.prototype.matchAllStr = function (pattern: RegExp): string[] {\n return searchPlugin.matchAll(this.toString(), pattern);\n};\n\n// Similarity methods\nString.prototype.levenshtein = function (other: string): number {\n return similarityPlugin.levenshtein(this.toString(), other);\n};\n\nString.prototype.levenshteinRatio = function (other: string): number {\n return similarityPlugin.levenshteinRatio(this.toString(), other);\n};\n\nString.prototype.dice = function (other: string): number {\n return similarityPlugin.dice(this.toString(), other);\n};\n\nString.prototype.jaroWinkler = function (other: string): number {\n return similarityPlugin.jaroWinkler(this.toString(), other);\n};\n\nString.prototype.hamming = function (other: string): number {\n return similarityPlugin.hamming(this.toString(), other);\n};\n\nString.prototype.cosine = function (other: string): number {\n return similarityPlugin.cosine(this.toString(), other);\n};\n\nString.prototype.similarity = function (other: string, options?: SimilarityOptions): number {\n return similarityPlugin.similarity(this.toString(), other, options);\n};\n\n// Diff methods\nString.prototype.diffChars = function (other: string): DiffResult[] {\n return diffPlugin.diffChars(this.toString(), other);\n};\n\nString.prototype.diffWords = function (other: string): DiffResult[] {\n return diffPlugin.diffWords(this.toString(), other);\n};\n\nString.prototype.diffLines = function (other: string): DiffResult[] {\n return diffPlugin.diffLines(this.toString(), other);\n};\n\nString.prototype.diff = function (other: string, options?: DiffOptions): DiffResult[] {\n return diffPlugin.diff(this.toString(), other, options);\n};\n\n// Pluralization methods\nString.prototype.pluralize = function (count?: number, showCount?: boolean): string {\n return pluralizationPlugin.pluralize(this.toString(), count, showCount);\n};\n\nString.prototype.singularize = function (): string {\n return pluralizationPlugin.singularize(this.toString());\n};\n\nString.prototype.isPlural = function (): boolean {\n return pluralizationPlugin.isPlural(this.toString());\n};\n\nString.prototype.isSingular = function (): boolean {\n return pluralizationPlugin.isSingular(this.toString());\n};\n\nexport {};\n"]}
1
+ {"version":3,"sources":["../src/extend.ts"],"names":["preexistingKeys","camelCase","kebabCase","snakeCase","pascalCase","titleCase","sentenceCase","constantCase","dotCase","pathCase","headerCase","swapCase","capitalize","decapitalize","chars","trim","trimStart","trimEnd","length","char","pad","reverse","options","truncate","wrapper","end","wrap","unwrap","index","str","insert","start","count","remove","search","replacement","replaceAll","between","before","after","beforeLast","afterLast","strings","append","prepend","surround","collapseWhitespace","lines","words","escape","unescape","escapeHtml","unescapeHtml","escapeRegex","slugify","sanitizeFilename","stripHtml","allowed","stripTags","clean","normalize","latinise","locale","transliterate","data","template","args","sprintf","pattern","mask","unmask","isEmail","isUrl","version","isUuid","isIp","isIpv4","isIpv6","isPhone","isCreditCard","isEmpty","isBlank","isAlpha","isNumeric","isAlphanumeric","isHex","isBase64","isJson","isUpperCase","isLowerCase","wordCount","charCount","lineCount","sentenceCount","paragraphCount","byteSize","entropy","frequency","readingTime","speakingTime","contains","countOccurrences","positions","match","matchAll","other","levenshtein","levenshteinRatio","dice","jaroWinkler","hamming","cosine","similarity","diffCh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,GAAA,CAAI0H,CAAI,CAAA,EAC3B,MAAA,CAAO,eAAe,MAAA,CAAO,SAAA,CAAWA,EAAM,CAAE,UAAA,CAAY,KAAM,CAAC,CAAA","file":"extend.cjs","sourcesContent":["/**\n * String Prototype Extensions\n *\n * This file adds StrKit methods to the String prototype.\n * Import this file to enable chained string methods on native strings.\n *\n * @example\n * import '@oxog/strkit/extend';\n *\n * 'hello world'.camelCase(); // 'helloWorld'\n * 'test@test.com'.isEmail(); // true\n */\n\nimport * as casePlugin from './plugins/case/index.js';\nimport * as manipulationPlugin from './plugins/manipulation/index.js';\nimport * as validationPlugin from './plugins/validation/index.js';\nimport * as sanitizationPlugin from './plugins/sanitization/index.js';\nimport * as formattingPlugin from './plugins/formatting/index.js';\nimport * as similarityPlugin from './plugins/similarity/index.js';\nimport * as analysisPlugin from './plugins/analysis/index.js';\nimport * as pluralizationPlugin from './plugins/pluralization/index.js';\nimport * as diffPlugin from './plugins/diff/index.js';\nimport * as searchPlugin from './plugins/search/index.js';\n\nimport type {\n TruncateOptions,\n SlugifyOptions,\n TemplateOptions,\n SimilarityOptions,\n DiffOptions,\n DiffResult,\n StrKitOptions,\n AnalysisOptions,\n FrequencyResult,\n SearchOptions,\n} from './core/types.js';\n\n// Initialize locales\nimport './locales/index.js';\n\ndeclare global {\n interface String {\n // Case methods\n camelCase(): string;\n kebabCase(): string;\n snakeCase(): string;\n pascalCase(): string;\n titleCase(): string;\n sentenceCase(): string;\n constantCase(): string;\n dotCase(): string;\n pathCase(): string;\n headerCase(): string;\n swapCase(): string;\n toUpperCase(): string;\n toLowerCase(): string;\n capitalize(): string;\n decapitalize(): string;\n\n // Manipulation methods\n trimChars(chars?: string): string;\n trimStartChars(chars?: string): string;\n trimEndChars(chars?: string): string;\n padBoth(length: number, char?: string): string;\n reverse(): string;\n truncate(length: number, options?: TruncateOptions): string;\n wrap(wrapper: string, end?: string): string;\n unwrap(wrapper: string, end?: string): string;\n insert(index: number, str: string): string;\n remove(start: number, count: number): string;\n replaceAllStr(search: string | RegExp, replacement: string): string;\n between(start: string, end: string): string;\n before(search: string): string;\n after(search: string): string;\n beforeLast(search: string): string;\n afterLast(search: string): string;\n append(...strings: string[]): string;\n prepend(...strings: string[]): string;\n surround(wrapper: string): string;\n collapseWhitespace(): string;\n lines(): string[];\n words(): string[];\n chars(): string[];\n\n // Sanitization methods\n escape(): string;\n unescape(): string;\n escapeHtml(): string;\n unescapeHtml(): string;\n escapeRegex(): string;\n slugify(options?: SlugifyOptions): string;\n sanitizeFilename(): string;\n stripHtml(): string;\n stripTags(allowed?: string[]): string;\n clean(): string;\n normalizeStr(): string;\n latinise(): string;\n transliterate(locale?: string): string;\n\n // Formatting methods\n template(data: Record<string, unknown>, options?: TemplateOptions): string;\n sprintf(...args: unknown[]): string;\n mask(pattern: string): string;\n unmask(pattern: string): string;\n\n // Validation methods\n isEmail(): boolean;\n isUrl(): boolean;\n isUuid(version?: 1 | 3 | 4 | 5): boolean;\n isIp(): boolean;\n isIpv4(): boolean;\n isIpv6(): boolean;\n isPhone(): boolean;\n isCreditCard(): boolean;\n isEmpty(): boolean;\n isBlank(): boolean;\n isAlpha(): boolean;\n isNumeric(): boolean;\n isAlphanumeric(): boolean;\n isHex(): boolean;\n isBase64(): boolean;\n isJson(): boolean;\n isUpperCase(): boolean;\n isLowerCase(): boolean;\n\n // Analysis methods\n wordCount(): number;\n charCount(options?: AnalysisOptions): number;\n lineCount(): number;\n sentenceCount(): number;\n paragraphCount(): number;\n byteSize(): number;\n entropy(): number;\n frequency(options?: { type?: 'char' | 'word' }): FrequencyResult;\n readingTime(options?: { wordsPerMinute?: number }): number;\n speakingTime(options?: { wordsPerMinute?: number }): number;\n\n // Search methods\n containsStr(search: string, options?: StrKitOptions): boolean;\n indexOf(search: string, options?: SearchOptions): number;\n lastIndexOf(search: string): number;\n countOccurrences(search: string): number;\n positions(search: string): number[];\n matchStr(pattern: RegExp): string | null;\n matchAllStr(pattern: RegExp): string[];\n\n // Similarity methods\n levenshtein(other: string): number;\n levenshteinRatio(other: string): number;\n dice(other: string): number;\n jaroWinkler(other: string): number;\n hamming(other: string): number;\n cosine(other: string): number;\n similarity(other: string, options?: SimilarityOptions): number;\n\n // Diff methods\n diffChars(other: string): DiffResult[];\n diffWords(other: string): DiffResult[];\n diffLines(other: string): DiffResult[];\n diff(other: string, options?: DiffOptions): DiffResult[];\n\n // Pluralization methods\n pluralize(count?: number, showCount?: boolean): string;\n singularize(): string;\n isPlural(): boolean;\n isSingular(): boolean;\n }\n}\n\n// Keys that were already enumerable before this module ran (normally none)\nconst preexistingKeys = new Set(Object.keys(String.prototype));\n\n// Case methods\nString.prototype.camelCase = function (): string {\n return casePlugin.camelCase(this.toString());\n};\n\nString.prototype.kebabCase = function (): string {\n return casePlugin.kebabCase(this.toString());\n};\n\nString.prototype.snakeCase = function (): string {\n return casePlugin.snakeCase(this.toString());\n};\n\nString.prototype.pascalCase = function (): string {\n return casePlugin.pascalCase(this.toString());\n};\n\nString.prototype.titleCase = function (): string {\n return casePlugin.titleCase(this.toString());\n};\n\nString.prototype.sentenceCase = function (): string {\n return casePlugin.sentenceCase(this.toString());\n};\n\nString.prototype.constantCase = function (): string {\n return casePlugin.constantCase(this.toString());\n};\n\nString.prototype.dotCase = function (): string {\n return casePlugin.dotCase(this.toString());\n};\n\nString.prototype.pathCase = function (): string {\n return casePlugin.pathCase(this.toString());\n};\n\nString.prototype.headerCase = function (): string {\n return casePlugin.headerCase(this.toString());\n};\n\nString.prototype.swapCase = function (): string {\n return casePlugin.swapCase(this.toString());\n};\n\nString.prototype.capitalize = function (): string {\n return casePlugin.capitalize(this.toString());\n};\n\nString.prototype.decapitalize = function (): string {\n return casePlugin.decapitalize(this.toString());\n};\n\n// Manipulation methods\nString.prototype.trimChars = function (chars?: string): string {\n return manipulationPlugin.trim(this.toString(), chars);\n};\n\nString.prototype.trimStartChars = function (chars?: string): string {\n return manipulationPlugin.trimStart(this.toString(), chars);\n};\n\nString.prototype.trimEndChars = function (chars?: string): string {\n return manipulationPlugin.trimEnd(this.toString(), chars);\n};\n\nString.prototype.padBoth = function (length: number, char?: string): string {\n return manipulationPlugin.pad(this.toString(), length, char);\n};\n\nString.prototype.reverse = function (): string {\n return manipulationPlugin.reverse(this.toString());\n};\n\nString.prototype.truncate = function (length: number, options?: TruncateOptions): string {\n return manipulationPlugin.truncate(this.toString(), length, options);\n};\n\nString.prototype.wrap = function (wrapper: string, end?: string): string {\n return manipulationPlugin.wrap(this.toString(), wrapper, end);\n};\n\nString.prototype.unwrap = function (wrapper: string, end?: string): string {\n return manipulationPlugin.unwrap(this.toString(), wrapper, end);\n};\n\nString.prototype.insert = function (index: number, str: string): string {\n return manipulationPlugin.insert(this.toString(), index, str);\n};\n\nString.prototype.remove = function (start: number, count: number): string {\n return manipulationPlugin.remove(this.toString(), start, count);\n};\n\nString.prototype.replaceAllStr = function (search: string | RegExp, replacement: string): string {\n return manipulationPlugin.replaceAll(this.toString(), search, replacement);\n};\n\nString.prototype.between = function (start: string, end: string): string {\n return manipulationPlugin.between(this.toString(), start, end);\n};\n\nString.prototype.before = function (search: string): string {\n return manipulationPlugin.before(this.toString(), search);\n};\n\nString.prototype.after = function (search: string): string {\n return manipulationPlugin.after(this.toString(), search);\n};\n\nString.prototype.beforeLast = function (search: string): string {\n return manipulationPlugin.beforeLast(this.toString(), search);\n};\n\nString.prototype.afterLast = function (search: string): string {\n return manipulationPlugin.afterLast(this.toString(), search);\n};\n\nString.prototype.append = function (...strings: string[]): string {\n return manipulationPlugin.append(this.toString(), ...strings);\n};\n\nString.prototype.prepend = function (...strings: string[]): string {\n return manipulationPlugin.prepend(this.toString(), ...strings);\n};\n\nString.prototype.surround = function (wrapper: string): string {\n return manipulationPlugin.surround(this.toString(), wrapper);\n};\n\nString.prototype.collapseWhitespace = function (): string {\n return manipulationPlugin.collapseWhitespace(this.toString());\n};\n\nString.prototype.lines = function (): string[] {\n return manipulationPlugin.lines(this.toString());\n};\n\nString.prototype.words = function (): string[] {\n return manipulationPlugin.words(this.toString());\n};\n\nString.prototype.chars = function (): string[] {\n return manipulationPlugin.chars(this.toString());\n};\n\n// Sanitization methods\nString.prototype.escape = function (): string {\n return sanitizationPlugin.escape(this.toString());\n};\n\nString.prototype.unescape = function (): string {\n return sanitizationPlugin.unescape(this.toString());\n};\n\nString.prototype.escapeHtml = function (): string {\n return sanitizationPlugin.escapeHtml(this.toString());\n};\n\nString.prototype.unescapeHtml = function (): string {\n return sanitizationPlugin.unescapeHtml(this.toString());\n};\n\nString.prototype.escapeRegex = function (): string {\n return sanitizationPlugin.escapeRegex(this.toString());\n};\n\nString.prototype.slugify = function (options?: SlugifyOptions): string {\n return sanitizationPlugin.slugify(this.toString(), options);\n};\n\nString.prototype.sanitizeFilename = function (): string {\n return sanitizationPlugin.sanitizeFilename(this.toString());\n};\n\nString.prototype.stripHtml = function (): string {\n return sanitizationPlugin.stripHtml(this.toString());\n};\n\nString.prototype.stripTags = function (allowed?: string[]): string {\n return sanitizationPlugin.stripTags(this.toString(), allowed);\n};\n\nString.prototype.clean = function (): string {\n return sanitizationPlugin.clean(this.toString());\n};\n\nString.prototype.normalizeStr = function (): string {\n return sanitizationPlugin.normalize(this.toString());\n};\n\nString.prototype.latinise = function (): string {\n return sanitizationPlugin.latinise(this.toString());\n};\n\nString.prototype.transliterate = function (locale?: string): string {\n return sanitizationPlugin.transliterate(this.toString(), locale);\n};\n\n// Formatting methods\nString.prototype.template = function (data: Record<string, unknown>, options?: TemplateOptions): string {\n return formattingPlugin.template(this.toString(), data, options);\n};\n\nString.prototype.sprintf = function (...args: unknown[]): string {\n return formattingPlugin.sprintf(this.toString(), ...args);\n};\n\nString.prototype.mask = function (pattern: string): string {\n return formattingPlugin.mask(this.toString(), pattern);\n};\n\nString.prototype.unmask = function (pattern: string): string {\n return formattingPlugin.unmask(this.toString(), pattern);\n};\n\n// Validation methods\nString.prototype.isEmail = function (): boolean {\n return validationPlugin.isEmail(this.toString());\n};\n\nString.prototype.isUrl = function (): boolean {\n return validationPlugin.isUrl(this.toString());\n};\n\nString.prototype.isUuid = function (version?: 1 | 3 | 4 | 5): boolean {\n return validationPlugin.isUuid(this.toString(), version);\n};\n\nString.prototype.isIp = function (): boolean {\n return validationPlugin.isIp(this.toString());\n};\n\nString.prototype.isIpv4 = function (): boolean {\n return validationPlugin.isIpv4(this.toString());\n};\n\nString.prototype.isIpv6 = function (): boolean {\n return validationPlugin.isIpv6(this.toString());\n};\n\nString.prototype.isPhone = function (): boolean {\n return validationPlugin.isPhone(this.toString());\n};\n\nString.prototype.isCreditCard = function (): boolean {\n return validationPlugin.isCreditCard(this.toString());\n};\n\nString.prototype.isEmpty = function (): boolean {\n return validationPlugin.isEmpty(this.toString());\n};\n\nString.prototype.isBlank = function (): boolean {\n return validationPlugin.isBlank(this.toString());\n};\n\nString.prototype.isAlpha = function (): boolean {\n return validationPlugin.isAlpha(this.toString());\n};\n\nString.prototype.isNumeric = function (): boolean {\n return validationPlugin.isNumeric(this.toString());\n};\n\nString.prototype.isAlphanumeric = function (): boolean {\n return validationPlugin.isAlphanumeric(this.toString());\n};\n\nString.prototype.isHex = function (): boolean {\n return validationPlugin.isHex(this.toString());\n};\n\nString.prototype.isBase64 = function (): boolean {\n return validationPlugin.isBase64(this.toString());\n};\n\nString.prototype.isJson = function (): boolean {\n return validationPlugin.isJson(this.toString());\n};\n\nString.prototype.isUpperCase = function (): boolean {\n return validationPlugin.isUpperCase(this.toString());\n};\n\nString.prototype.isLowerCase = function (): boolean {\n return validationPlugin.isLowerCase(this.toString());\n};\n\n// Analysis methods\nString.prototype.wordCount = function (): number {\n return analysisPlugin.wordCount(this.toString());\n};\n\nString.prototype.charCount = function (options?: AnalysisOptions): number {\n return analysisPlugin.charCount(this.toString(), options);\n};\n\nString.prototype.lineCount = function (): number {\n return analysisPlugin.lineCount(this.toString());\n};\n\nString.prototype.sentenceCount = function (): number {\n return analysisPlugin.sentenceCount(this.toString());\n};\n\nString.prototype.paragraphCount = function (): number {\n return analysisPlugin.paragraphCount(this.toString());\n};\n\nString.prototype.byteSize = function (): number {\n return analysisPlugin.byteSize(this.toString());\n};\n\nString.prototype.entropy = function (): number {\n return analysisPlugin.entropy(this.toString());\n};\n\nString.prototype.frequency = function (options?: { type?: 'char' | 'word' }): FrequencyResult {\n return analysisPlugin.frequency(this.toString(), options);\n};\n\nString.prototype.readingTime = function (options?: { wordsPerMinute?: number }): number {\n return analysisPlugin.readingTime(this.toString(), options);\n};\n\nString.prototype.speakingTime = function (options?: { wordsPerMinute?: number }): number {\n return analysisPlugin.speakingTime(this.toString(), options);\n};\n\n// Search methods\nString.prototype.containsStr = function (search: string, options?: StrKitOptions): boolean {\n return searchPlugin.contains(this.toString(), search, options);\n};\n\nString.prototype.countOccurrences = function (search: string): number {\n return searchPlugin.countOccurrences(this.toString(), search);\n};\n\nString.prototype.positions = function (search: string): number[] {\n return searchPlugin.positions(this.toString(), search);\n};\n\nString.prototype.matchStr = function (pattern: RegExp): string | null {\n return searchPlugin.match(this.toString(), pattern);\n};\n\nString.prototype.matchAllStr = function (pattern: RegExp): string[] {\n return searchPlugin.matchAll(this.toString(), pattern);\n};\n\n// Similarity methods\nString.prototype.levenshtein = function (other: string): number {\n return similarityPlugin.levenshtein(this.toString(), other);\n};\n\nString.prototype.levenshteinRatio = function (other: string): number {\n return similarityPlugin.levenshteinRatio(this.toString(), other);\n};\n\nString.prototype.dice = function (other: string): number {\n return similarityPlugin.dice(this.toString(), other);\n};\n\nString.prototype.jaroWinkler = function (other: string): number {\n return similarityPlugin.jaroWinkler(this.toString(), other);\n};\n\nString.prototype.hamming = function (other: string): number {\n return similarityPlugin.hamming(this.toString(), other);\n};\n\nString.prototype.cosine = function (other: string): number {\n return similarityPlugin.cosine(this.toString(), other);\n};\n\nString.prototype.similarity = function (other: string, options?: SimilarityOptions): number {\n return similarityPlugin.similarity(this.toString(), other, options);\n};\n\n// Diff methods\nString.prototype.diffChars = function (other: string): DiffResult[] {\n return diffPlugin.diffChars(this.toString(), other);\n};\n\nString.prototype.diffWords = function (other: string): DiffResult[] {\n return diffPlugin.diffWords(this.toString(), other);\n};\n\nString.prototype.diffLines = function (other: string): DiffResult[] {\n return diffPlugin.diffLines(this.toString(), other);\n};\n\nString.prototype.diff = function (other: string, options?: DiffOptions): DiffResult[] {\n return diffPlugin.diff(this.toString(), other, options);\n};\n\n// Pluralization methods\nString.prototype.pluralize = function (count?: number, showCount?: boolean): string {\n return pluralizationPlugin.pluralize(this.toString(), count, showCount);\n};\n\nString.prototype.singularize = function (): string {\n return pluralizationPlugin.singularize(this.toString());\n};\n\nString.prototype.isPlural = function (): boolean {\n return pluralizationPlugin.isPlural(this.toString());\n};\n\nString.prototype.isSingular = function (): boolean {\n return pluralizationPlugin.isSingular(this.toString());\n};\n\n// Assignment creates enumerable properties, which would leak into `for...in`\n// loops over strings; redefine the added methods as non-enumerable like the\n// built-in ones.\nfor (const name of Object.keys(String.prototype)) {\n if (!preexistingKeys.has(name)) {\n Object.defineProperty(String.prototype, name, { enumerable: false });\n }\n}\n\nexport {};\n"]}
package/dist/extend.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { T as TruncateOptions, S as SlugifyOptions, a as TemplateOptions, A as AnalysisOptions, F as FrequencyResult, b as StrKitOptions, c as SearchOptions, d as SimilarityOptions, D as DiffResult, e as DiffOptions } from './types-B8r-f173.cjs';
1
+ import { T as TruncateOptions, S as SlugifyOptions, a as TemplateOptions, A as AnalysisOptions, F as FrequencyResult, b as StrKitOptions, c as SearchOptions, d as SimilarityOptions, D as DiffResult, e as DiffOptions } from './types-C3PxNZVq.cjs';
2
2
 
3
3
  /**
4
4
  * String Prototype Extensions
package/dist/extend.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { T as TruncateOptions, S as SlugifyOptions, a as TemplateOptions, A as AnalysisOptions, F as FrequencyResult, b as StrKitOptions, c as SearchOptions, d as SimilarityOptions, D as DiffResult, e as DiffOptions } from './types-B8r-f173.js';
1
+ import { T as TruncateOptions, S as SlugifyOptions, a as TemplateOptions, A as AnalysisOptions, F as FrequencyResult, b as StrKitOptions, c as SearchOptions, d as SimilarityOptions, D as DiffResult, e as DiffOptions } from './types-C3PxNZVq.js';
2
2
 
3
3
  /**
4
4
  * String Prototype Extensions
package/dist/extend.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import {f,g,h,i,j,k,l,m,n,o,p,s,t,u,v,w,x,B,C,D,E,G,H,J,K,L,M,N,O,P,Q,R,S,T,U,V,ra,sa,ta,ua,va,wa,xa,ya,za,Aa,Ba,Ca,Da,Ea,Fa,Ga,Ha,W,X,Y,Z,_,$,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,Wa,Xa,Ya,Za,_a,$a,ab,bb,cb,db,sb,xb,yb,zb,Ab,La,Ma,Na,Oa,Pa,Qa,Ta,lb,mb,nb,ob,eb,fb,gb,hb}from'./chunk-NYBEYU46.mjs';String.prototype.camelCase=function(){return f(this.toString())};String.prototype.kebabCase=function(){return g(this.toString())};String.prototype.snakeCase=function(){return h(this.toString())};String.prototype.pascalCase=function(){return i(this.toString())};String.prototype.titleCase=function(){return j(this.toString())};String.prototype.sentenceCase=function(){return k(this.toString())};String.prototype.constantCase=function(){return l(this.toString())};String.prototype.dotCase=function(){return m(this.toString())};String.prototype.pathCase=function(){return n(this.toString())};String.prototype.headerCase=function(){return o(this.toString())};String.prototype.swapCase=function(){return p(this.toString())};String.prototype.capitalize=function(){return s(this.toString())};String.prototype.decapitalize=function(){return t(this.toString())};String.prototype.trimChars=function(t){return u(this.toString(),t)};String.prototype.trimStartChars=function(t){return v(this.toString(),t)};String.prototype.trimEndChars=function(t){return w(this.toString(),t)};String.prototype.padBoth=function(t,n){return x(this.toString(),t,n)};String.prototype.reverse=function(){return B(this.toString())};String.prototype.truncate=function(t,n){return C(this.toString(),t,n)};String.prototype.wrap=function(t,n){return D(this.toString(),t,n)};String.prototype.unwrap=function(t,n){return E(this.toString(),t,n)};String.prototype.insert=function(t,n){return G(this.toString(),t,n)};String.prototype.remove=function(t,n){return H(this.toString(),t,n)};String.prototype.replaceAllStr=function(t,n){return J(this.toString(),t,n)};String.prototype.between=function(t,n){return K(this.toString(),t,n)};String.prototype.before=function(t){return L(this.toString(),t)};String.prototype.after=function(t){return M(this.toString(),t)};String.prototype.beforeLast=function(t){return N(this.toString(),t)};String.prototype.afterLast=function(t){return O(this.toString(),t)};String.prototype.append=function(...t){return P(this.toString(),...t)};String.prototype.prepend=function(...t){return Q(this.toString(),...t)};String.prototype.surround=function(t){return R(this.toString(),t)};String.prototype.collapseWhitespace=function(){return S(this.toString())};String.prototype.lines=function(){return T(this.toString())};String.prototype.words=function(){return U(this.toString())};String.prototype.chars=function(){return V(this.toString())};String.prototype.escape=function(){return ra(this.toString())};String.prototype.unescape=function(){return sa(this.toString())};String.prototype.escapeHtml=function(){return ta(this.toString())};String.prototype.unescapeHtml=function(){return ua(this.toString())};String.prototype.escapeRegex=function(){return va(this.toString())};String.prototype.slugify=function(t){return wa(this.toString(),t)};String.prototype.sanitizeFilename=function(){return xa(this.toString())};String.prototype.stripHtml=function(){return ya(this.toString())};String.prototype.stripTags=function(t){return za(this.toString(),t)};String.prototype.clean=function(){return Aa(this.toString())};String.prototype.normalizeStr=function(){return Ba(this.toString())};String.prototype.latinise=function(){return Ca(this.toString())};String.prototype.transliterate=function(t){return Da(this.toString(),t)};String.prototype.template=function(t,n){return Ea(this.toString(),t,n)};String.prototype.sprintf=function(...t){return Fa(this.toString(),...t)};String.prototype.mask=function(t){return Ga(this.toString(),t)};String.prototype.unmask=function(t){return Ha(this.toString(),t)};String.prototype.isEmail=function(){return W(this.toString())};String.prototype.isUrl=function(){return X(this.toString())};String.prototype.isUuid=function(t){return Y(this.toString(),t)};String.prototype.isIp=function(){return Z(this.toString())};String.prototype.isIpv4=function(){return _(this.toString())};String.prototype.isIpv6=function(){return $(this.toString())};String.prototype.isPhone=function(){return aa(this.toString())};String.prototype.isCreditCard=function(){return ba(this.toString())};String.prototype.isEmpty=function(){return ca(this.toString())};String.prototype.isBlank=function(){return da(this.toString())};String.prototype.isAlpha=function(){return ea(this.toString())};String.prototype.isNumeric=function(){return fa(this.toString())};String.prototype.isAlphanumeric=function(){return ga(this.toString())};String.prototype.isHex=function(){return ha(this.toString())};String.prototype.isBase64=function(){return ia(this.toString())};String.prototype.isJson=function(){return ja(this.toString())};String.prototype.isUpperCase=function(){return ka(this.toString())};String.prototype.isLowerCase=function(){return la(this.toString())};String.prototype.wordCount=function(){return Wa(this.toString())};String.prototype.charCount=function(t){return Xa(this.toString(),t)};String.prototype.lineCount=function(){return Ya(this.toString())};String.prototype.sentenceCount=function(){return Za(this.toString())};String.prototype.paragraphCount=function(){return _a(this.toString())};String.prototype.byteSize=function(){return $a(this.toString())};String.prototype.entropy=function(){return ab(this.toString())};String.prototype.frequency=function(t){return bb(this.toString(),t)};String.prototype.readingTime=function(t){return cb(this.toString(),t)};String.prototype.speakingTime=function(t){return db(this.toString(),t)};String.prototype.containsStr=function(t,n){return sb(this.toString(),t,n)};String.prototype.countOccurrences=function(t){return xb(this.toString(),t)};String.prototype.positions=function(t){return yb(this.toString(),t)};String.prototype.matchStr=function(t){return zb(this.toString(),t)};String.prototype.matchAllStr=function(t){return Ab(this.toString(),t)};String.prototype.levenshtein=function(t){return La(this.toString(),t)};String.prototype.levenshteinRatio=function(t){return Ma(this.toString(),t)};String.prototype.dice=function(t){return Na(this.toString(),t)};String.prototype.jaroWinkler=function(t){return Oa(this.toString(),t)};String.prototype.hamming=function(t){return Pa(this.toString(),t)};String.prototype.cosine=function(t){return Qa(this.toString(),t)};String.prototype.similarity=function(t,n){return Ta(this.toString(),t,n)};String.prototype.diffChars=function(t){return lb(this.toString(),t)};String.prototype.diffWords=function(t){return mb(this.toString(),t)};String.prototype.diffLines=function(t){return nb(this.toString(),t)};String.prototype.diff=function(t,n){return ob(this.toString(),t,n)};String.prototype.pluralize=function(t,n){return eb(this.toString(),t,n)};String.prototype.singularize=function(){return fb(this.toString())};String.prototype.isPlural=function(){return gb(this.toString())};String.prototype.isSingular=function(){return hb(this.toString())};//# sourceMappingURL=extend.mjs.map
1
+ import {f,g,h,i,j,k,l,m,n,o,p,s,t,u,v,w,x,B,C,D,E,G,H,J,K,L,M,N,O,P,Q,R,S,T,U,V,ra,sa,ta,ua,va,wa,xa,ya,za,Aa,Ba,Ca,Da,Ea,Fa,Ga,Ha,W,X,Y,Z,_,$,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,Wa,Xa,Ya,Za,_a,$a,ab,bb,cb,db,sb,xb,yb,zb,Ab,La,Ma,Na,Oa,Pa,Qa,Ta,lb,mb,nb,ob,eb,fb,gb,hb}from'./chunk-6UK4HHU5.mjs';var Xt=new Set(Object.keys(String.prototype));String.prototype.camelCase=function(){return f(this.toString())};String.prototype.kebabCase=function(){return g(this.toString())};String.prototype.snakeCase=function(){return h(this.toString())};String.prototype.pascalCase=function(){return i(this.toString())};String.prototype.titleCase=function(){return j(this.toString())};String.prototype.sentenceCase=function(){return k(this.toString())};String.prototype.constantCase=function(){return l(this.toString())};String.prototype.dotCase=function(){return m(this.toString())};String.prototype.pathCase=function(){return n(this.toString())};String.prototype.headerCase=function(){return o(this.toString())};String.prototype.swapCase=function(){return p(this.toString())};String.prototype.capitalize=function(){return s(this.toString())};String.prototype.decapitalize=function(){return t(this.toString())};String.prototype.trimChars=function(t){return u(this.toString(),t)};String.prototype.trimStartChars=function(t){return v(this.toString(),t)};String.prototype.trimEndChars=function(t){return w(this.toString(),t)};String.prototype.padBoth=function(t,n){return x(this.toString(),t,n)};String.prototype.reverse=function(){return B(this.toString())};String.prototype.truncate=function(t,n){return C(this.toString(),t,n)};String.prototype.wrap=function(t,n){return D(this.toString(),t,n)};String.prototype.unwrap=function(t,n){return E(this.toString(),t,n)};String.prototype.insert=function(t,n){return G(this.toString(),t,n)};String.prototype.remove=function(t,n){return H(this.toString(),t,n)};String.prototype.replaceAllStr=function(t,n){return J(this.toString(),t,n)};String.prototype.between=function(t,n){return K(this.toString(),t,n)};String.prototype.before=function(t){return L(this.toString(),t)};String.prototype.after=function(t){return M(this.toString(),t)};String.prototype.beforeLast=function(t){return N(this.toString(),t)};String.prototype.afterLast=function(t){return O(this.toString(),t)};String.prototype.append=function(...t){return P(this.toString(),...t)};String.prototype.prepend=function(...t){return Q(this.toString(),...t)};String.prototype.surround=function(t){return R(this.toString(),t)};String.prototype.collapseWhitespace=function(){return S(this.toString())};String.prototype.lines=function(){return T(this.toString())};String.prototype.words=function(){return U(this.toString())};String.prototype.chars=function(){return V(this.toString())};String.prototype.escape=function(){return ra(this.toString())};String.prototype.unescape=function(){return sa(this.toString())};String.prototype.escapeHtml=function(){return ta(this.toString())};String.prototype.unescapeHtml=function(){return ua(this.toString())};String.prototype.escapeRegex=function(){return va(this.toString())};String.prototype.slugify=function(t){return wa(this.toString(),t)};String.prototype.sanitizeFilename=function(){return xa(this.toString())};String.prototype.stripHtml=function(){return ya(this.toString())};String.prototype.stripTags=function(t){return za(this.toString(),t)};String.prototype.clean=function(){return Aa(this.toString())};String.prototype.normalizeStr=function(){return Ba(this.toString())};String.prototype.latinise=function(){return Ca(this.toString())};String.prototype.transliterate=function(t){return Da(this.toString(),t)};String.prototype.template=function(t,n){return Ea(this.toString(),t,n)};String.prototype.sprintf=function(...t){return Fa(this.toString(),...t)};String.prototype.mask=function(t){return Ga(this.toString(),t)};String.prototype.unmask=function(t){return Ha(this.toString(),t)};String.prototype.isEmail=function(){return W(this.toString())};String.prototype.isUrl=function(){return X(this.toString())};String.prototype.isUuid=function(t){return Y(this.toString(),t)};String.prototype.isIp=function(){return Z(this.toString())};String.prototype.isIpv4=function(){return _(this.toString())};String.prototype.isIpv6=function(){return $(this.toString())};String.prototype.isPhone=function(){return aa(this.toString())};String.prototype.isCreditCard=function(){return ba(this.toString())};String.prototype.isEmpty=function(){return ca(this.toString())};String.prototype.isBlank=function(){return da(this.toString())};String.prototype.isAlpha=function(){return ea(this.toString())};String.prototype.isNumeric=function(){return fa(this.toString())};String.prototype.isAlphanumeric=function(){return ga(this.toString())};String.prototype.isHex=function(){return ha(this.toString())};String.prototype.isBase64=function(){return ia(this.toString())};String.prototype.isJson=function(){return ja(this.toString())};String.prototype.isUpperCase=function(){return ka(this.toString())};String.prototype.isLowerCase=function(){return la(this.toString())};String.prototype.wordCount=function(){return Wa(this.toString())};String.prototype.charCount=function(t){return Xa(this.toString(),t)};String.prototype.lineCount=function(){return Ya(this.toString())};String.prototype.sentenceCount=function(){return Za(this.toString())};String.prototype.paragraphCount=function(){return _a(this.toString())};String.prototype.byteSize=function(){return $a(this.toString())};String.prototype.entropy=function(){return ab(this.toString())};String.prototype.frequency=function(t){return bb(this.toString(),t)};String.prototype.readingTime=function(t){return cb(this.toString(),t)};String.prototype.speakingTime=function(t){return db(this.toString(),t)};String.prototype.containsStr=function(t,n){return sb(this.toString(),t,n)};String.prototype.countOccurrences=function(t){return xb(this.toString(),t)};String.prototype.positions=function(t){return yb(this.toString(),t)};String.prototype.matchStr=function(t){return zb(this.toString(),t)};String.prototype.matchAllStr=function(t){return Ab(this.toString(),t)};String.prototype.levenshtein=function(t){return La(this.toString(),t)};String.prototype.levenshteinRatio=function(t){return Ma(this.toString(),t)};String.prototype.dice=function(t){return Na(this.toString(),t)};String.prototype.jaroWinkler=function(t){return Oa(this.toString(),t)};String.prototype.hamming=function(t){return Pa(this.toString(),t)};String.prototype.cosine=function(t){return Qa(this.toString(),t)};String.prototype.similarity=function(t,n){return Ta(this.toString(),t,n)};String.prototype.diffChars=function(t){return lb(this.toString(),t)};String.prototype.diffWords=function(t){return mb(this.toString(),t)};String.prototype.diffLines=function(t){return nb(this.toString(),t)};String.prototype.diff=function(t,n){return ob(this.toString(),t,n)};String.prototype.pluralize=function(t,n){return eb(this.toString(),t,n)};String.prototype.singularize=function(){return fb(this.toString())};String.prototype.isPlural=function(){return gb(this.toString())};String.prototype.isSingular=function(){return hb(this.toString())};for(let t of Object.keys(String.prototype))Xt.has(t)||Object.defineProperty(String.prototype,t,{enumerable:false});//# sourceMappingURL=extend.mjs.map
2
2
  //# sourceMappingURL=extend.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/extend.ts"],"names":["camelCase","kebabCase","snakeCase","pascalCase","titleCase","sentenceCase","constantCase","dotCase","pathCase","headerCase","swapCase","capitalize","decapitalize","chars","trim","trimStart","trimEnd","length","char","pad","reverse","options","truncate","wrapper","end","wrap","unwrap","index","str","insert","start","count","remove","search","replacement","replaceAll","between","before","after","beforeLast","afterLast","strings","append","prepend","surround","collapseWhitespace","lines","words","escape","unescape","escapeHtml","unescapeHtml","escapeRegex","slugify","sanitizeFilename","stripHtml","allowed","stripTags","clean","normalize","latinise","locale","transliterate","data","template","args","sprintf","pattern","mask","unmask","isEmail","isUrl","version","isUuid","isIp","isIpv4","isIpv6","isPhone","isCreditCard","isEmpty","isBlank","isAlpha","isNumeric","isAlphanumeric","isHex","isBase64","isJson","isUpperCase","isLowerCase","wordCount","charCount","lineCount","sentenceCount","paragraphCount","byteSize","entropy","frequency","readingTime","speakingTime","contains","countOccurrences","positions","match","matchAll","other","levenshtein","levenshteinRatio","dice","jaroWinkler","hamming","cosine","similarity","diffChars","diffWords","diffLines","diff","showCount","pluralize","singularize","isPlural","isSingular"],"mappings":"wSA0KA,MAAA,CAAO,UAAU,SAAA,CAAY,UAAoB,CAC/C,OAAkBA,EAAU,IAAA,CAAK,QAAA,EAAU,CAC7C,EAEA,MAAA,CAAO,SAAA,CAAU,SAAA,CAAY,UAAoB,CAC/C,OAAkBC,CAAAA,CAAU,IAAA,CAAK,QAAA,EAAU,CAC7C,CAAA,CAEA,MAAA,CAAO,SAAA,CAAU,UAAY,UAAoB,CAC/C,OAAkBC,CAAAA,CAAU,KAAK,QAAA,EAAU,CAC7C,CAAA,CAEA,MAAA,CAAO,UAAU,UAAA,CAAa,UAAoB,CAChD,OAAkBC,EAAW,IAAA,CAAK,QAAA,EAAU,CAC9C,EAEA,MAAA,CAAO,SAAA,CAAU,SAAA,CAAY,UAAoB,CAC/C,OA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CAAO,SAAA,CAAU,KAAO,SAAUA,CAAAA,CAAenF,CAAAA,CAAqC,CACpF,OAAkB8F,EAAAA,CAAK,IAAA,CAAK,QAAA,EAAS,CAAGX,EAAOnF,CAAO,CACxD,CAAA,CAGA,MAAA,CAAO,UAAU,SAAA,CAAY,SAAUU,EAAgBqF,CAAAA,CAA6B,CAClF,OAA2BC,EAAAA,CAAU,IAAA,CAAK,QAAA,EAAS,CAAGtF,EAAOqF,CAAS,CACxE,CAAA,CAEA,MAAA,CAAO,UAAU,WAAA,CAAc,UAAoB,CACjD,OAA2BE,GAAY,IAAA,CAAK,QAAA,EAAU,CACxD,CAAA,CAEA,OAAO,SAAA,CAAU,QAAA,CAAW,UAAqB,CAC/C,OAA2BC,EAAAA,CAAS,IAAA,CAAK,QAAA,EAAU,CACrD,CAAA,CAEA,MAAA,CAAO,SAAA,CAAU,UAAA,CAAa,UAAqB,CACjD,OAA2BC,GAAW,IAAA,CAAK,QAAA,EAAU,CACvD,CAAA","file":"extend.mjs","sourcesContent":["/**\n * String Prototype Extensions\n *\n * This file adds StrKit methods to the String prototype.\n * Import this file to enable chained string methods on native strings.\n *\n * @example\n * import '@oxog/strkit/extend';\n *\n * 'hello world'.camelCase(); // 'helloWorld'\n * 'test@test.com'.isEmail(); // true\n */\n\nimport * as casePlugin from './plugins/case/index.js';\nimport * as manipulationPlugin from './plugins/manipulation/index.js';\nimport * as validationPlugin from './plugins/validation/index.js';\nimport * as sanitizationPlugin from './plugins/sanitization/index.js';\nimport * as formattingPlugin from './plugins/formatting/index.js';\nimport * as similarityPlugin from './plugins/similarity/index.js';\nimport * as analysisPlugin from './plugins/analysis/index.js';\nimport * as pluralizationPlugin from './plugins/pluralization/index.js';\nimport * as diffPlugin from './plugins/diff/index.js';\nimport * as searchPlugin from './plugins/search/index.js';\n\nimport type {\n TruncateOptions,\n SlugifyOptions,\n TemplateOptions,\n SimilarityOptions,\n DiffOptions,\n DiffResult,\n StrKitOptions,\n AnalysisOptions,\n FrequencyResult,\n SearchOptions,\n} from './core/types.js';\n\n// Initialize locales\nimport './locales/index.js';\n\ndeclare global {\n interface String {\n // Case methods\n camelCase(): string;\n kebabCase(): string;\n snakeCase(): string;\n pascalCase(): string;\n titleCase(): string;\n sentenceCase(): string;\n constantCase(): string;\n dotCase(): string;\n pathCase(): string;\n headerCase(): string;\n swapCase(): string;\n toUpperCase(): string;\n toLowerCase(): string;\n capitalize(): string;\n decapitalize(): string;\n\n // Manipulation methods\n trimChars(chars?: string): string;\n trimStartChars(chars?: string): string;\n trimEndChars(chars?: string): string;\n padBoth(length: number, char?: string): string;\n reverse(): string;\n truncate(length: number, options?: TruncateOptions): string;\n wrap(wrapper: string, end?: string): string;\n unwrap(wrapper: string, end?: string): string;\n insert(index: number, str: string): string;\n remove(start: number, count: number): string;\n replaceAllStr(search: string | RegExp, replacement: string): string;\n between(start: string, end: string): string;\n before(search: string): string;\n after(search: string): string;\n beforeLast(search: string): string;\n afterLast(search: string): string;\n append(...strings: string[]): string;\n prepend(...strings: string[]): string;\n surround(wrapper: string): string;\n collapseWhitespace(): string;\n lines(): string[];\n words(): string[];\n chars(): string[];\n\n // Sanitization methods\n escape(): string;\n unescape(): string;\n escapeHtml(): string;\n unescapeHtml(): string;\n escapeRegex(): string;\n slugify(options?: SlugifyOptions): string;\n sanitizeFilename(): string;\n stripHtml(): string;\n stripTags(allowed?: string[]): string;\n clean(): string;\n normalizeStr(): string;\n latinise(): string;\n transliterate(locale?: string): string;\n\n // Formatting methods\n template(data: Record<string, unknown>, options?: TemplateOptions): string;\n sprintf(...args: unknown[]): string;\n mask(pattern: string): string;\n unmask(pattern: string): string;\n\n // Validation methods\n isEmail(): boolean;\n isUrl(): boolean;\n isUuid(version?: 1 | 3 | 4 | 5): boolean;\n isIp(): boolean;\n isIpv4(): boolean;\n isIpv6(): boolean;\n isPhone(): boolean;\n isCreditCard(): boolean;\n isEmpty(): boolean;\n isBlank(): boolean;\n isAlpha(): boolean;\n isNumeric(): boolean;\n isAlphanumeric(): boolean;\n isHex(): boolean;\n isBase64(): boolean;\n isJson(): boolean;\n isUpperCase(): boolean;\n isLowerCase(): boolean;\n\n // Analysis methods\n wordCount(): number;\n charCount(options?: AnalysisOptions): number;\n lineCount(): number;\n sentenceCount(): number;\n paragraphCount(): number;\n byteSize(): number;\n entropy(): number;\n frequency(options?: { type?: 'char' | 'word' }): FrequencyResult;\n readingTime(options?: { wordsPerMinute?: number }): number;\n speakingTime(options?: { wordsPerMinute?: number }): number;\n\n // Search methods\n containsStr(search: string, options?: StrKitOptions): boolean;\n indexOf(search: string, options?: SearchOptions): number;\n lastIndexOf(search: string): number;\n countOccurrences(search: string): number;\n positions(search: string): number[];\n matchStr(pattern: RegExp): string | null;\n matchAllStr(pattern: RegExp): string[];\n\n // Similarity methods\n levenshtein(other: string): number;\n levenshteinRatio(other: string): number;\n dice(other: string): number;\n jaroWinkler(other: string): number;\n hamming(other: string): number;\n cosine(other: string): number;\n similarity(other: string, options?: SimilarityOptions): number;\n\n // Diff methods\n diffChars(other: string): DiffResult[];\n diffWords(other: string): DiffResult[];\n diffLines(other: string): DiffResult[];\n diff(other: string, options?: DiffOptions): DiffResult[];\n\n // Pluralization methods\n pluralize(count?: number, showCount?: boolean): string;\n singularize(): string;\n isPlural(): boolean;\n isSingular(): boolean;\n }\n}\n\n// Case methods\nString.prototype.camelCase = function (): string {\n return casePlugin.camelCase(this.toString());\n};\n\nString.prototype.kebabCase = function (): string {\n return casePlugin.kebabCase(this.toString());\n};\n\nString.prototype.snakeCase = function (): string {\n return casePlugin.snakeCase(this.toString());\n};\n\nString.prototype.pascalCase = function (): string {\n return casePlugin.pascalCase(this.toString());\n};\n\nString.prototype.titleCase = function (): string {\n return casePlugin.titleCase(this.toString());\n};\n\nString.prototype.sentenceCase = function (): string {\n return casePlugin.sentenceCase(this.toString());\n};\n\nString.prototype.constantCase = function (): string {\n return casePlugin.constantCase(this.toString());\n};\n\nString.prototype.dotCase = function (): string {\n return casePlugin.dotCase(this.toString());\n};\n\nString.prototype.pathCase = function (): string {\n return casePlugin.pathCase(this.toString());\n};\n\nString.prototype.headerCase = function (): string {\n return casePlugin.headerCase(this.toString());\n};\n\nString.prototype.swapCase = function (): string {\n return casePlugin.swapCase(this.toString());\n};\n\nString.prototype.capitalize = function (): string {\n return casePlugin.capitalize(this.toString());\n};\n\nString.prototype.decapitalize = function (): string {\n return casePlugin.decapitalize(this.toString());\n};\n\n// Manipulation methods\nString.prototype.trimChars = function (chars?: string): string {\n return manipulationPlugin.trim(this.toString(), chars);\n};\n\nString.prototype.trimStartChars = function (chars?: string): string {\n return manipulationPlugin.trimStart(this.toString(), chars);\n};\n\nString.prototype.trimEndChars = function (chars?: string): string {\n return manipulationPlugin.trimEnd(this.toString(), chars);\n};\n\nString.prototype.padBoth = function (length: number, char?: string): string {\n return manipulationPlugin.pad(this.toString(), length, char);\n};\n\nString.prototype.reverse = function (): string {\n return manipulationPlugin.reverse(this.toString());\n};\n\nString.prototype.truncate = function (length: number, options?: TruncateOptions): string {\n return manipulationPlugin.truncate(this.toString(), length, options);\n};\n\nString.prototype.wrap = function (wrapper: string, end?: string): string {\n return manipulationPlugin.wrap(this.toString(), wrapper, end);\n};\n\nString.prototype.unwrap = function (wrapper: string, end?: string): string {\n return manipulationPlugin.unwrap(this.toString(), wrapper, end);\n};\n\nString.prototype.insert = function (index: number, str: string): string {\n return manipulationPlugin.insert(this.toString(), index, str);\n};\n\nString.prototype.remove = function (start: number, count: number): string {\n return manipulationPlugin.remove(this.toString(), start, count);\n};\n\nString.prototype.replaceAllStr = function (search: string | RegExp, replacement: string): string {\n return manipulationPlugin.replaceAll(this.toString(), search, replacement);\n};\n\nString.prototype.between = function (start: string, end: string): string {\n return manipulationPlugin.between(this.toString(), start, end);\n};\n\nString.prototype.before = function (search: string): string {\n return manipulationPlugin.before(this.toString(), search);\n};\n\nString.prototype.after = function (search: string): string {\n return manipulationPlugin.after(this.toString(), search);\n};\n\nString.prototype.beforeLast = function (search: string): string {\n return manipulationPlugin.beforeLast(this.toString(), search);\n};\n\nString.prototype.afterLast = function (search: string): string {\n return manipulationPlugin.afterLast(this.toString(), search);\n};\n\nString.prototype.append = function (...strings: string[]): string {\n return manipulationPlugin.append(this.toString(), ...strings);\n};\n\nString.prototype.prepend = function (...strings: string[]): string {\n return manipulationPlugin.prepend(this.toString(), ...strings);\n};\n\nString.prototype.surround = function (wrapper: string): string {\n return manipulationPlugin.surround(this.toString(), wrapper);\n};\n\nString.prototype.collapseWhitespace = function (): string {\n return manipulationPlugin.collapseWhitespace(this.toString());\n};\n\nString.prototype.lines = function (): string[] {\n return manipulationPlugin.lines(this.toString());\n};\n\nString.prototype.words = function (): string[] {\n return manipulationPlugin.words(this.toString());\n};\n\nString.prototype.chars = function (): string[] {\n return manipulationPlugin.chars(this.toString());\n};\n\n// Sanitization methods\nString.prototype.escape = function (): string {\n return sanitizationPlugin.escape(this.toString());\n};\n\nString.prototype.unescape = function (): string {\n return sanitizationPlugin.unescape(this.toString());\n};\n\nString.prototype.escapeHtml = function (): string {\n return sanitizationPlugin.escapeHtml(this.toString());\n};\n\nString.prototype.unescapeHtml = function (): string {\n return sanitizationPlugin.unescapeHtml(this.toString());\n};\n\nString.prototype.escapeRegex = function (): string {\n return sanitizationPlugin.escapeRegex(this.toString());\n};\n\nString.prototype.slugify = function (options?: SlugifyOptions): string {\n return sanitizationPlugin.slugify(this.toString(), options);\n};\n\nString.prototype.sanitizeFilename = function (): string {\n return sanitizationPlugin.sanitizeFilename(this.toString());\n};\n\nString.prototype.stripHtml = function (): string {\n return sanitizationPlugin.stripHtml(this.toString());\n};\n\nString.prototype.stripTags = function (allowed?: string[]): string {\n return sanitizationPlugin.stripTags(this.toString(), allowed);\n};\n\nString.prototype.clean = function (): string {\n return sanitizationPlugin.clean(this.toString());\n};\n\nString.prototype.normalizeStr = function (): string {\n return sanitizationPlugin.normalize(this.toString());\n};\n\nString.prototype.latinise = function (): string {\n return sanitizationPlugin.latinise(this.toString());\n};\n\nString.prototype.transliterate = function (locale?: string): string {\n return sanitizationPlugin.transliterate(this.toString(), locale);\n};\n\n// Formatting methods\nString.prototype.template = function (data: Record<string, unknown>, options?: TemplateOptions): string {\n return formattingPlugin.template(this.toString(), data, options);\n};\n\nString.prototype.sprintf = function (...args: unknown[]): string {\n return formattingPlugin.sprintf(this.toString(), ...args);\n};\n\nString.prototype.mask = function (pattern: string): string {\n return formattingPlugin.mask(this.toString(), pattern);\n};\n\nString.prototype.unmask = function (pattern: string): string {\n return formattingPlugin.unmask(this.toString(), pattern);\n};\n\n// Validation methods\nString.prototype.isEmail = function (): boolean {\n return validationPlugin.isEmail(this.toString());\n};\n\nString.prototype.isUrl = function (): boolean {\n return validationPlugin.isUrl(this.toString());\n};\n\nString.prototype.isUuid = function (version?: 1 | 3 | 4 | 5): boolean {\n return validationPlugin.isUuid(this.toString(), version);\n};\n\nString.prototype.isIp = function (): boolean {\n return validationPlugin.isIp(this.toString());\n};\n\nString.prototype.isIpv4 = function (): boolean {\n return validationPlugin.isIpv4(this.toString());\n};\n\nString.prototype.isIpv6 = function (): boolean {\n return validationPlugin.isIpv6(this.toString());\n};\n\nString.prototype.isPhone = function (): boolean {\n return validationPlugin.isPhone(this.toString());\n};\n\nString.prototype.isCreditCard = function (): boolean {\n return validationPlugin.isCreditCard(this.toString());\n};\n\nString.prototype.isEmpty = function (): boolean {\n return validationPlugin.isEmpty(this.toString());\n};\n\nString.prototype.isBlank = function (): boolean {\n return validationPlugin.isBlank(this.toString());\n};\n\nString.prototype.isAlpha = function (): boolean {\n return validationPlugin.isAlpha(this.toString());\n};\n\nString.prototype.isNumeric = function (): boolean {\n return validationPlugin.isNumeric(this.toString());\n};\n\nString.prototype.isAlphanumeric = function (): boolean {\n return validationPlugin.isAlphanumeric(this.toString());\n};\n\nString.prototype.isHex = function (): boolean {\n return validationPlugin.isHex(this.toString());\n};\n\nString.prototype.isBase64 = function (): boolean {\n return validationPlugin.isBase64(this.toString());\n};\n\nString.prototype.isJson = function (): boolean {\n return validationPlugin.isJson(this.toString());\n};\n\nString.prototype.isUpperCase = function (): boolean {\n return validationPlugin.isUpperCase(this.toString());\n};\n\nString.prototype.isLowerCase = function (): boolean {\n return validationPlugin.isLowerCase(this.toString());\n};\n\n// Analysis methods\nString.prototype.wordCount = function (): number {\n return analysisPlugin.wordCount(this.toString());\n};\n\nString.prototype.charCount = function (options?: AnalysisOptions): number {\n return analysisPlugin.charCount(this.toString(), options);\n};\n\nString.prototype.lineCount = function (): number {\n return analysisPlugin.lineCount(this.toString());\n};\n\nString.prototype.sentenceCount = function (): number {\n return analysisPlugin.sentenceCount(this.toString());\n};\n\nString.prototype.paragraphCount = function (): number {\n return analysisPlugin.paragraphCount(this.toString());\n};\n\nString.prototype.byteSize = function (): number {\n return analysisPlugin.byteSize(this.toString());\n};\n\nString.prototype.entropy = function (): number {\n return analysisPlugin.entropy(this.toString());\n};\n\nString.prototype.frequency = function (options?: { type?: 'char' | 'word' }): FrequencyResult {\n return analysisPlugin.frequency(this.toString(), options);\n};\n\nString.prototype.readingTime = function (options?: { wordsPerMinute?: number }): number {\n return analysisPlugin.readingTime(this.toString(), options);\n};\n\nString.prototype.speakingTime = function (options?: { wordsPerMinute?: number }): number {\n return analysisPlugin.speakingTime(this.toString(), options);\n};\n\n// Search methods\nString.prototype.containsStr = function (search: string, options?: StrKitOptions): boolean {\n return searchPlugin.contains(this.toString(), search, options);\n};\n\nString.prototype.countOccurrences = function (search: string): number {\n return searchPlugin.countOccurrences(this.toString(), search);\n};\n\nString.prototype.positions = function (search: string): number[] {\n return searchPlugin.positions(this.toString(), search);\n};\n\nString.prototype.matchStr = function (pattern: RegExp): string | null {\n return searchPlugin.match(this.toString(), pattern);\n};\n\nString.prototype.matchAllStr = function (pattern: RegExp): string[] {\n return searchPlugin.matchAll(this.toString(), pattern);\n};\n\n// Similarity methods\nString.prototype.levenshtein = function (other: string): number {\n return similarityPlugin.levenshtein(this.toString(), other);\n};\n\nString.prototype.levenshteinRatio = function (other: string): number {\n return similarityPlugin.levenshteinRatio(this.toString(), other);\n};\n\nString.prototype.dice = function (other: string): number {\n return similarityPlugin.dice(this.toString(), other);\n};\n\nString.prototype.jaroWinkler = function (other: string): number {\n return similarityPlugin.jaroWinkler(this.toString(), other);\n};\n\nString.prototype.hamming = function (other: string): number {\n return similarityPlugin.hamming(this.toString(), other);\n};\n\nString.prototype.cosine = function (other: string): number {\n return similarityPlugin.cosine(this.toString(), other);\n};\n\nString.prototype.similarity = function (other: string, options?: SimilarityOptions): number {\n return similarityPlugin.similarity(this.toString(), other, options);\n};\n\n// Diff methods\nString.prototype.diffChars = function (other: string): DiffResult[] {\n return diffPlugin.diffChars(this.toString(), other);\n};\n\nString.prototype.diffWords = function (other: string): DiffResult[] {\n return diffPlugin.diffWords(this.toString(), other);\n};\n\nString.prototype.diffLines = function (other: string): DiffResult[] {\n return diffPlugin.diffLines(this.toString(), other);\n};\n\nString.prototype.diff = function (other: string, options?: DiffOptions): DiffResult[] {\n return diffPlugin.diff(this.toString(), other, options);\n};\n\n// Pluralization methods\nString.prototype.pluralize = function (count?: number, showCount?: boolean): string {\n return pluralizationPlugin.pluralize(this.toString(), count, showCount);\n};\n\nString.prototype.singularize = function (): string {\n return pluralizationPlugin.singularize(this.toString());\n};\n\nString.prototype.isPlural = function (): boolean {\n return pluralizationPlugin.isPlural(this.toString());\n};\n\nString.prototype.isSingular = function (): boolean {\n return pluralizationPlugin.isSingular(this.toString());\n};\n\nexport {};\n"]}
1
+ {"version":3,"sources":["../src/extend.ts"],"names":["preexistingKeys","camelCase","kebabCase","snakeCase","pascalCase","titleCase","sentenceCase","constantCase","dotCase","pathCase","headerCase","swapCase","capitalize","decapitalize","chars","trim","trimStart","trimEnd","length","char","pad","reverse","options","truncate","wrapper","end","wrap","unwrap","index","str","insert","start","count","remove","search","replacement","replaceAll","between","before","after","beforeLast","afterLast","strings","append","prepend","surround","collapseWhitespace","lines","words","escape","unescape","escapeHtml","unescapeHtml","escapeRegex","slugify","sanitizeFilename","stripHtml","allowed","stripTags","clean","normalize","latinise","locale","transliterate","data","template","args","sprintf","pattern","mask","unmask","isEmail","isUrl","version","isUuid","isIp","isIpv4","isIpv6","isPhone","isCreditCard","isEmpty","isBlank","isAlpha","isNumeric","isAlphanumeric","isHex","isBase64","isJson","isUpperCase","isLowerCase","wordCount","charCount","lineCount","sentenceCount","paragraphCount","byteSize","entropy","frequency","readingTime","speakingTime","contains","countOccurrences","positions","match","matchAll","other","levenshtein","levenshteinRatio","dice","jaroWinkler","hamming","cosine","similarity","diffChars","diffWords","diffLines","diff","showCount","pluralize","singularize","isPlural","isSingular","name"],"mappings":"wSA0KA,IAAMA,GAAkB,IAAI,GAAA,CAAI,MAAA,CAAO,IAAA,CAAK,OAAO,SAAS,CAAC,CAAA,CAG7D,MAAA,CAAO,UAAU,SAAA,CAAY,UAAoB,CAC/C,OAAkBC,CAAAA,CAAU,KAAK,QAAA,EAAU,CAC7C,CAAA,CAEA,OAAO,SAAA,CAAU,SAAA,CAAY,UAAoB,CAC/C,OAAkBC,CAAAA,CAAU,IAAA,CAAK,QAAA,EAAU,CAC7C,CAAA,CAEA,MAAA,CAAO,UAAU,SAAA,CAAY,UAAoB,CAC/C,OAAkBC,CAAAA,CAAU,IAAA,CAAK,QAAA,EAAU,CAC7C,CAAA,CAEA,MAAA,CAAO,SAAA,CAAU,WAAa,UAAoB,CAChD,OAAkBC,CAAAA,CAAW,KAAK,QAAA,EAAU,CAC9C,CAAA,CAEA,MAAA,CAAO,UAAU,SAAA,CAAY,UAAoB,CAC/C,OAAkBC,EAAU,IAAA,CAAK,QAAA,EAAU,CAC7C,CAAA,CAEA,OAAO,SAAA,CAAU,YAAA,CAAe,UAAoB,CAClD,OAAkBC,CAAAA,CAAa,IAAA,CAAK,UAAU,CAChD,EAEA,MAAA,CAAO,SAAA,CAAU,YAAA,CAAe,UAAoB,CAClD,OAAkBC,CAAAA,CAAa,IAAA,CAAK,QAAA,EAAU,CAChD,CAAA,CAEA,MAAA,CAA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AAK,QAAA,EAAU,CACrD,CAAA,CAEA,MAAA,CAAO,SAAA,CAAU,WAAa,UAAqB,CACjD,OAA2BC,EAAAA,CAAW,IAAA,CAAK,UAAU,CACvD,CAAA,CAKA,IAAA,IAAWC,KAAQ,MAAA,CAAO,IAAA,CAAK,OAAO,SAAS,CAAA,CACxC1H,GAAgB,GAAA,CAAI0H,CAAI,CAAA,EAC3B,MAAA,CAAO,eAAe,MAAA,CAAO,SAAA,CAAWA,EAAM,CAAE,UAAA,CAAY,KAAM,CAAC,CAAA","file":"extend.mjs","sourcesContent":["/**\n * String Prototype Extensions\n *\n * This file adds StrKit methods to the String prototype.\n * Import this file to enable chained string methods on native strings.\n *\n * @example\n * import '@oxog/strkit/extend';\n *\n * 'hello world'.camelCase(); // 'helloWorld'\n * 'test@test.com'.isEmail(); // true\n */\n\nimport * as casePlugin from './plugins/case/index.js';\nimport * as manipulationPlugin from './plugins/manipulation/index.js';\nimport * as validationPlugin from './plugins/validation/index.js';\nimport * as sanitizationPlugin from './plugins/sanitization/index.js';\nimport * as formattingPlugin from './plugins/formatting/index.js';\nimport * as similarityPlugin from './plugins/similarity/index.js';\nimport * as analysisPlugin from './plugins/analysis/index.js';\nimport * as pluralizationPlugin from './plugins/pluralization/index.js';\nimport * as diffPlugin from './plugins/diff/index.js';\nimport * as searchPlugin from './plugins/search/index.js';\n\nimport type {\n TruncateOptions,\n SlugifyOptions,\n TemplateOptions,\n SimilarityOptions,\n DiffOptions,\n DiffResult,\n StrKitOptions,\n AnalysisOptions,\n FrequencyResult,\n SearchOptions,\n} from './core/types.js';\n\n// Initialize locales\nimport './locales/index.js';\n\ndeclare global {\n interface String {\n // Case methods\n camelCase(): string;\n kebabCase(): string;\n snakeCase(): string;\n pascalCase(): string;\n titleCase(): string;\n sentenceCase(): string;\n constantCase(): string;\n dotCase(): string;\n pathCase(): string;\n headerCase(): string;\n swapCase(): string;\n toUpperCase(): string;\n toLowerCase(): string;\n capitalize(): string;\n decapitalize(): string;\n\n // Manipulation methods\n trimChars(chars?: string): string;\n trimStartChars(chars?: string): string;\n trimEndChars(chars?: string): string;\n padBoth(length: number, char?: string): string;\n reverse(): string;\n truncate(length: number, options?: TruncateOptions): string;\n wrap(wrapper: string, end?: string): string;\n unwrap(wrapper: string, end?: string): string;\n insert(index: number, str: string): string;\n remove(start: number, count: number): string;\n replaceAllStr(search: string | RegExp, replacement: string): string;\n between(start: string, end: string): string;\n before(search: string): string;\n after(search: string): string;\n beforeLast(search: string): string;\n afterLast(search: string): string;\n append(...strings: string[]): string;\n prepend(...strings: string[]): string;\n surround(wrapper: string): string;\n collapseWhitespace(): string;\n lines(): string[];\n words(): string[];\n chars(): string[];\n\n // Sanitization methods\n escape(): string;\n unescape(): string;\n escapeHtml(): string;\n unescapeHtml(): string;\n escapeRegex(): string;\n slugify(options?: SlugifyOptions): string;\n sanitizeFilename(): string;\n stripHtml(): string;\n stripTags(allowed?: string[]): string;\n clean(): string;\n normalizeStr(): string;\n latinise(): string;\n transliterate(locale?: string): string;\n\n // Formatting methods\n template(data: Record<string, unknown>, options?: TemplateOptions): string;\n sprintf(...args: unknown[]): string;\n mask(pattern: string): string;\n unmask(pattern: string): string;\n\n // Validation methods\n isEmail(): boolean;\n isUrl(): boolean;\n isUuid(version?: 1 | 3 | 4 | 5): boolean;\n isIp(): boolean;\n isIpv4(): boolean;\n isIpv6(): boolean;\n isPhone(): boolean;\n isCreditCard(): boolean;\n isEmpty(): boolean;\n isBlank(): boolean;\n isAlpha(): boolean;\n isNumeric(): boolean;\n isAlphanumeric(): boolean;\n isHex(): boolean;\n isBase64(): boolean;\n isJson(): boolean;\n isUpperCase(): boolean;\n isLowerCase(): boolean;\n\n // Analysis methods\n wordCount(): number;\n charCount(options?: AnalysisOptions): number;\n lineCount(): number;\n sentenceCount(): number;\n paragraphCount(): number;\n byteSize(): number;\n entropy(): number;\n frequency(options?: { type?: 'char' | 'word' }): FrequencyResult;\n readingTime(options?: { wordsPerMinute?: number }): number;\n speakingTime(options?: { wordsPerMinute?: number }): number;\n\n // Search methods\n containsStr(search: string, options?: StrKitOptions): boolean;\n indexOf(search: string, options?: SearchOptions): number;\n lastIndexOf(search: string): number;\n countOccurrences(search: string): number;\n positions(search: string): number[];\n matchStr(pattern: RegExp): string | null;\n matchAllStr(pattern: RegExp): string[];\n\n // Similarity methods\n levenshtein(other: string): number;\n levenshteinRatio(other: string): number;\n dice(other: string): number;\n jaroWinkler(other: string): number;\n hamming(other: string): number;\n cosine(other: string): number;\n similarity(other: string, options?: SimilarityOptions): number;\n\n // Diff methods\n diffChars(other: string): DiffResult[];\n diffWords(other: string): DiffResult[];\n diffLines(other: string): DiffResult[];\n diff(other: string, options?: DiffOptions): DiffResult[];\n\n // Pluralization methods\n pluralize(count?: number, showCount?: boolean): string;\n singularize(): string;\n isPlural(): boolean;\n isSingular(): boolean;\n }\n}\n\n// Keys that were already enumerable before this module ran (normally none)\nconst preexistingKeys = new Set(Object.keys(String.prototype));\n\n// Case methods\nString.prototype.camelCase = function (): string {\n return casePlugin.camelCase(this.toString());\n};\n\nString.prototype.kebabCase = function (): string {\n return casePlugin.kebabCase(this.toString());\n};\n\nString.prototype.snakeCase = function (): string {\n return casePlugin.snakeCase(this.toString());\n};\n\nString.prototype.pascalCase = function (): string {\n return casePlugin.pascalCase(this.toString());\n};\n\nString.prototype.titleCase = function (): string {\n return casePlugin.titleCase(this.toString());\n};\n\nString.prototype.sentenceCase = function (): string {\n return casePlugin.sentenceCase(this.toString());\n};\n\nString.prototype.constantCase = function (): string {\n return casePlugin.constantCase(this.toString());\n};\n\nString.prototype.dotCase = function (): string {\n return casePlugin.dotCase(this.toString());\n};\n\nString.prototype.pathCase = function (): string {\n return casePlugin.pathCase(this.toString());\n};\n\nString.prototype.headerCase = function (): string {\n return casePlugin.headerCase(this.toString());\n};\n\nString.prototype.swapCase = function (): string {\n return casePlugin.swapCase(this.toString());\n};\n\nString.prototype.capitalize = function (): string {\n return casePlugin.capitalize(this.toString());\n};\n\nString.prototype.decapitalize = function (): string {\n return casePlugin.decapitalize(this.toString());\n};\n\n// Manipulation methods\nString.prototype.trimChars = function (chars?: string): string {\n return manipulationPlugin.trim(this.toString(), chars);\n};\n\nString.prototype.trimStartChars = function (chars?: string): string {\n return manipulationPlugin.trimStart(this.toString(), chars);\n};\n\nString.prototype.trimEndChars = function (chars?: string): string {\n return manipulationPlugin.trimEnd(this.toString(), chars);\n};\n\nString.prototype.padBoth = function (length: number, char?: string): string {\n return manipulationPlugin.pad(this.toString(), length, char);\n};\n\nString.prototype.reverse = function (): string {\n return manipulationPlugin.reverse(this.toString());\n};\n\nString.prototype.truncate = function (length: number, options?: TruncateOptions): string {\n return manipulationPlugin.truncate(this.toString(), length, options);\n};\n\nString.prototype.wrap = function (wrapper: string, end?: string): string {\n return manipulationPlugin.wrap(this.toString(), wrapper, end);\n};\n\nString.prototype.unwrap = function (wrapper: string, end?: string): string {\n return manipulationPlugin.unwrap(this.toString(), wrapper, end);\n};\n\nString.prototype.insert = function (index: number, str: string): string {\n return manipulationPlugin.insert(this.toString(), index, str);\n};\n\nString.prototype.remove = function (start: number, count: number): string {\n return manipulationPlugin.remove(this.toString(), start, count);\n};\n\nString.prototype.replaceAllStr = function (search: string | RegExp, replacement: string): string {\n return manipulationPlugin.replaceAll(this.toString(), search, replacement);\n};\n\nString.prototype.between = function (start: string, end: string): string {\n return manipulationPlugin.between(this.toString(), start, end);\n};\n\nString.prototype.before = function (search: string): string {\n return manipulationPlugin.before(this.toString(), search);\n};\n\nString.prototype.after = function (search: string): string {\n return manipulationPlugin.after(this.toString(), search);\n};\n\nString.prototype.beforeLast = function (search: string): string {\n return manipulationPlugin.beforeLast(this.toString(), search);\n};\n\nString.prototype.afterLast = function (search: string): string {\n return manipulationPlugin.afterLast(this.toString(), search);\n};\n\nString.prototype.append = function (...strings: string[]): string {\n return manipulationPlugin.append(this.toString(), ...strings);\n};\n\nString.prototype.prepend = function (...strings: string[]): string {\n return manipulationPlugin.prepend(this.toString(), ...strings);\n};\n\nString.prototype.surround = function (wrapper: string): string {\n return manipulationPlugin.surround(this.toString(), wrapper);\n};\n\nString.prototype.collapseWhitespace = function (): string {\n return manipulationPlugin.collapseWhitespace(this.toString());\n};\n\nString.prototype.lines = function (): string[] {\n return manipulationPlugin.lines(this.toString());\n};\n\nString.prototype.words = function (): string[] {\n return manipulationPlugin.words(this.toString());\n};\n\nString.prototype.chars = function (): string[] {\n return manipulationPlugin.chars(this.toString());\n};\n\n// Sanitization methods\nString.prototype.escape = function (): string {\n return sanitizationPlugin.escape(this.toString());\n};\n\nString.prototype.unescape = function (): string {\n return sanitizationPlugin.unescape(this.toString());\n};\n\nString.prototype.escapeHtml = function (): string {\n return sanitizationPlugin.escapeHtml(this.toString());\n};\n\nString.prototype.unescapeHtml = function (): string {\n return sanitizationPlugin.unescapeHtml(this.toString());\n};\n\nString.prototype.escapeRegex = function (): string {\n return sanitizationPlugin.escapeRegex(this.toString());\n};\n\nString.prototype.slugify = function (options?: SlugifyOptions): string {\n return sanitizationPlugin.slugify(this.toString(), options);\n};\n\nString.prototype.sanitizeFilename = function (): string {\n return sanitizationPlugin.sanitizeFilename(this.toString());\n};\n\nString.prototype.stripHtml = function (): string {\n return sanitizationPlugin.stripHtml(this.toString());\n};\n\nString.prototype.stripTags = function (allowed?: string[]): string {\n return sanitizationPlugin.stripTags(this.toString(), allowed);\n};\n\nString.prototype.clean = function (): string {\n return sanitizationPlugin.clean(this.toString());\n};\n\nString.prototype.normalizeStr = function (): string {\n return sanitizationPlugin.normalize(this.toString());\n};\n\nString.prototype.latinise = function (): string {\n return sanitizationPlugin.latinise(this.toString());\n};\n\nString.prototype.transliterate = function (locale?: string): string {\n return sanitizationPlugin.transliterate(this.toString(), locale);\n};\n\n// Formatting methods\nString.prototype.template = function (data: Record<string, unknown>, options?: TemplateOptions): string {\n return formattingPlugin.template(this.toString(), data, options);\n};\n\nString.prototype.sprintf = function (...args: unknown[]): string {\n return formattingPlugin.sprintf(this.toString(), ...args);\n};\n\nString.prototype.mask = function (pattern: string): string {\n return formattingPlugin.mask(this.toString(), pattern);\n};\n\nString.prototype.unmask = function (pattern: string): string {\n return formattingPlugin.unmask(this.toString(), pattern);\n};\n\n// Validation methods\nString.prototype.isEmail = function (): boolean {\n return validationPlugin.isEmail(this.toString());\n};\n\nString.prototype.isUrl = function (): boolean {\n return validationPlugin.isUrl(this.toString());\n};\n\nString.prototype.isUuid = function (version?: 1 | 3 | 4 | 5): boolean {\n return validationPlugin.isUuid(this.toString(), version);\n};\n\nString.prototype.isIp = function (): boolean {\n return validationPlugin.isIp(this.toString());\n};\n\nString.prototype.isIpv4 = function (): boolean {\n return validationPlugin.isIpv4(this.toString());\n};\n\nString.prototype.isIpv6 = function (): boolean {\n return validationPlugin.isIpv6(this.toString());\n};\n\nString.prototype.isPhone = function (): boolean {\n return validationPlugin.isPhone(this.toString());\n};\n\nString.prototype.isCreditCard = function (): boolean {\n return validationPlugin.isCreditCard(this.toString());\n};\n\nString.prototype.isEmpty = function (): boolean {\n return validationPlugin.isEmpty(this.toString());\n};\n\nString.prototype.isBlank = function (): boolean {\n return validationPlugin.isBlank(this.toString());\n};\n\nString.prototype.isAlpha = function (): boolean {\n return validationPlugin.isAlpha(this.toString());\n};\n\nString.prototype.isNumeric = function (): boolean {\n return validationPlugin.isNumeric(this.toString());\n};\n\nString.prototype.isAlphanumeric = function (): boolean {\n return validationPlugin.isAlphanumeric(this.toString());\n};\n\nString.prototype.isHex = function (): boolean {\n return validationPlugin.isHex(this.toString());\n};\n\nString.prototype.isBase64 = function (): boolean {\n return validationPlugin.isBase64(this.toString());\n};\n\nString.prototype.isJson = function (): boolean {\n return validationPlugin.isJson(this.toString());\n};\n\nString.prototype.isUpperCase = function (): boolean {\n return validationPlugin.isUpperCase(this.toString());\n};\n\nString.prototype.isLowerCase = function (): boolean {\n return validationPlugin.isLowerCase(this.toString());\n};\n\n// Analysis methods\nString.prototype.wordCount = function (): number {\n return analysisPlugin.wordCount(this.toString());\n};\n\nString.prototype.charCount = function (options?: AnalysisOptions): number {\n return analysisPlugin.charCount(this.toString(), options);\n};\n\nString.prototype.lineCount = function (): number {\n return analysisPlugin.lineCount(this.toString());\n};\n\nString.prototype.sentenceCount = function (): number {\n return analysisPlugin.sentenceCount(this.toString());\n};\n\nString.prototype.paragraphCount = function (): number {\n return analysisPlugin.paragraphCount(this.toString());\n};\n\nString.prototype.byteSize = function (): number {\n return analysisPlugin.byteSize(this.toString());\n};\n\nString.prototype.entropy = function (): number {\n return analysisPlugin.entropy(this.toString());\n};\n\nString.prototype.frequency = function (options?: { type?: 'char' | 'word' }): FrequencyResult {\n return analysisPlugin.frequency(this.toString(), options);\n};\n\nString.prototype.readingTime = function (options?: { wordsPerMinute?: number }): number {\n return analysisPlugin.readingTime(this.toString(), options);\n};\n\nString.prototype.speakingTime = function (options?: { wordsPerMinute?: number }): number {\n return analysisPlugin.speakingTime(this.toString(), options);\n};\n\n// Search methods\nString.prototype.containsStr = function (search: string, options?: StrKitOptions): boolean {\n return searchPlugin.contains(this.toString(), search, options);\n};\n\nString.prototype.countOccurrences = function (search: string): number {\n return searchPlugin.countOccurrences(this.toString(), search);\n};\n\nString.prototype.positions = function (search: string): number[] {\n return searchPlugin.positions(this.toString(), search);\n};\n\nString.prototype.matchStr = function (pattern: RegExp): string | null {\n return searchPlugin.match(this.toString(), pattern);\n};\n\nString.prototype.matchAllStr = function (pattern: RegExp): string[] {\n return searchPlugin.matchAll(this.toString(), pattern);\n};\n\n// Similarity methods\nString.prototype.levenshtein = function (other: string): number {\n return similarityPlugin.levenshtein(this.toString(), other);\n};\n\nString.prototype.levenshteinRatio = function (other: string): number {\n return similarityPlugin.levenshteinRatio(this.toString(), other);\n};\n\nString.prototype.dice = function (other: string): number {\n return similarityPlugin.dice(this.toString(), other);\n};\n\nString.prototype.jaroWinkler = function (other: string): number {\n return similarityPlugin.jaroWinkler(this.toString(), other);\n};\n\nString.prototype.hamming = function (other: string): number {\n return similarityPlugin.hamming(this.toString(), other);\n};\n\nString.prototype.cosine = function (other: string): number {\n return similarityPlugin.cosine(this.toString(), other);\n};\n\nString.prototype.similarity = function (other: string, options?: SimilarityOptions): number {\n return similarityPlugin.similarity(this.toString(), other, options);\n};\n\n// Diff methods\nString.prototype.diffChars = function (other: string): DiffResult[] {\n return diffPlugin.diffChars(this.toString(), other);\n};\n\nString.prototype.diffWords = function (other: string): DiffResult[] {\n return diffPlugin.diffWords(this.toString(), other);\n};\n\nString.prototype.diffLines = function (other: string): DiffResult[] {\n return diffPlugin.diffLines(this.toString(), other);\n};\n\nString.prototype.diff = function (other: string, options?: DiffOptions): DiffResult[] {\n return diffPlugin.diff(this.toString(), other, options);\n};\n\n// Pluralization methods\nString.prototype.pluralize = function (count?: number, showCount?: boolean): string {\n return pluralizationPlugin.pluralize(this.toString(), count, showCount);\n};\n\nString.prototype.singularize = function (): string {\n return pluralizationPlugin.singularize(this.toString());\n};\n\nString.prototype.isPlural = function (): boolean {\n return pluralizationPlugin.isPlural(this.toString());\n};\n\nString.prototype.isSingular = function (): boolean {\n return pluralizationPlugin.isSingular(this.toString());\n};\n\n// Assignment creates enumerable properties, which would leak into `for...in`\n// loops over strings; redefine the added methods as non-enumerable like the\n// built-in ones.\nfor (const name of Object.keys(String.prototype)) {\n if (!preexistingKeys.has(name)) {\n Object.defineProperty(String.prototype, name, { enumerable: false });\n }\n}\n\nexport {};\n"]}
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- 'use strict';var chunkQYEYUUS2_cjs=require('./chunk-QYEYUUS2.cjs');var xt=class n{constructor(i){this._value=i;}_create(i){return new n(i)}get length(){return this._value.length}get s(){return this._value}get value(){return this._value}getValue(){return this._value}toString(){return this._value}clone(){return this._create(this._value)}camelCase(){return this._create(chunkQYEYUUS2_cjs.f(this._value))}kebabCase(){return this._create(chunkQYEYUUS2_cjs.g(this._value))}snakeCase(){return this._create(chunkQYEYUUS2_cjs.h(this._value))}pascalCase(){return this._create(chunkQYEYUUS2_cjs.i(this._value))}titleCase(){return this._create(chunkQYEYUUS2_cjs.j(this._value))}sentenceCase(){return this._create(chunkQYEYUUS2_cjs.k(this._value))}constantCase(){return this._create(chunkQYEYUUS2_cjs.l(this._value))}dotCase(){return this._create(chunkQYEYUUS2_cjs.m(this._value))}pathCase(){return this._create(chunkQYEYUUS2_cjs.n(this._value))}headerCase(){return this._create(chunkQYEYUUS2_cjs.o(this._value))}swapCase(){return this._create(chunkQYEYUUS2_cjs.p(this._value))}upper(){return this._create(chunkQYEYUUS2_cjs.q(this._value))}lower(){return this._create(chunkQYEYUUS2_cjs.r(this._value))}capitalize(){return this._create(chunkQYEYUUS2_cjs.s(this._value))}decapitalize(){return this._create(chunkQYEYUUS2_cjs.t(this._value))}trim(i){return this._create(chunkQYEYUUS2_cjs.u(this._value,i))}trimStart(i){return this._create(chunkQYEYUUS2_cjs.v(this._value,i))}trimEnd(i){return this._create(chunkQYEYUUS2_cjs.w(this._value,i))}pad(i,t){return this._create(chunkQYEYUUS2_cjs.x(this._value,i,t))}padStart(i,t){return this._create(chunkQYEYUUS2_cjs.y(this._value,i,t))}padEnd(i,t){return this._create(chunkQYEYUUS2_cjs.z(this._value,i,t))}repeat(i){return this._create(chunkQYEYUUS2_cjs.A(this._value,i))}reverse(){return this._create(chunkQYEYUUS2_cjs.B(this._value))}truncate(i,t){return this._create(chunkQYEYUUS2_cjs.C(this._value,i,t))}wrap(i,t){return this._create(chunkQYEYUUS2_cjs.D(this._value,i,t))}unwrap(i,t){return this._create(chunkQYEYUUS2_cjs.E(this._value,i,t))}insert(i,t){return this._create(chunkQYEYUUS2_cjs.G(this._value,i,t))}remove(i,t){return this._create(chunkQYEYUUS2_cjs.H(this._value,i,t))}replace(i,t){return this._create(chunkQYEYUUS2_cjs.I(this._value,i,t))}replaceAll(i,t){return this._create(chunkQYEYUUS2_cjs.J(this._value,i,t))}between(i,t){return this._create(chunkQYEYUUS2_cjs.K(this._value,i,t))}before(i){return this._create(chunkQYEYUUS2_cjs.L(this._value,i))}after(i){return this._create(chunkQYEYUUS2_cjs.M(this._value,i))}beforeLast(i){return this._create(chunkQYEYUUS2_cjs.N(this._value,i))}afterLast(i){return this._create(chunkQYEYUUS2_cjs.O(this._value,i))}append(...i){return this._create(chunkQYEYUUS2_cjs.P(this._value,...i))}prepend(...i){return this._create(chunkQYEYUUS2_cjs.Q(this._value,...i))}surround(i){return this._create(chunkQYEYUUS2_cjs.R(this._value,i))}collapseWhitespace(){return this._create(chunkQYEYUUS2_cjs.S(this._value))}escape(){return this._create(chunkQYEYUUS2_cjs.ra(this._value))}unescape(){return this._create(chunkQYEYUUS2_cjs.sa(this._value))}escapeHtml(){return this._create(chunkQYEYUUS2_cjs.ta(this._value))}unescapeHtml(){return this._create(chunkQYEYUUS2_cjs.ua(this._value))}escapeRegex(){return this._create(chunkQYEYUUS2_cjs.va(this._value))}slugify(i){return this._create(chunkQYEYUUS2_cjs.wa(this._value,i))}filename(){return this._create(chunkQYEYUUS2_cjs.xa(this._value))}stripHtml(){return this._create(chunkQYEYUUS2_cjs.ya(this._value))}stripTags(i){return this._create(chunkQYEYUUS2_cjs.za(this._value,i))}clean(){return this._create(chunkQYEYUUS2_cjs.Aa(this._value))}normalize(){return this._create(chunkQYEYUUS2_cjs.Ba(this._value))}latinise(){return this._create(chunkQYEYUUS2_cjs.Ca(this._value))}transliterate(i){return this._create(chunkQYEYUUS2_cjs.Da(this._value,i))}template(i,t){return this._create(chunkQYEYUUS2_cjs.Ea(this._value,i,t))}sprintf(...i){return this._create(chunkQYEYUUS2_cjs.Fa(this._value,...i))}mask(i){return this._create(chunkQYEYUUS2_cjs.Ga(this._value,i))}unmask(i){return this._create(chunkQYEYUUS2_cjs.Ha(this._value,i))}isEmail(){return chunkQYEYUUS2_cjs.W(this._value)}isUrl(){return chunkQYEYUUS2_cjs.X(this._value)}isUuid(i){return chunkQYEYUUS2_cjs.Y(this._value,i)}isIp(){return chunkQYEYUUS2_cjs.Z(this._value)}isIpv4(){return chunkQYEYUUS2_cjs._(this._value)}isIpv6(){return chunkQYEYUUS2_cjs.$(this._value)}isPhone(){return chunkQYEYUUS2_cjs.aa(this._value)}isCreditCard(){return chunkQYEYUUS2_cjs.ba(this._value)}isEmpty(){return chunkQYEYUUS2_cjs.ca(this._value)}isBlank(){return chunkQYEYUUS2_cjs.da(this._value)}isAlpha(){return chunkQYEYUUS2_cjs.ea(this._value)}isNumeric(){return chunkQYEYUUS2_cjs.fa(this._value)}isAlphanumeric(){return chunkQYEYUUS2_cjs.ga(this._value)}isHex(){return chunkQYEYUUS2_cjs.ha(this._value)}isBase64(){return chunkQYEYUUS2_cjs.ia(this._value)}isJson(){return chunkQYEYUUS2_cjs.ja(this._value)}isUpperCase(){return chunkQYEYUUS2_cjs.ka(this._value)}isLowerCase(){return chunkQYEYUUS2_cjs.la(this._value)}wordCount(){return chunkQYEYUUS2_cjs.Wa(this._value)}charCount(i){return chunkQYEYUUS2_cjs.Xa(this._value,i)}lineCount(){return chunkQYEYUUS2_cjs.Ya(this._value)}sentenceCount(){return chunkQYEYUUS2_cjs.Za(this._value)}paragraphCount(){return chunkQYEYUUS2_cjs._a(this._value)}byteSize(){return chunkQYEYUUS2_cjs.$a(this._value)}entropy(){return chunkQYEYUUS2_cjs.ab(this._value)}frequency(i){return chunkQYEYUUS2_cjs.bb(this._value,i)}readingTime(i){return chunkQYEYUUS2_cjs.cb(this._value,i)}speakingTime(i){return chunkQYEYUUS2_cjs.db(this._value,i)}contains(i,t){return chunkQYEYUUS2_cjs.sb(this._value,i,t)}startsWith(i){return chunkQYEYUUS2_cjs.tb(this._value,i)}endsWith(i){return chunkQYEYUUS2_cjs.ub(this._value,i)}indexOf(i,t){return chunkQYEYUUS2_cjs.vb(this._value,i,t)}lastIndexOf(i){return chunkQYEYUUS2_cjs.wb(this._value,i)}countOccurrences(i){return chunkQYEYUUS2_cjs.xb(this._value,i)}positions(i){return chunkQYEYUUS2_cjs.yb(this._value,i)}match(i){return chunkQYEYUUS2_cjs.zb(this._value,i)}matchAll(i){return chunkQYEYUUS2_cjs.Ab(this._value,i)}levenshtein(i){return chunkQYEYUUS2_cjs.La(this._value,i)}levenshteinRatio(i){return chunkQYEYUUS2_cjs.Ma(this._value,i)}dice(i){return chunkQYEYUUS2_cjs.Na(this._value,i)}jaroWinkler(i){return chunkQYEYUUS2_cjs.Oa(this._value,i)}hamming(i){return chunkQYEYUUS2_cjs.Pa(this._value,i)}cosine(i){return chunkQYEYUUS2_cjs.Qa(this._value,i)}similarity(i,t){return chunkQYEYUUS2_cjs.Ta(this._value,i,t)}diffChars(i){return chunkQYEYUUS2_cjs.lb(this._value,i)}diffWords(i){return chunkQYEYUUS2_cjs.mb(this._value,i)}diffLines(i){return chunkQYEYUUS2_cjs.nb(this._value,i)}diff(i,t){return chunkQYEYUUS2_cjs.ob(this._value,i,t)}plural(i,t){return this._create(chunkQYEYUUS2_cjs.eb(this._value,i,t))}singular(){return this._create(chunkQYEYUUS2_cjs.fb(this._value))}isPlural(){return chunkQYEYUUS2_cjs.gb(this._value)}isSingular(){return chunkQYEYUUS2_cjs.hb(this._value)}lines(){return chunkQYEYUUS2_cjs.T(this._value)}words(){return chunkQYEYUUS2_cjs.U(this._value)}chars(){return chunkQYEYUUS2_cjs.V(this._value)}};function Jt(n){return new xt(n)}var Vt={case:{camel:chunkQYEYUUS2_cjs.f,kebab:chunkQYEYUUS2_cjs.g,snake:chunkQYEYUUS2_cjs.h,pascal:chunkQYEYUUS2_cjs.i,title:chunkQYEYUUS2_cjs.j,sentence:chunkQYEYUUS2_cjs.k,constant:chunkQYEYUUS2_cjs.l,dot:chunkQYEYUUS2_cjs.m,path:chunkQYEYUUS2_cjs.n,header:chunkQYEYUUS2_cjs.o,swap:chunkQYEYUUS2_cjs.p,upper:chunkQYEYUUS2_cjs.q,lower:chunkQYEYUUS2_cjs.r,capitalize:chunkQYEYUUS2_cjs.s,decapitalize:chunkQYEYUUS2_cjs.t},manipulation:{trim:chunkQYEYUUS2_cjs.u,trimStart:chunkQYEYUUS2_cjs.v,trimEnd:chunkQYEYUUS2_cjs.w,pad:chunkQYEYUUS2_cjs.x,padStart:chunkQYEYUUS2_cjs.y,padEnd:chunkQYEYUUS2_cjs.z,repeat:chunkQYEYUUS2_cjs.A,reverse:chunkQYEYUUS2_cjs.B,truncate:chunkQYEYUUS2_cjs.C,wrap:chunkQYEYUUS2_cjs.D,unwrap:chunkQYEYUUS2_cjs.E,splice:chunkQYEYUUS2_cjs.F,insert:chunkQYEYUUS2_cjs.G,remove:chunkQYEYUUS2_cjs.H,replace:chunkQYEYUUS2_cjs.I,replaceAll:chunkQYEYUUS2_cjs.J,between:chunkQYEYUUS2_cjs.K,before:chunkQYEYUUS2_cjs.L,after:chunkQYEYUUS2_cjs.M,beforeLast:chunkQYEYUUS2_cjs.N,afterLast:chunkQYEYUUS2_cjs.O,append:chunkQYEYUUS2_cjs.P,prepend:chunkQYEYUUS2_cjs.Q,surround:chunkQYEYUUS2_cjs.R,collapseWhitespace:chunkQYEYUUS2_cjs.S,lines:chunkQYEYUUS2_cjs.T,words:chunkQYEYUUS2_cjs.U,chars:chunkQYEYUUS2_cjs.V},validate:{email:chunkQYEYUUS2_cjs.W,url:chunkQYEYUUS2_cjs.X,uuid:chunkQYEYUUS2_cjs.Y,ip:chunkQYEYUUS2_cjs.Z,ipv4:chunkQYEYUUS2_cjs._,ipv6:chunkQYEYUUS2_cjs.$,phone:chunkQYEYUUS2_cjs.aa,creditCard:chunkQYEYUUS2_cjs.ba,empty:chunkQYEYUUS2_cjs.ca,blank:chunkQYEYUUS2_cjs.da,alpha:chunkQYEYUUS2_cjs.ea,numeric:chunkQYEYUUS2_cjs.fa,alphanumeric:chunkQYEYUUS2_cjs.ga,hex:chunkQYEYUUS2_cjs.ha,base64:chunkQYEYUUS2_cjs.ia,json:chunkQYEYUUS2_cjs.ja,upperCase:chunkQYEYUUS2_cjs.ka,lowerCase:chunkQYEYUUS2_cjs.la,contains:chunkQYEYUUS2_cjs.ma,startsWith:chunkQYEYUUS2_cjs.na,endsWith:chunkQYEYUUS2_cjs.oa,equals:chunkQYEYUUS2_cjs.pa,matches:chunkQYEYUUS2_cjs.qa},sanitize:{escape:chunkQYEYUUS2_cjs.ra,unescape:chunkQYEYUUS2_cjs.sa,escapeHtml:chunkQYEYUUS2_cjs.ta,unescapeHtml:chunkQYEYUUS2_cjs.ua,escapeRegex:chunkQYEYUUS2_cjs.va,slugify:chunkQYEYUUS2_cjs.wa,filename:chunkQYEYUUS2_cjs.xa,stripHtml:chunkQYEYUUS2_cjs.ya,stripTags:chunkQYEYUUS2_cjs.za,clean:chunkQYEYUUS2_cjs.Aa,normalize:chunkQYEYUUS2_cjs.Ba,latinise:chunkQYEYUUS2_cjs.Ca,transliterate:chunkQYEYUUS2_cjs.Da},format:{template:chunkQYEYUUS2_cjs.Ea,sprintf:chunkQYEYUUS2_cjs.Fa,mask:chunkQYEYUUS2_cjs.Ga,unmask:chunkQYEYUUS2_cjs.Ha,ordinalize:chunkQYEYUUS2_cjs.Ia,currency:chunkQYEYUUS2_cjs.Ja,number:chunkQYEYUUS2_cjs.Ka},similarity:{levenshtein:chunkQYEYUUS2_cjs.La,levenshteinRatio:chunkQYEYUUS2_cjs.Ma,dice:chunkQYEYUUS2_cjs.Na,jaroWinkler:chunkQYEYUUS2_cjs.Oa,hamming:chunkQYEYUUS2_cjs.Pa,cosine:chunkQYEYUUS2_cjs.Qa,lcs:chunkQYEYUUS2_cjs.Ra,lcsLength:chunkQYEYUUS2_cjs.Sa,similarity:chunkQYEYUUS2_cjs.Ta,bestMatch:chunkQYEYUUS2_cjs.Ua,findSimilar:chunkQYEYUUS2_cjs.Va},analysis:{wordCount:chunkQYEYUUS2_cjs.Wa,charCount:chunkQYEYUUS2_cjs.Xa,lineCount:chunkQYEYUUS2_cjs.Ya,sentenceCount:chunkQYEYUUS2_cjs.Za,paragraphCount:chunkQYEYUUS2_cjs._a,byteSize:chunkQYEYUUS2_cjs.$a,entropy:chunkQYEYUUS2_cjs.ab,frequency:chunkQYEYUUS2_cjs.bb,readingTime:chunkQYEYUUS2_cjs.cb,speakingTime:chunkQYEYUUS2_cjs.db},plural:{plural:chunkQYEYUUS2_cjs.eb,singular:chunkQYEYUUS2_cjs.fb,isPlural:chunkQYEYUUS2_cjs.gb,isSingular:chunkQYEYUUS2_cjs.hb,addRule:chunkQYEYUUS2_cjs.ib,addIrregular:chunkQYEYUUS2_cjs.jb,addUncountable:chunkQYEYUUS2_cjs.kb},diff:{diff:chunkQYEYUUS2_cjs.ob,diffChars:chunkQYEYUUS2_cjs.lb,diffWords:chunkQYEYUUS2_cjs.mb,diffLines:chunkQYEYUUS2_cjs.nb,createPatch:chunkQYEYUUS2_cjs.pb,applyPatch:chunkQYEYUUS2_cjs.qb,reversePatch:chunkQYEYUUS2_cjs.rb},search:{contains:chunkQYEYUUS2_cjs.sb,startsWith:chunkQYEYUUS2_cjs.tb,endsWith:chunkQYEYUUS2_cjs.ub,indexOf:chunkQYEYUUS2_cjs.vb,lastIndexOf:chunkQYEYUUS2_cjs.wb,countOccurrences:chunkQYEYUUS2_cjs.xb,positions:chunkQYEYUUS2_cjs.yb,match:chunkQYEYUUS2_cjs.zb,matchAll:chunkQYEYUUS2_cjs.Ab,extract:chunkQYEYUUS2_cjs.Bb,extractAll:chunkQYEYUUS2_cjs.Cb}};var kt=class{constructor(){this.plugins=new Map;this.methods=new Map;this.config={locale:"en"};}register(i){this.validatePlugin(i),this.checkDependencies(i),this.plugins.set(i.name,i);for(let[t,Lt]of Object.entries(i.methods)){let Et=`${i.name}.${t}`;this.methods.set(Et,Lt);}i.init&&i.init(this);}getMethod(i){return this.methods.get(i)}getPluginMethods(i){let t=this.plugins.get(i);return t?t.methods:{}}hasPlugin(i){return this.plugins.has(i)}getPlugins(){return Array.from(this.plugins.values())}getLocale(){return this.config.locale}setLocale(i){this.config.locale=i,chunkQYEYUUS2_cjs.a.setLocale(i);}validatePlugin(i){if(!i.name)throw new Error("Plugin must have a name");if(!i.version)throw new Error(`Plugin '${i.name}' must have a version`);if(!i.methods||typeof i.methods!="object")throw new Error(`Plugin '${i.name}' must have a methods object`);if(this.plugins.has(i.name))throw new Error(`Plugin '${i.name}' is already registered`)}checkDependencies(i){if(i.dependencies){for(let t of i.dependencies)if(!this.plugins.has(t))throw new Error(`Plugin '${i.name}' depends on '${t}' which is not registered`)}}},Ot=new kt;function Gt(n){Ot.register(n);}function Qt(){return Ot.getPlugins()}function Xt(n){return Ot.hasPlugin(n)}/**
1
+ 'use strict';var chunkVXA6NXOA_cjs=require('./chunk-VXA6NXOA.cjs');var kt=class n{constructor(i){this._value=i;}_create(i){return new n(i)}get length(){return this._value.length}get s(){return this._value}get value(){return this._value}getValue(){return this._value}toString(){return this._value}clone(){return this._create(this._value)}camelCase(){return this._create(chunkVXA6NXOA_cjs.f(this._value))}kebabCase(){return this._create(chunkVXA6NXOA_cjs.g(this._value))}snakeCase(){return this._create(chunkVXA6NXOA_cjs.h(this._value))}pascalCase(){return this._create(chunkVXA6NXOA_cjs.i(this._value))}titleCase(){return this._create(chunkVXA6NXOA_cjs.j(this._value))}sentenceCase(){return this._create(chunkVXA6NXOA_cjs.k(this._value))}constantCase(){return this._create(chunkVXA6NXOA_cjs.l(this._value))}dotCase(){return this._create(chunkVXA6NXOA_cjs.m(this._value))}pathCase(){return this._create(chunkVXA6NXOA_cjs.n(this._value))}headerCase(){return this._create(chunkVXA6NXOA_cjs.o(this._value))}swapCase(){return this._create(chunkVXA6NXOA_cjs.p(this._value))}upper(){return this._create(chunkVXA6NXOA_cjs.q(this._value))}lower(){return this._create(chunkVXA6NXOA_cjs.r(this._value))}capitalize(){return this._create(chunkVXA6NXOA_cjs.s(this._value))}decapitalize(){return this._create(chunkVXA6NXOA_cjs.t(this._value))}trim(i){return this._create(chunkVXA6NXOA_cjs.u(this._value,i))}trimStart(i){return this._create(chunkVXA6NXOA_cjs.v(this._value,i))}trimEnd(i){return this._create(chunkVXA6NXOA_cjs.w(this._value,i))}pad(i,t){return this._create(chunkVXA6NXOA_cjs.x(this._value,i,t))}padStart(i,t){return this._create(chunkVXA6NXOA_cjs.y(this._value,i,t))}padEnd(i,t){return this._create(chunkVXA6NXOA_cjs.z(this._value,i,t))}repeat(i){return this._create(chunkVXA6NXOA_cjs.A(this._value,i))}reverse(){return this._create(chunkVXA6NXOA_cjs.B(this._value))}truncate(i,t){return this._create(chunkVXA6NXOA_cjs.C(this._value,i,t))}wrap(i,t){return this._create(chunkVXA6NXOA_cjs.D(this._value,i,t))}unwrap(i,t){return this._create(chunkVXA6NXOA_cjs.E(this._value,i,t))}insert(i,t){return this._create(chunkVXA6NXOA_cjs.G(this._value,i,t))}remove(i,t){return this._create(chunkVXA6NXOA_cjs.H(this._value,i,t))}replace(i,t){return this._create(chunkVXA6NXOA_cjs.I(this._value,i,t))}replaceAll(i,t){return this._create(chunkVXA6NXOA_cjs.J(this._value,i,t))}between(i,t){return this._create(chunkVXA6NXOA_cjs.K(this._value,i,t))}before(i){return this._create(chunkVXA6NXOA_cjs.L(this._value,i))}after(i){return this._create(chunkVXA6NXOA_cjs.M(this._value,i))}beforeLast(i){return this._create(chunkVXA6NXOA_cjs.N(this._value,i))}afterLast(i){return this._create(chunkVXA6NXOA_cjs.O(this._value,i))}append(...i){return this._create(chunkVXA6NXOA_cjs.P(this._value,...i))}prepend(...i){return this._create(chunkVXA6NXOA_cjs.Q(this._value,...i))}surround(i){return this._create(chunkVXA6NXOA_cjs.R(this._value,i))}collapseWhitespace(){return this._create(chunkVXA6NXOA_cjs.S(this._value))}escape(){return this._create(chunkVXA6NXOA_cjs.ra(this._value))}unescape(){return this._create(chunkVXA6NXOA_cjs.sa(this._value))}escapeHtml(){return this._create(chunkVXA6NXOA_cjs.ta(this._value))}unescapeHtml(){return this._create(chunkVXA6NXOA_cjs.ua(this._value))}escapeRegex(){return this._create(chunkVXA6NXOA_cjs.va(this._value))}slugify(i){return this._create(chunkVXA6NXOA_cjs.wa(this._value,i))}filename(){return this._create(chunkVXA6NXOA_cjs.xa(this._value))}stripHtml(){return this._create(chunkVXA6NXOA_cjs.ya(this._value))}stripTags(i){return this._create(chunkVXA6NXOA_cjs.za(this._value,i))}clean(){return this._create(chunkVXA6NXOA_cjs.Aa(this._value))}normalize(){return this._create(chunkVXA6NXOA_cjs.Ba(this._value))}latinise(){return this._create(chunkVXA6NXOA_cjs.Ca(this._value))}transliterate(i){return this._create(chunkVXA6NXOA_cjs.Da(this._value,i))}template(i,t){return this._create(chunkVXA6NXOA_cjs.Ea(this._value,i,t))}sprintf(...i){return this._create(chunkVXA6NXOA_cjs.Fa(this._value,...i))}mask(i){return this._create(chunkVXA6NXOA_cjs.Ga(this._value,i))}unmask(i){return this._create(chunkVXA6NXOA_cjs.Ha(this._value,i))}isEmail(){return chunkVXA6NXOA_cjs.W(this._value)}isUrl(){return chunkVXA6NXOA_cjs.X(this._value)}isUuid(i){return chunkVXA6NXOA_cjs.Y(this._value,i)}isIp(){return chunkVXA6NXOA_cjs.Z(this._value)}isIpv4(){return chunkVXA6NXOA_cjs._(this._value)}isIpv6(){return chunkVXA6NXOA_cjs.$(this._value)}isPhone(){return chunkVXA6NXOA_cjs.aa(this._value)}isCreditCard(){return chunkVXA6NXOA_cjs.ba(this._value)}isEmpty(){return chunkVXA6NXOA_cjs.ca(this._value)}isBlank(){return chunkVXA6NXOA_cjs.da(this._value)}isAlpha(){return chunkVXA6NXOA_cjs.ea(this._value)}isNumeric(){return chunkVXA6NXOA_cjs.fa(this._value)}isAlphanumeric(){return chunkVXA6NXOA_cjs.ga(this._value)}isHex(){return chunkVXA6NXOA_cjs.ha(this._value)}isBase64(){return chunkVXA6NXOA_cjs.ia(this._value)}isJson(){return chunkVXA6NXOA_cjs.ja(this._value)}isUpperCase(){return chunkVXA6NXOA_cjs.ka(this._value)}isLowerCase(){return chunkVXA6NXOA_cjs.la(this._value)}wordCount(){return chunkVXA6NXOA_cjs.Wa(this._value)}charCount(i){return chunkVXA6NXOA_cjs.Xa(this._value,i)}lineCount(){return chunkVXA6NXOA_cjs.Ya(this._value)}sentenceCount(){return chunkVXA6NXOA_cjs.Za(this._value)}paragraphCount(){return chunkVXA6NXOA_cjs._a(this._value)}byteSize(){return chunkVXA6NXOA_cjs.$a(this._value)}entropy(){return chunkVXA6NXOA_cjs.ab(this._value)}frequency(i){return chunkVXA6NXOA_cjs.bb(this._value,i)}readingTime(i){return chunkVXA6NXOA_cjs.cb(this._value,i)}speakingTime(i){return chunkVXA6NXOA_cjs.db(this._value,i)}contains(i,t){return chunkVXA6NXOA_cjs.sb(this._value,i,t)}startsWith(i){return chunkVXA6NXOA_cjs.tb(this._value,i)}endsWith(i){return chunkVXA6NXOA_cjs.ub(this._value,i)}indexOf(i,t){return chunkVXA6NXOA_cjs.vb(this._value,i,t)}lastIndexOf(i){return chunkVXA6NXOA_cjs.wb(this._value,i)}countOccurrences(i){return chunkVXA6NXOA_cjs.xb(this._value,i)}positions(i){return chunkVXA6NXOA_cjs.yb(this._value,i)}match(i){return chunkVXA6NXOA_cjs.zb(this._value,i)}matchAll(i){return chunkVXA6NXOA_cjs.Ab(this._value,i)}levenshtein(i){return chunkVXA6NXOA_cjs.La(this._value,i)}levenshteinRatio(i){return chunkVXA6NXOA_cjs.Ma(this._value,i)}dice(i){return chunkVXA6NXOA_cjs.Na(this._value,i)}jaroWinkler(i){return chunkVXA6NXOA_cjs.Oa(this._value,i)}hamming(i){return chunkVXA6NXOA_cjs.Pa(this._value,i)}cosine(i){return chunkVXA6NXOA_cjs.Qa(this._value,i)}similarity(i,t){return chunkVXA6NXOA_cjs.Ta(this._value,i,t)}diffChars(i){return chunkVXA6NXOA_cjs.lb(this._value,i)}diffWords(i){return chunkVXA6NXOA_cjs.mb(this._value,i)}diffLines(i){return chunkVXA6NXOA_cjs.nb(this._value,i)}diff(i,t){return chunkVXA6NXOA_cjs.ob(this._value,i,t)}plural(i,t){return this._create(chunkVXA6NXOA_cjs.eb(this._value,i,t))}singular(){return this._create(chunkVXA6NXOA_cjs.fb(this._value))}isPlural(){return chunkVXA6NXOA_cjs.gb(this._value)}isSingular(){return chunkVXA6NXOA_cjs.hb(this._value)}lines(){return chunkVXA6NXOA_cjs.T(this._value)}words(){return chunkVXA6NXOA_cjs.U(this._value)}chars(){return chunkVXA6NXOA_cjs.V(this._value)}};function Vt(n){return new kt(n)}var st={case:{camel:chunkVXA6NXOA_cjs.f,kebab:chunkVXA6NXOA_cjs.g,snake:chunkVXA6NXOA_cjs.h,pascal:chunkVXA6NXOA_cjs.i,title:chunkVXA6NXOA_cjs.j,sentence:chunkVXA6NXOA_cjs.k,constant:chunkVXA6NXOA_cjs.l,dot:chunkVXA6NXOA_cjs.m,path:chunkVXA6NXOA_cjs.n,header:chunkVXA6NXOA_cjs.o,swap:chunkVXA6NXOA_cjs.p,upper:chunkVXA6NXOA_cjs.q,lower:chunkVXA6NXOA_cjs.r,capitalize:chunkVXA6NXOA_cjs.s,decapitalize:chunkVXA6NXOA_cjs.t},manipulation:{trim:chunkVXA6NXOA_cjs.u,trimStart:chunkVXA6NXOA_cjs.v,trimEnd:chunkVXA6NXOA_cjs.w,pad:chunkVXA6NXOA_cjs.x,padStart:chunkVXA6NXOA_cjs.y,padEnd:chunkVXA6NXOA_cjs.z,repeat:chunkVXA6NXOA_cjs.A,reverse:chunkVXA6NXOA_cjs.B,truncate:chunkVXA6NXOA_cjs.C,wrap:chunkVXA6NXOA_cjs.D,unwrap:chunkVXA6NXOA_cjs.E,splice:chunkVXA6NXOA_cjs.F,insert:chunkVXA6NXOA_cjs.G,remove:chunkVXA6NXOA_cjs.H,replace:chunkVXA6NXOA_cjs.I,replaceAll:chunkVXA6NXOA_cjs.J,between:chunkVXA6NXOA_cjs.K,before:chunkVXA6NXOA_cjs.L,after:chunkVXA6NXOA_cjs.M,beforeLast:chunkVXA6NXOA_cjs.N,afterLast:chunkVXA6NXOA_cjs.O,append:chunkVXA6NXOA_cjs.P,prepend:chunkVXA6NXOA_cjs.Q,surround:chunkVXA6NXOA_cjs.R,collapseWhitespace:chunkVXA6NXOA_cjs.S,lines:chunkVXA6NXOA_cjs.T,words:chunkVXA6NXOA_cjs.U,chars:chunkVXA6NXOA_cjs.V},validate:{email:chunkVXA6NXOA_cjs.W,url:chunkVXA6NXOA_cjs.X,uuid:chunkVXA6NXOA_cjs.Y,ip:chunkVXA6NXOA_cjs.Z,ipv4:chunkVXA6NXOA_cjs._,ipv6:chunkVXA6NXOA_cjs.$,phone:chunkVXA6NXOA_cjs.aa,creditCard:chunkVXA6NXOA_cjs.ba,empty:chunkVXA6NXOA_cjs.ca,blank:chunkVXA6NXOA_cjs.da,alpha:chunkVXA6NXOA_cjs.ea,numeric:chunkVXA6NXOA_cjs.fa,alphanumeric:chunkVXA6NXOA_cjs.ga,hex:chunkVXA6NXOA_cjs.ha,base64:chunkVXA6NXOA_cjs.ia,json:chunkVXA6NXOA_cjs.ja,upperCase:chunkVXA6NXOA_cjs.ka,lowerCase:chunkVXA6NXOA_cjs.la,contains:chunkVXA6NXOA_cjs.ma,startsWith:chunkVXA6NXOA_cjs.na,endsWith:chunkVXA6NXOA_cjs.oa,equals:chunkVXA6NXOA_cjs.pa,matches:chunkVXA6NXOA_cjs.qa},sanitize:{escape:chunkVXA6NXOA_cjs.ra,unescape:chunkVXA6NXOA_cjs.sa,escapeHtml:chunkVXA6NXOA_cjs.ta,unescapeHtml:chunkVXA6NXOA_cjs.ua,escapeRegex:chunkVXA6NXOA_cjs.va,slugify:chunkVXA6NXOA_cjs.wa,filename:chunkVXA6NXOA_cjs.xa,stripHtml:chunkVXA6NXOA_cjs.ya,stripTags:chunkVXA6NXOA_cjs.za,clean:chunkVXA6NXOA_cjs.Aa,normalize:chunkVXA6NXOA_cjs.Ba,latinise:chunkVXA6NXOA_cjs.Ca,transliterate:chunkVXA6NXOA_cjs.Da},format:{template:chunkVXA6NXOA_cjs.Ea,sprintf:chunkVXA6NXOA_cjs.Fa,mask:chunkVXA6NXOA_cjs.Ga,unmask:chunkVXA6NXOA_cjs.Ha,ordinalize:chunkVXA6NXOA_cjs.Ia,currency:chunkVXA6NXOA_cjs.Ja,number:chunkVXA6NXOA_cjs.Ka},similarity:{levenshtein:chunkVXA6NXOA_cjs.La,levenshteinRatio:chunkVXA6NXOA_cjs.Ma,dice:chunkVXA6NXOA_cjs.Na,jaroWinkler:chunkVXA6NXOA_cjs.Oa,hamming:chunkVXA6NXOA_cjs.Pa,cosine:chunkVXA6NXOA_cjs.Qa,lcs:chunkVXA6NXOA_cjs.Ra,lcsLength:chunkVXA6NXOA_cjs.Sa,similarity:chunkVXA6NXOA_cjs.Ta,bestMatch:chunkVXA6NXOA_cjs.Ua,findSimilar:chunkVXA6NXOA_cjs.Va},analysis:{wordCount:chunkVXA6NXOA_cjs.Wa,charCount:chunkVXA6NXOA_cjs.Xa,lineCount:chunkVXA6NXOA_cjs.Ya,sentenceCount:chunkVXA6NXOA_cjs.Za,paragraphCount:chunkVXA6NXOA_cjs._a,byteSize:chunkVXA6NXOA_cjs.$a,entropy:chunkVXA6NXOA_cjs.ab,frequency:chunkVXA6NXOA_cjs.bb,readingTime:chunkVXA6NXOA_cjs.cb,speakingTime:chunkVXA6NXOA_cjs.db},plural:{plural:chunkVXA6NXOA_cjs.eb,singular:chunkVXA6NXOA_cjs.fb,isPlural:chunkVXA6NXOA_cjs.gb,isSingular:chunkVXA6NXOA_cjs.hb,addRule:chunkVXA6NXOA_cjs.ib,addIrregular:chunkVXA6NXOA_cjs.jb,addUncountable:chunkVXA6NXOA_cjs.kb},diff:{diff:chunkVXA6NXOA_cjs.ob,diffChars:chunkVXA6NXOA_cjs.lb,diffWords:chunkVXA6NXOA_cjs.mb,diffLines:chunkVXA6NXOA_cjs.nb,createPatch:chunkVXA6NXOA_cjs.pb,applyPatch:chunkVXA6NXOA_cjs.qb,reversePatch:chunkVXA6NXOA_cjs.rb},search:{contains:chunkVXA6NXOA_cjs.sb,startsWith:chunkVXA6NXOA_cjs.tb,endsWith:chunkVXA6NXOA_cjs.ub,indexOf:chunkVXA6NXOA_cjs.vb,lastIndexOf:chunkVXA6NXOA_cjs.wb,countOccurrences:chunkVXA6NXOA_cjs.xb,positions:chunkVXA6NXOA_cjs.yb,match:chunkVXA6NXOA_cjs.zb,matchAll:chunkVXA6NXOA_cjs.Ab,extract:chunkVXA6NXOA_cjs.Bb,extractAll:chunkVXA6NXOA_cjs.Cb}};var Gt=new Set(["__proto__","prototype","constructor"]),Ot=class{constructor(){this.plugins=new Map;this.methods=new Map;this.config={locale:"en"};}register(i){this.validatePlugin(i),this.checkDependencies(i),this.plugins.set(i.name,i);for(let[t,Lt]of Object.entries(i.methods)){let Wt=`${i.name}.${t}`;this.methods.set(Wt,Lt);}Object.defineProperty(st,i.name,{value:i.methods,enumerable:true,configurable:true,writable:false}),i.init&&i.init(this);}getMethod(i){return this.methods.get(i)}getPluginMethods(i){let t=this.plugins.get(i);return t?t.methods:{}}hasPlugin(i){return this.plugins.has(i)}getPlugins(){return Array.from(this.plugins.values())}getLocale(){return this.config.locale}setLocale(i){this.config.locale=i,chunkVXA6NXOA_cjs.a.setLocale(i);}validatePlugin(i){if(!i.name)throw new Error("Plugin must have a name");if(!i.version)throw new Error(`Plugin '${i.name}' must have a version`);if(!i.methods||typeof i.methods!="object")throw new Error(`Plugin '${i.name}' must have a methods object`);if(this.plugins.has(i.name))throw new Error(`Plugin '${i.name}' is already registered`);if(Gt.has(i.name)||Object.prototype.hasOwnProperty.call(st,i.name))throw new Error(`Plugin name '${i.name}' is reserved (it would replace a built-in str.* namespace)`)}checkDependencies(i){if(i.dependencies){for(let t of i.dependencies)if(!this.plugins.has(t))throw new Error(`Plugin '${i.name}' depends on '${t}' which is not registered`)}}},Rt=new Ot;function Qt(n){Rt.register(n);}function Xt(){return Rt.getPlugins()}function Yt(n){return Rt.hasPlugin(n)}/**
2
2
  * @oxog/strkit - Zero-Dependency String Toolkit
3
3
  *
4
4
  * The ultimate string manipulation toolkit for JavaScript/TypeScript.
@@ -8,5 +8,5 @@
8
8
  * @license MIT
9
9
  * @see https://strkit.oxog.dev
10
10
  * @see https://github.com/ersinkoc/strkit
11
- */Object.defineProperty(exports,"addIrregular",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.jb}});Object.defineProperty(exports,"addPluralRule",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ib}});Object.defineProperty(exports,"addUncountable",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.kb}});Object.defineProperty(exports,"after",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.M}});Object.defineProperty(exports,"afterLast",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.O}});Object.defineProperty(exports,"append",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.P}});Object.defineProperty(exports,"applyPatch",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.qb}});Object.defineProperty(exports,"before",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.L}});Object.defineProperty(exports,"beforeLast",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.N}});Object.defineProperty(exports,"bestMatch",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Ua}});Object.defineProperty(exports,"between",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.K}});Object.defineProperty(exports,"byteSize",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.$a}});Object.defineProperty(exports,"camelCase",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.f}});Object.defineProperty(exports,"capitalize",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.s}});Object.defineProperty(exports,"charCount",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Xa}});Object.defineProperty(exports,"chars",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.V}});Object.defineProperty(exports,"clean",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Aa}});Object.defineProperty(exports,"collapseWhitespace",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.S}});Object.defineProperty(exports,"constantCase",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.l}});Object.defineProperty(exports,"contains",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ma}});Object.defineProperty(exports,"cosine",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Qa}});Object.defineProperty(exports,"countOccurrences",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.xb}});Object.defineProperty(exports,"createPatch",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.pb}});Object.defineProperty(exports,"decapitalize",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.t}});Object.defineProperty(exports,"dice",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Na}});Object.defineProperty(exports,"diff",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ob}});Object.defineProperty(exports,"diffChars",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.lb}});Object.defineProperty(exports,"diffLines",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.nb}});Object.defineProperty(exports,"diffWords",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.mb}});Object.defineProperty(exports,"dotCase",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.m}});Object.defineProperty(exports,"endsWith",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.oa}});Object.defineProperty(exports,"entropy",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ab}});Object.defineProperty(exports,"equals",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.pa}});Object.defineProperty(exports,"escape",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ra}});Object.defineProperty(exports,"escapeHtml",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ta}});Object.defineProperty(exports,"escapeRegex",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.va}});Object.defineProperty(exports,"extract",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Bb}});Object.defineProperty(exports,"extractAll",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Cb}});Object.defineProperty(exports,"findSimilar",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Va}});Object.defineProperty(exports,"formatCurrency",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Ja}});Object.defineProperty(exports,"formatNumber",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Ka}});Object.defineProperty(exports,"frequency",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.bb}});Object.defineProperty(exports,"getAvailableLocales",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.e}});Object.defineProperty(exports,"getLocale",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.c}});Object.defineProperty(exports,"hamming",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Pa}});Object.defineProperty(exports,"headerCase",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.o}});Object.defineProperty(exports,"indexOf",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.vb}});Object.defineProperty(exports,"insert",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.G}});Object.defineProperty(exports,"isAlpha",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ea}});Object.defineProperty(exports,"isAlphanumeric",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ga}});Object.defineProperty(exports,"isBase64",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ia}});Object.defineProperty(exports,"isBlank",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.da}});Object.defineProperty(exports,"isCreditCard",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ba}});Object.defineProperty(exports,"isEmail",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.W}});Object.defineProperty(exports,"isEmpty",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ca}});Object.defineProperty(exports,"isHex",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ha}});Object.defineProperty(exports,"isIp",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Z}});Object.defineProperty(exports,"isIpv4",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs._}});Object.defineProperty(exports,"isIpv6",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.$}});Object.defineProperty(exports,"isJson",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ja}});Object.defineProperty(exports,"isLowerCase",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.la}});Object.defineProperty(exports,"isNumeric",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.fa}});Object.defineProperty(exports,"isPhone",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.aa}});Object.defineProperty(exports,"isPlural",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.gb}});Object.defineProperty(exports,"isSingular",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.hb}});Object.defineProperty(exports,"isUpperCase",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ka}});Object.defineProperty(exports,"isUrl",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.X}});Object.defineProperty(exports,"isUuid",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Y}});Object.defineProperty(exports,"jaroWinkler",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Oa}});Object.defineProperty(exports,"kebabCase",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.g}});Object.defineProperty(exports,"lastIndexOf",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.wb}});Object.defineProperty(exports,"latinise",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Ca}});Object.defineProperty(exports,"lcs",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Ra}});Object.defineProperty(exports,"lcsLength",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Sa}});Object.defineProperty(exports,"levenshtein",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.La}});Object.defineProperty(exports,"levenshteinRatio",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Ma}});Object.defineProperty(exports,"lineCount",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Ya}});Object.defineProperty(exports,"lines",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.T}});Object.defineProperty(exports,"mask",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Ga}});Object.defineProperty(exports,"match",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.zb}});Object.defineProperty(exports,"matchAll",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Ab}});Object.defineProperty(exports,"matches",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.qa}});Object.defineProperty(exports,"normalize",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Ba}});Object.defineProperty(exports,"ordinalize",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Ia}});Object.defineProperty(exports,"pad",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.x}});Object.defineProperty(exports,"padEnd",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.z}});Object.defineProperty(exports,"padStart",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.y}});Object.defineProperty(exports,"paragraphCount",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs._a}});Object.defineProperty(exports,"pascalCase",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.i}});Object.defineProperty(exports,"pathCase",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.n}});Object.defineProperty(exports,"pluralize",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.eb}});Object.defineProperty(exports,"positions",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.yb}});Object.defineProperty(exports,"prepend",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Q}});Object.defineProperty(exports,"readingTime",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.cb}});Object.defineProperty(exports,"registerLocale",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.d}});Object.defineProperty(exports,"remove",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.H}});Object.defineProperty(exports,"repeat",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.A}});Object.defineProperty(exports,"replace",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.I}});Object.defineProperty(exports,"replaceAll",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.J}});Object.defineProperty(exports,"reverse",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.B}});Object.defineProperty(exports,"reversePatch",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.rb}});Object.defineProperty(exports,"sanitizeFilename",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.xa}});Object.defineProperty(exports,"sentenceCase",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.k}});Object.defineProperty(exports,"sentenceCount",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Za}});Object.defineProperty(exports,"setLocale",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.b}});Object.defineProperty(exports,"similarity",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Ta}});Object.defineProperty(exports,"singularize",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.fb}});Object.defineProperty(exports,"slugify",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.wa}});Object.defineProperty(exports,"snakeCase",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.h}});Object.defineProperty(exports,"speakingTime",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.db}});Object.defineProperty(exports,"splice",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.F}});Object.defineProperty(exports,"sprintf",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Fa}});Object.defineProperty(exports,"startsWith",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.na}});Object.defineProperty(exports,"stripHtml",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ya}});Object.defineProperty(exports,"stripTags",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.za}});Object.defineProperty(exports,"surround",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.R}});Object.defineProperty(exports,"swapCase",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.p}});Object.defineProperty(exports,"template",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Ea}});Object.defineProperty(exports,"titleCase",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.j}});Object.defineProperty(exports,"toLower",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.r}});Object.defineProperty(exports,"toUpper",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.q}});Object.defineProperty(exports,"transliterate",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Da}});Object.defineProperty(exports,"trim",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.u}});Object.defineProperty(exports,"trimEnd",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.w}});Object.defineProperty(exports,"trimStart",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.v}});Object.defineProperty(exports,"truncate",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.C}});Object.defineProperty(exports,"unescape",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.sa}});Object.defineProperty(exports,"unescapeHtml",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.ua}});Object.defineProperty(exports,"unmask",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Ha}});Object.defineProperty(exports,"unwrap",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.E}});Object.defineProperty(exports,"wordCount",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.Wa}});Object.defineProperty(exports,"words",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.U}});Object.defineProperty(exports,"wrap",{enumerable:true,get:function(){return chunkQYEYUUS2_cjs.D}});exports.S=Jt;exports.getPlugins=Qt;exports.hasPlugin=Xt;exports.registerPlugin=Gt;exports.str=Vt;//# sourceMappingURL=index.cjs.map
11
+ */Object.defineProperty(exports,"addIrregular",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.jb}});Object.defineProperty(exports,"addPluralRule",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ib}});Object.defineProperty(exports,"addUncountable",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.kb}});Object.defineProperty(exports,"after",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.M}});Object.defineProperty(exports,"afterLast",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.O}});Object.defineProperty(exports,"append",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.P}});Object.defineProperty(exports,"applyPatch",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.qb}});Object.defineProperty(exports,"before",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.L}});Object.defineProperty(exports,"beforeLast",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.N}});Object.defineProperty(exports,"bestMatch",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Ua}});Object.defineProperty(exports,"between",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.K}});Object.defineProperty(exports,"byteSize",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.$a}});Object.defineProperty(exports,"camelCase",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.f}});Object.defineProperty(exports,"capitalize",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.s}});Object.defineProperty(exports,"charCount",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Xa}});Object.defineProperty(exports,"chars",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.V}});Object.defineProperty(exports,"clean",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Aa}});Object.defineProperty(exports,"collapseWhitespace",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.S}});Object.defineProperty(exports,"constantCase",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.l}});Object.defineProperty(exports,"contains",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ma}});Object.defineProperty(exports,"cosine",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Qa}});Object.defineProperty(exports,"countOccurrences",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.xb}});Object.defineProperty(exports,"createPatch",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.pb}});Object.defineProperty(exports,"decapitalize",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.t}});Object.defineProperty(exports,"dice",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Na}});Object.defineProperty(exports,"diff",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ob}});Object.defineProperty(exports,"diffChars",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.lb}});Object.defineProperty(exports,"diffLines",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.nb}});Object.defineProperty(exports,"diffWords",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.mb}});Object.defineProperty(exports,"dotCase",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.m}});Object.defineProperty(exports,"endsWith",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.oa}});Object.defineProperty(exports,"entropy",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ab}});Object.defineProperty(exports,"equals",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.pa}});Object.defineProperty(exports,"escape",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ra}});Object.defineProperty(exports,"escapeHtml",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ta}});Object.defineProperty(exports,"escapeRegex",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.va}});Object.defineProperty(exports,"extract",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Bb}});Object.defineProperty(exports,"extractAll",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Cb}});Object.defineProperty(exports,"findSimilar",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Va}});Object.defineProperty(exports,"formatCurrency",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Ja}});Object.defineProperty(exports,"formatNumber",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Ka}});Object.defineProperty(exports,"frequency",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.bb}});Object.defineProperty(exports,"getAvailableLocales",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.e}});Object.defineProperty(exports,"getLocale",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.c}});Object.defineProperty(exports,"hamming",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Pa}});Object.defineProperty(exports,"headerCase",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.o}});Object.defineProperty(exports,"indexOf",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.vb}});Object.defineProperty(exports,"insert",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.G}});Object.defineProperty(exports,"isAlpha",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ea}});Object.defineProperty(exports,"isAlphanumeric",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ga}});Object.defineProperty(exports,"isBase64",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ia}});Object.defineProperty(exports,"isBlank",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.da}});Object.defineProperty(exports,"isCreditCard",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ba}});Object.defineProperty(exports,"isEmail",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.W}});Object.defineProperty(exports,"isEmpty",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ca}});Object.defineProperty(exports,"isHex",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ha}});Object.defineProperty(exports,"isIp",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Z}});Object.defineProperty(exports,"isIpv4",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs._}});Object.defineProperty(exports,"isIpv6",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.$}});Object.defineProperty(exports,"isJson",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ja}});Object.defineProperty(exports,"isLowerCase",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.la}});Object.defineProperty(exports,"isNumeric",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.fa}});Object.defineProperty(exports,"isPhone",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.aa}});Object.defineProperty(exports,"isPlural",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.gb}});Object.defineProperty(exports,"isSingular",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.hb}});Object.defineProperty(exports,"isUpperCase",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ka}});Object.defineProperty(exports,"isUrl",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.X}});Object.defineProperty(exports,"isUuid",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Y}});Object.defineProperty(exports,"jaroWinkler",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Oa}});Object.defineProperty(exports,"kebabCase",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.g}});Object.defineProperty(exports,"lastIndexOf",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.wb}});Object.defineProperty(exports,"latinise",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Ca}});Object.defineProperty(exports,"lcs",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Ra}});Object.defineProperty(exports,"lcsLength",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Sa}});Object.defineProperty(exports,"levenshtein",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.La}});Object.defineProperty(exports,"levenshteinRatio",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Ma}});Object.defineProperty(exports,"lineCount",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Ya}});Object.defineProperty(exports,"lines",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.T}});Object.defineProperty(exports,"mask",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Ga}});Object.defineProperty(exports,"match",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.zb}});Object.defineProperty(exports,"matchAll",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Ab}});Object.defineProperty(exports,"matches",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.qa}});Object.defineProperty(exports,"normalize",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Ba}});Object.defineProperty(exports,"ordinalize",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Ia}});Object.defineProperty(exports,"pad",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.x}});Object.defineProperty(exports,"padEnd",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.z}});Object.defineProperty(exports,"padStart",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.y}});Object.defineProperty(exports,"paragraphCount",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs._a}});Object.defineProperty(exports,"pascalCase",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.i}});Object.defineProperty(exports,"pathCase",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.n}});Object.defineProperty(exports,"pluralize",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.eb}});Object.defineProperty(exports,"positions",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.yb}});Object.defineProperty(exports,"prepend",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Q}});Object.defineProperty(exports,"readingTime",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.cb}});Object.defineProperty(exports,"registerLocale",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.d}});Object.defineProperty(exports,"remove",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.H}});Object.defineProperty(exports,"repeat",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.A}});Object.defineProperty(exports,"replace",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.I}});Object.defineProperty(exports,"replaceAll",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.J}});Object.defineProperty(exports,"reverse",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.B}});Object.defineProperty(exports,"reversePatch",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.rb}});Object.defineProperty(exports,"sanitizeFilename",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.xa}});Object.defineProperty(exports,"sentenceCase",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.k}});Object.defineProperty(exports,"sentenceCount",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Za}});Object.defineProperty(exports,"setLocale",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.b}});Object.defineProperty(exports,"similarity",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Ta}});Object.defineProperty(exports,"singularize",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.fb}});Object.defineProperty(exports,"slugify",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.wa}});Object.defineProperty(exports,"snakeCase",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.h}});Object.defineProperty(exports,"speakingTime",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.db}});Object.defineProperty(exports,"splice",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.F}});Object.defineProperty(exports,"sprintf",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Fa}});Object.defineProperty(exports,"startsWith",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.na}});Object.defineProperty(exports,"stripHtml",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ya}});Object.defineProperty(exports,"stripTags",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.za}});Object.defineProperty(exports,"surround",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.R}});Object.defineProperty(exports,"swapCase",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.p}});Object.defineProperty(exports,"template",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Ea}});Object.defineProperty(exports,"titleCase",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.j}});Object.defineProperty(exports,"toLower",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.r}});Object.defineProperty(exports,"toUpper",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.q}});Object.defineProperty(exports,"transliterate",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Da}});Object.defineProperty(exports,"trim",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.u}});Object.defineProperty(exports,"trimEnd",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.w}});Object.defineProperty(exports,"trimStart",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.v}});Object.defineProperty(exports,"truncate",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.C}});Object.defineProperty(exports,"unescape",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.sa}});Object.defineProperty(exports,"unescapeHtml",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.ua}});Object.defineProperty(exports,"unmask",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Ha}});Object.defineProperty(exports,"unwrap",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.E}});Object.defineProperty(exports,"wordCount",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.Wa}});Object.defineProperty(exports,"words",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.U}});Object.defineProperty(exports,"wrap",{enumerable:true,get:function(){return chunkVXA6NXOA_cjs.D}});exports.S=Vt;exports.getPlugins=Xt;exports.hasPlugin=Yt;exports.registerPlugin=Qt;exports.str=st;//# sourceMappingURL=index.cjs.map
12
12
  //# sourceMappingURL=index.cjs.map