@stryke/string-format 0.12.12 → 0.12.20
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/CHANGELOG.md +485 -0
- package/README.md +19 -9
- package/dist/acronyms-Clf_sxuQ.d.mts +17 -0
- package/dist/acronyms-Clf_sxuQ.d.mts.map +1 -0
- package/dist/acronyms-CqHURYjd.mjs +2 -0
- package/dist/acronyms-CqHURYjd.mjs.map +1 -0
- package/dist/acronyms-D4QIJv0a.d.cts +17 -0
- package/dist/acronyms-D4QIJv0a.d.cts.map +1 -0
- package/dist/acronyms-DiyHB1FK.cjs +1 -0
- package/dist/acronyms.cjs +1 -923
- package/dist/acronyms.d.cts +2 -0
- package/dist/acronyms.d.mts +2 -0
- package/dist/acronyms.mjs +1 -1
- package/dist/articles-Cla7DH2n.d.mts +5 -0
- package/dist/articles-Cla7DH2n.d.mts.map +1 -0
- package/dist/articles-D9xvmhoM.cjs +1 -0
- package/dist/articles-DzjpMs-D.d.cts +5 -0
- package/dist/articles-DzjpMs-D.d.cts.map +1 -0
- package/dist/articles-Dzsbtfwj.mjs +2 -0
- package/dist/articles-Dzsbtfwj.mjs.map +1 -0
- package/dist/articles.cjs +1 -7
- package/dist/articles.d.cts +2 -0
- package/dist/articles.d.mts +2 -0
- package/dist/articles.mjs +1 -1
- package/dist/base-BHbehXQX.mjs +2 -0
- package/dist/base-BHbehXQX.mjs.map +1 -0
- package/dist/base-DdjslzIj.cjs +1 -0
- package/dist/{camel-case.d.ts → camel-case-BjbgGrxH.d.mts} +6 -2
- package/dist/camel-case-BjbgGrxH.d.mts.map +1 -0
- package/dist/camel-case-C05avVyv.cjs +1 -0
- package/dist/camel-case-CZhC2BRe.d.cts +24 -0
- package/dist/camel-case-CZhC2BRe.d.cts.map +1 -0
- package/dist/camel-case-GuOpCLmz.mjs +2 -0
- package/dist/camel-case-GuOpCLmz.mjs.map +1 -0
- package/dist/camel-case.cjs +1 -15
- package/dist/camel-case.d.cts +2 -0
- package/dist/camel-case.d.mts +2 -0
- package/dist/camel-case.mjs +1 -1
- package/dist/combine-CAxhmyey.mjs +2 -0
- package/dist/combine-CAxhmyey.mjs.map +1 -0
- package/dist/combine-DZZlBlm_.d.cts +12 -0
- package/dist/combine-DZZlBlm_.d.cts.map +1 -0
- package/dist/combine-PAQYt88F.cjs +1 -0
- package/dist/combine-g1cpXeuj.d.mts +12 -0
- package/dist/combine-g1cpXeuj.d.mts.map +1 -0
- package/dist/combine.cjs +1 -9
- package/dist/combine.d.cts +2 -0
- package/dist/combine.d.mts +2 -0
- package/dist/combine.mjs +1 -1
- package/dist/conjunctions-B7prVj02.d.mts +5 -0
- package/dist/conjunctions-B7prVj02.d.mts.map +1 -0
- package/dist/conjunctions-CWyOkdmq.mjs +2 -0
- package/dist/conjunctions-CWyOkdmq.mjs.map +1 -0
- package/dist/conjunctions-CaM47PDl.cjs +1 -0
- package/dist/conjunctions-Chb943kG.d.cts +5 -0
- package/dist/conjunctions-Chb943kG.d.cts.map +1 -0
- package/dist/conjunctions.cjs +1 -7
- package/dist/conjunctions.d.cts +2 -0
- package/dist/conjunctions.d.mts +2 -0
- package/dist/conjunctions.mjs +1 -1
- package/dist/constant-case-B0oTEBjC.cjs +1 -0
- package/dist/constant-case-Cn0OS_D5.mjs +2 -0
- package/dist/constant-case-Cn0OS_D5.mjs.map +1 -0
- package/dist/{constant-case.d.ts → constant-case-m6XLIpEZ.d.mts} +6 -2
- package/dist/constant-case-m6XLIpEZ.d.mts.map +1 -0
- package/dist/constant-case-w4mBqXc4.d.cts +24 -0
- package/dist/constant-case-w4mBqXc4.d.cts.map +1 -0
- package/dist/constant-case.cjs +1 -15
- package/dist/constant-case.d.cts +2 -0
- package/dist/constant-case.d.mts +2 -0
- package/dist/constant-case.mjs +1 -1
- package/dist/{deburr.d.ts → deburr-Bc41oTWI.d.mts} +5 -1
- package/dist/deburr-Bc41oTWI.d.mts.map +1 -0
- package/dist/deburr-Brmq0CIE.d.cts +24 -0
- package/dist/deburr-Brmq0CIE.d.cts.map +1 -0
- package/dist/deburr-Ct9BIF1O.mjs +2 -0
- package/dist/deburr-Ct9BIF1O.mjs.map +1 -0
- package/dist/deburr-ulWvJuGq.cjs +1 -0
- package/dist/deburr.cjs +1 -10
- package/dist/deburr.d.cts +2 -0
- package/dist/deburr.d.mts +2 -0
- package/dist/deburr.mjs +1 -1
- package/dist/decamelize-CO4-wIwF.cjs +1 -0
- package/dist/{decamelize.d.ts → decamelize-CXxqH9_o.d.mts} +5 -1
- package/dist/decamelize-CXxqH9_o.d.mts.map +1 -0
- package/dist/decamelize-CuI8547m.mjs +2 -0
- package/dist/decamelize-CuI8547m.mjs.map +1 -0
- package/dist/decamelize-esVsRIRg.d.cts +11 -0
- package/dist/decamelize-esVsRIRg.d.cts.map +1 -0
- package/dist/decamelize.cjs +1 -9
- package/dist/decamelize.d.cts +2 -0
- package/dist/decamelize.d.mts +2 -0
- package/dist/decamelize.mjs +1 -1
- package/dist/{escape.d.ts → escape-C1LTGJQ1.d.cts} +5 -1
- package/dist/escape-C1LTGJQ1.d.cts.map +1 -0
- package/dist/escape-C44shywT.d.mts +21 -0
- package/dist/escape-C44shywT.d.mts.map +1 -0
- package/dist/escape-CRoXgV4v.cjs +1 -0
- package/dist/escape-CydJ1P9x.mjs +2 -0
- package/dist/escape-CydJ1P9x.mjs.map +1 -0
- package/dist/escape.cjs +1 -16
- package/dist/escape.d.cts +2 -0
- package/dist/escape.d.mts +2 -0
- package/dist/escape.mjs +1 -1
- package/dist/format-special-cases-CuctZ76T.cjs +1 -0
- package/dist/format-special-cases-DLTiwMAS.d.mts +23 -0
- package/dist/format-special-cases-DLTiwMAS.d.mts.map +1 -0
- package/dist/format-special-cases-Db69zjlV.d.cts +23 -0
- package/dist/format-special-cases-Db69zjlV.d.cts.map +1 -0
- package/dist/format-special-cases-F9O32YcB.mjs +2 -0
- package/dist/format-special-cases-F9O32YcB.mjs.map +1 -0
- package/dist/format-special-cases.cjs +1 -17
- package/dist/format-special-cases.d.cts +2 -0
- package/dist/format-special-cases.d.mts +2 -0
- package/dist/format-special-cases.mjs +1 -1
- package/dist/{get-words.d.ts → get-words-Cdgu0ngS.d.cts} +16 -12
- package/dist/get-words-Cdgu0ngS.d.cts.map +1 -0
- package/dist/get-words-De8YIU0J.d.mts +47 -0
- package/dist/get-words-De8YIU0J.d.mts.map +1 -0
- package/dist/get-words-IF97Rpfr.cjs +1 -0
- package/dist/get-words-vlruPM_Q.mjs +2 -0
- package/dist/get-words-vlruPM_Q.mjs.map +1 -0
- package/dist/get-words.cjs +1 -13
- package/dist/get-words.d.cts +2 -0
- package/dist/get-words.d.mts +2 -0
- package/dist/get-words.mjs +1 -1
- package/dist/index.cjs +1 -302
- package/dist/index.d.cts +28 -0
- package/dist/index.d.mts +28 -0
- package/dist/index.mjs +1 -1
- package/dist/kebab-case-CT-vTX1k.mjs +2 -0
- package/dist/kebab-case-CT-vTX1k.mjs.map +1 -0
- package/dist/kebab-case-P86ZRHrn.cjs +1 -0
- package/dist/{kebab-case.d.ts → kebab-case-j61N8v5l.d.cts} +6 -2
- package/dist/kebab-case-j61N8v5l.d.cts.map +1 -0
- package/dist/kebab-case-pl--iN9P.d.mts +24 -0
- package/dist/kebab-case-pl--iN9P.d.mts.map +1 -0
- package/dist/kebab-case.cjs +1 -16
- package/dist/kebab-case.d.cts +2 -0
- package/dist/kebab-case.d.mts +2 -0
- package/dist/kebab-case.mjs +1 -1
- package/dist/lower-case-first-BSnwPTwZ.d.cts +14 -0
- package/dist/lower-case-first-BSnwPTwZ.d.cts.map +1 -0
- package/dist/lower-case-first-CES45S2D.cjs +1 -0
- package/dist/lower-case-first-CVRU3SQT.mjs +2 -0
- package/dist/lower-case-first-CVRU3SQT.mjs.map +1 -0
- package/dist/lower-case-first-_dvT-gH7.d.mts +14 -0
- package/dist/lower-case-first-_dvT-gH7.d.mts.map +1 -0
- package/dist/lower-case-first.cjs +1 -9
- package/dist/lower-case-first.d.cts +2 -0
- package/dist/lower-case-first.d.mts +2 -0
- package/dist/lower-case-first.mjs +1 -1
- package/dist/{normalize-email.d.ts → normalize-email-BGivsxZI.d.cts} +5 -1
- package/dist/normalize-email-BGivsxZI.d.cts.map +1 -0
- package/dist/normalize-email-DRezSgOV.cjs +1 -0
- package/dist/normalize-email-bfhnC3KA.d.mts +20 -0
- package/dist/normalize-email-bfhnC3KA.d.mts.map +1 -0
- package/dist/normalize-email-us4o_m-8.mjs +2 -0
- package/dist/normalize-email-us4o_m-8.mjs.map +1 -0
- package/dist/normalize-email.cjs +1 -19
- package/dist/normalize-email.d.cts +2 -0
- package/dist/normalize-email.d.mts +2 -0
- package/dist/normalize-email.mjs +1 -1
- package/dist/package-BSidq8g2.mjs +2 -0
- package/dist/package-BSidq8g2.mjs.map +1 -0
- package/dist/package-Cw2gkIBD.cjs +1 -0
- package/dist/{package.d.ts → package-dwE_olpo.d.mts} +8 -4
- package/dist/package-dwE_olpo.d.mts.map +1 -0
- package/dist/package-o2QJauB-.d.cts +112 -0
- package/dist/package-o2QJauB-.d.cts.map +1 -0
- package/dist/package.cjs +1 -21
- package/dist/package.d.cts +2 -0
- package/dist/package.d.mts +2 -0
- package/dist/package.mjs +1 -1
- package/dist/pad-7O_mbugy.cjs +1 -0
- package/dist/pad-B___Grg_.mjs +2 -0
- package/dist/pad-B___Grg_.mjs.map +1 -0
- package/dist/{pad.d.ts → pad-C-Y_3U-y.d.cts} +5 -1
- package/dist/pad-C-Y_3U-y.d.cts.map +1 -0
- package/dist/pad-mujSKqwW.d.mts +22 -0
- package/dist/pad-mujSKqwW.d.mts.map +1 -0
- package/dist/pad.cjs +1 -9
- package/dist/pad.d.cts +2 -0
- package/dist/pad.d.mts +2 -0
- package/dist/pad.mjs +1 -1
- package/dist/pascal-case-BNtNlP7E.mjs +2 -0
- package/dist/pascal-case-BNtNlP7E.mjs.map +1 -0
- package/dist/pascal-case-BQIXhOgM.cjs +1 -0
- package/dist/{pascal-case.d.ts → pascal-case-DpwdMyIR.d.mts} +6 -2
- package/dist/pascal-case-DpwdMyIR.d.mts.map +1 -0
- package/dist/pascal-case-KPXemzHF.d.cts +24 -0
- package/dist/pascal-case-KPXemzHF.d.cts.map +1 -0
- package/dist/pascal-case.cjs +1 -15
- package/dist/pascal-case.d.cts +2 -0
- package/dist/pascal-case.d.mts +2 -0
- package/dist/pascal-case.mjs +1 -1
- package/dist/period-split-BN6zXi_S.cjs +1 -0
- package/dist/{period-split.d.ts → period-split-C2v7R4SQ.d.cts} +6 -2
- package/dist/period-split-C2v7R4SQ.d.cts.map +1 -0
- package/dist/period-split-CBVGYrUw.d.mts +24 -0
- package/dist/period-split-CBVGYrUw.d.mts.map +1 -0
- package/dist/period-split-PMoklYb7.mjs +2 -0
- package/dist/period-split-PMoklYb7.mjs.map +1 -0
- package/dist/period-split.cjs +1 -17
- package/dist/period-split.d.cts +2 -0
- package/dist/period-split.d.mts +2 -0
- package/dist/period-split.mjs +1 -1
- package/dist/prepositions-BOeFQ28J.mjs +2 -0
- package/dist/prepositions-BOeFQ28J.mjs.map +1 -0
- package/dist/prepositions-Bp1VMgpn.cjs +1 -0
- package/dist/prepositions-By1zoaRG.d.cts +5 -0
- package/dist/prepositions-By1zoaRG.d.cts.map +1 -0
- package/dist/prepositions-DHokBFOW.d.mts +5 -0
- package/dist/prepositions-DHokBFOW.d.mts.map +1 -0
- package/dist/prepositions.cjs +1 -7
- package/dist/prepositions.d.cts +2 -0
- package/dist/prepositions.d.mts +2 -0
- package/dist/prepositions.mjs +1 -1
- package/dist/pretty-bytes-Dam2n54B.d.mts +152 -0
- package/dist/pretty-bytes-Dam2n54B.d.mts.map +1 -0
- package/dist/pretty-bytes-DmvsumO5.mjs +2 -0
- package/dist/pretty-bytes-DmvsumO5.mjs.map +1 -0
- package/dist/pretty-bytes-Dv8t5D6N.d.cts +152 -0
- package/dist/pretty-bytes-Dv8t5D6N.d.cts.map +1 -0
- package/dist/pretty-bytes-aHFwwFbw.cjs +1 -0
- package/dist/pretty-bytes.cjs +1 -48
- package/dist/pretty-bytes.d.cts +2 -0
- package/dist/pretty-bytes.d.mts +2 -0
- package/dist/pretty-bytes.mjs +1 -1
- package/dist/{snake-case.d.ts → snake-case-C5v7aTGP.d.cts} +8 -4
- package/dist/snake-case-C5v7aTGP.d.cts.map +1 -0
- package/dist/snake-case-CKf8oDuS.d.mts +28 -0
- package/dist/snake-case-CKf8oDuS.d.mts.map +1 -0
- package/dist/snake-case.cjs +1 -22
- package/dist/snake-case.d.cts +2 -0
- package/dist/snake-case.d.mts +2 -0
- package/dist/snake-case.mjs +1 -1
- package/dist/special-cases-Ab3-SD5v.d.cts +5 -0
- package/dist/special-cases-Ab3-SD5v.d.cts.map +1 -0
- package/dist/special-cases-CfBSDTk8.cjs +1 -0
- package/dist/special-cases-D7iFXvkR.d.mts +5 -0
- package/dist/special-cases-D7iFXvkR.d.mts.map +1 -0
- package/dist/special-cases-gNNOSEbK.mjs +2 -0
- package/dist/special-cases-gNNOSEbK.mjs.map +1 -0
- package/dist/special-cases.cjs +1 -7
- package/dist/special-cases.d.cts +2 -0
- package/dist/special-cases.d.mts +2 -0
- package/dist/special-cases.mjs +1 -1
- package/dist/{start-case.d.ts → start-case-B9JLArn_.d.mts} +6 -2
- package/dist/start-case-B9JLArn_.d.mts.map +1 -0
- package/dist/start-case-CbdCqiBN.mjs +2 -0
- package/dist/start-case-CbdCqiBN.mjs.map +1 -0
- package/dist/start-case-ChU_5Pyw.cjs +1 -0
- package/dist/start-case-CsYY3Ed4.d.cts +32 -0
- package/dist/start-case-CsYY3Ed4.d.cts.map +1 -0
- package/dist/start-case.cjs +1 -18
- package/dist/start-case.d.cts +2 -0
- package/dist/start-case.d.mts +2 -0
- package/dist/start-case.mjs +1 -1
- package/dist/strip-indents-CPW83oCs.cjs +3 -0
- package/dist/strip-indents-D2-u4Zmx.mjs +4 -0
- package/dist/strip-indents-D2-u4Zmx.mjs.map +1 -0
- package/dist/{strip-indents.d.ts → strip-indents-DBLDecNL.d.cts} +5 -1
- package/dist/strip-indents-DBLDecNL.d.cts.map +1 -0
- package/dist/strip-indents-Dtn3rr-P.d.mts +21 -0
- package/dist/strip-indents-Dtn3rr-P.d.mts.map +1 -0
- package/dist/strip-indents.cjs +1 -11
- package/dist/strip-indents.d.cts +2 -0
- package/dist/strip-indents.d.mts +2 -0
- package/dist/strip-indents.mjs +1 -3
- package/dist/title-case-B_fyCnko.cjs +1 -0
- package/dist/title-case-Cx3FA_Rw.d.mts +15 -0
- package/dist/title-case-Cx3FA_Rw.d.mts.map +1 -0
- package/dist/title-case-DHhN2pBE.mjs +2 -0
- package/dist/title-case-DHhN2pBE.mjs.map +1 -0
- package/dist/title-case-mvtRcmDU.d.cts +15 -0
- package/dist/title-case-mvtRcmDU.d.cts.map +1 -0
- package/dist/title-case.cjs +1 -13
- package/dist/title-case.d.cts +2 -0
- package/dist/title-case.d.mts +2 -0
- package/dist/title-case.mjs +1 -1
- package/dist/{unescape.d.ts → unescape-5MrwINOf.d.cts} +5 -1
- package/dist/unescape-5MrwINOf.d.cts.map +1 -0
- package/dist/unescape-9cS7rNT5.d.mts +20 -0
- package/dist/unescape-9cS7rNT5.d.mts.map +1 -0
- package/dist/unescape-CKwnSwBD.mjs +2 -0
- package/dist/unescape-CKwnSwBD.mjs.map +1 -0
- package/dist/unescape-Ck5lwccz.cjs +1 -0
- package/dist/unescape.cjs +1 -16
- package/dist/unescape.d.cts +2 -0
- package/dist/unescape.d.mts +2 -0
- package/dist/unescape.mjs +1 -1
- package/dist/upper-case-first-Bwfq-lAe.d.mts +14 -0
- package/dist/upper-case-first-Bwfq-lAe.d.mts.map +1 -0
- package/dist/upper-case-first-Ca89zvpr.mjs +2 -0
- package/dist/upper-case-first-Ca89zvpr.mjs.map +1 -0
- package/dist/upper-case-first-IJMSoKjS.cjs +1 -0
- package/dist/upper-case-first-uHFwRCJ8.d.cts +14 -0
- package/dist/upper-case-first-uHFwRCJ8.d.cts.map +1 -0
- package/dist/upper-case-first.cjs +1 -9
- package/dist/upper-case-first.d.cts +2 -0
- package/dist/upper-case-first.d.mts +2 -0
- package/dist/upper-case-first.mjs +1 -1
- package/package.json +87 -409
- package/dist/acronyms.d.ts +0 -13
- package/dist/articles.d.ts +0 -1
- package/dist/combine.d.ts +0 -8
- package/dist/conjunctions.d.ts +0 -1
- package/dist/format-special-cases.d.ts +0 -19
- package/dist/index.d.ts +0 -35
- package/dist/lower-case-first.d.ts +0 -10
- package/dist/prepositions.d.ts +0 -1
- package/dist/pretty-bytes.d.ts +0 -148
- package/dist/special-cases.d.ts +0 -1
- package/dist/title-case.d.ts +0 -9
- package/dist/upper-case-first.d.ts +0 -10
package/dist/index.cjs
CHANGED
|
@@ -1,302 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _acronyms = require("./acronyms.cjs");
|
|
7
|
-
Object.keys(_acronyms).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _acronyms[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return _acronyms[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
var _articles = require("./articles.cjs");
|
|
18
|
-
Object.keys(_articles).forEach(function (key) {
|
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
|
20
|
-
if (key in exports && exports[key] === _articles[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () {
|
|
24
|
-
return _articles[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
var _camelCase = require("./camel-case.cjs");
|
|
29
|
-
Object.keys(_camelCase).forEach(function (key) {
|
|
30
|
-
if (key === "default" || key === "__esModule") return;
|
|
31
|
-
if (key in exports && exports[key] === _camelCase[key]) return;
|
|
32
|
-
Object.defineProperty(exports, key, {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function () {
|
|
35
|
-
return _camelCase[key];
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
var _combine = require("./combine.cjs");
|
|
40
|
-
Object.keys(_combine).forEach(function (key) {
|
|
41
|
-
if (key === "default" || key === "__esModule") return;
|
|
42
|
-
if (key in exports && exports[key] === _combine[key]) return;
|
|
43
|
-
Object.defineProperty(exports, key, {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () {
|
|
46
|
-
return _combine[key];
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
var _conjunctions = require("./conjunctions.cjs");
|
|
51
|
-
Object.keys(_conjunctions).forEach(function (key) {
|
|
52
|
-
if (key === "default" || key === "__esModule") return;
|
|
53
|
-
if (key in exports && exports[key] === _conjunctions[key]) return;
|
|
54
|
-
Object.defineProperty(exports, key, {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function () {
|
|
57
|
-
return _conjunctions[key];
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
var _constantCase = require("./constant-case.cjs");
|
|
62
|
-
Object.keys(_constantCase).forEach(function (key) {
|
|
63
|
-
if (key === "default" || key === "__esModule") return;
|
|
64
|
-
if (key in exports && exports[key] === _constantCase[key]) return;
|
|
65
|
-
Object.defineProperty(exports, key, {
|
|
66
|
-
enumerable: true,
|
|
67
|
-
get: function () {
|
|
68
|
-
return _constantCase[key];
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
});
|
|
72
|
-
var _deburr = require("./deburr.cjs");
|
|
73
|
-
Object.keys(_deburr).forEach(function (key) {
|
|
74
|
-
if (key === "default" || key === "__esModule") return;
|
|
75
|
-
if (key in exports && exports[key] === _deburr[key]) return;
|
|
76
|
-
Object.defineProperty(exports, key, {
|
|
77
|
-
enumerable: true,
|
|
78
|
-
get: function () {
|
|
79
|
-
return _deburr[key];
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
});
|
|
83
|
-
var _decamelize = require("./decamelize.cjs");
|
|
84
|
-
Object.keys(_decamelize).forEach(function (key) {
|
|
85
|
-
if (key === "default" || key === "__esModule") return;
|
|
86
|
-
if (key in exports && exports[key] === _decamelize[key]) return;
|
|
87
|
-
Object.defineProperty(exports, key, {
|
|
88
|
-
enumerable: true,
|
|
89
|
-
get: function () {
|
|
90
|
-
return _decamelize[key];
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
});
|
|
94
|
-
var _escape = require("./escape.cjs");
|
|
95
|
-
Object.keys(_escape).forEach(function (key) {
|
|
96
|
-
if (key === "default" || key === "__esModule") return;
|
|
97
|
-
if (key in exports && exports[key] === _escape[key]) return;
|
|
98
|
-
Object.defineProperty(exports, key, {
|
|
99
|
-
enumerable: true,
|
|
100
|
-
get: function () {
|
|
101
|
-
return _escape[key];
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
|
-
var _formatSpecialCases = require("./format-special-cases.cjs");
|
|
106
|
-
Object.keys(_formatSpecialCases).forEach(function (key) {
|
|
107
|
-
if (key === "default" || key === "__esModule") return;
|
|
108
|
-
if (key in exports && exports[key] === _formatSpecialCases[key]) return;
|
|
109
|
-
Object.defineProperty(exports, key, {
|
|
110
|
-
enumerable: true,
|
|
111
|
-
get: function () {
|
|
112
|
-
return _formatSpecialCases[key];
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
});
|
|
116
|
-
var _getWords = require("./get-words.cjs");
|
|
117
|
-
Object.keys(_getWords).forEach(function (key) {
|
|
118
|
-
if (key === "default" || key === "__esModule") return;
|
|
119
|
-
if (key in exports && exports[key] === _getWords[key]) return;
|
|
120
|
-
Object.defineProperty(exports, key, {
|
|
121
|
-
enumerable: true,
|
|
122
|
-
get: function () {
|
|
123
|
-
return _getWords[key];
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
});
|
|
127
|
-
var _kebabCase = require("./kebab-case.cjs");
|
|
128
|
-
Object.keys(_kebabCase).forEach(function (key) {
|
|
129
|
-
if (key === "default" || key === "__esModule") return;
|
|
130
|
-
if (key in exports && exports[key] === _kebabCase[key]) return;
|
|
131
|
-
Object.defineProperty(exports, key, {
|
|
132
|
-
enumerable: true,
|
|
133
|
-
get: function () {
|
|
134
|
-
return _kebabCase[key];
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
});
|
|
138
|
-
var _lowerCaseFirst = require("./lower-case-first.cjs");
|
|
139
|
-
Object.keys(_lowerCaseFirst).forEach(function (key) {
|
|
140
|
-
if (key === "default" || key === "__esModule") return;
|
|
141
|
-
if (key in exports && exports[key] === _lowerCaseFirst[key]) return;
|
|
142
|
-
Object.defineProperty(exports, key, {
|
|
143
|
-
enumerable: true,
|
|
144
|
-
get: function () {
|
|
145
|
-
return _lowerCaseFirst[key];
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
});
|
|
149
|
-
var _normalizeEmail = require("./normalize-email.cjs");
|
|
150
|
-
Object.keys(_normalizeEmail).forEach(function (key) {
|
|
151
|
-
if (key === "default" || key === "__esModule") return;
|
|
152
|
-
if (key in exports && exports[key] === _normalizeEmail[key]) return;
|
|
153
|
-
Object.defineProperty(exports, key, {
|
|
154
|
-
enumerable: true,
|
|
155
|
-
get: function () {
|
|
156
|
-
return _normalizeEmail[key];
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
});
|
|
160
|
-
var _package = require("./package.cjs");
|
|
161
|
-
Object.keys(_package).forEach(function (key) {
|
|
162
|
-
if (key === "default" || key === "__esModule") return;
|
|
163
|
-
if (key in exports && exports[key] === _package[key]) return;
|
|
164
|
-
Object.defineProperty(exports, key, {
|
|
165
|
-
enumerable: true,
|
|
166
|
-
get: function () {
|
|
167
|
-
return _package[key];
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
});
|
|
171
|
-
var _pad = require("./pad.cjs");
|
|
172
|
-
Object.keys(_pad).forEach(function (key) {
|
|
173
|
-
if (key === "default" || key === "__esModule") return;
|
|
174
|
-
if (key in exports && exports[key] === _pad[key]) return;
|
|
175
|
-
Object.defineProperty(exports, key, {
|
|
176
|
-
enumerable: true,
|
|
177
|
-
get: function () {
|
|
178
|
-
return _pad[key];
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
});
|
|
182
|
-
var _pascalCase = require("./pascal-case.cjs");
|
|
183
|
-
Object.keys(_pascalCase).forEach(function (key) {
|
|
184
|
-
if (key === "default" || key === "__esModule") return;
|
|
185
|
-
if (key in exports && exports[key] === _pascalCase[key]) return;
|
|
186
|
-
Object.defineProperty(exports, key, {
|
|
187
|
-
enumerable: true,
|
|
188
|
-
get: function () {
|
|
189
|
-
return _pascalCase[key];
|
|
190
|
-
}
|
|
191
|
-
});
|
|
192
|
-
});
|
|
193
|
-
var _periodSplit = require("./period-split.cjs");
|
|
194
|
-
Object.keys(_periodSplit).forEach(function (key) {
|
|
195
|
-
if (key === "default" || key === "__esModule") return;
|
|
196
|
-
if (key in exports && exports[key] === _periodSplit[key]) return;
|
|
197
|
-
Object.defineProperty(exports, key, {
|
|
198
|
-
enumerable: true,
|
|
199
|
-
get: function () {
|
|
200
|
-
return _periodSplit[key];
|
|
201
|
-
}
|
|
202
|
-
});
|
|
203
|
-
});
|
|
204
|
-
var _prepositions = require("./prepositions.cjs");
|
|
205
|
-
Object.keys(_prepositions).forEach(function (key) {
|
|
206
|
-
if (key === "default" || key === "__esModule") return;
|
|
207
|
-
if (key in exports && exports[key] === _prepositions[key]) return;
|
|
208
|
-
Object.defineProperty(exports, key, {
|
|
209
|
-
enumerable: true,
|
|
210
|
-
get: function () {
|
|
211
|
-
return _prepositions[key];
|
|
212
|
-
}
|
|
213
|
-
});
|
|
214
|
-
});
|
|
215
|
-
var _prettyBytes = require("./pretty-bytes.cjs");
|
|
216
|
-
Object.keys(_prettyBytes).forEach(function (key) {
|
|
217
|
-
if (key === "default" || key === "__esModule") return;
|
|
218
|
-
if (key in exports && exports[key] === _prettyBytes[key]) return;
|
|
219
|
-
Object.defineProperty(exports, key, {
|
|
220
|
-
enumerable: true,
|
|
221
|
-
get: function () {
|
|
222
|
-
return _prettyBytes[key];
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
});
|
|
226
|
-
var _snakeCase = require("./snake-case.cjs");
|
|
227
|
-
Object.keys(_snakeCase).forEach(function (key) {
|
|
228
|
-
if (key === "default" || key === "__esModule") return;
|
|
229
|
-
if (key in exports && exports[key] === _snakeCase[key]) return;
|
|
230
|
-
Object.defineProperty(exports, key, {
|
|
231
|
-
enumerable: true,
|
|
232
|
-
get: function () {
|
|
233
|
-
return _snakeCase[key];
|
|
234
|
-
}
|
|
235
|
-
});
|
|
236
|
-
});
|
|
237
|
-
var _specialCases = require("./special-cases.cjs");
|
|
238
|
-
Object.keys(_specialCases).forEach(function (key) {
|
|
239
|
-
if (key === "default" || key === "__esModule") return;
|
|
240
|
-
if (key in exports && exports[key] === _specialCases[key]) return;
|
|
241
|
-
Object.defineProperty(exports, key, {
|
|
242
|
-
enumerable: true,
|
|
243
|
-
get: function () {
|
|
244
|
-
return _specialCases[key];
|
|
245
|
-
}
|
|
246
|
-
});
|
|
247
|
-
});
|
|
248
|
-
var _startCase = require("./start-case.cjs");
|
|
249
|
-
Object.keys(_startCase).forEach(function (key) {
|
|
250
|
-
if (key === "default" || key === "__esModule") return;
|
|
251
|
-
if (key in exports && exports[key] === _startCase[key]) return;
|
|
252
|
-
Object.defineProperty(exports, key, {
|
|
253
|
-
enumerable: true,
|
|
254
|
-
get: function () {
|
|
255
|
-
return _startCase[key];
|
|
256
|
-
}
|
|
257
|
-
});
|
|
258
|
-
});
|
|
259
|
-
var _stripIndents = require("./strip-indents.cjs");
|
|
260
|
-
Object.keys(_stripIndents).forEach(function (key) {
|
|
261
|
-
if (key === "default" || key === "__esModule") return;
|
|
262
|
-
if (key in exports && exports[key] === _stripIndents[key]) return;
|
|
263
|
-
Object.defineProperty(exports, key, {
|
|
264
|
-
enumerable: true,
|
|
265
|
-
get: function () {
|
|
266
|
-
return _stripIndents[key];
|
|
267
|
-
}
|
|
268
|
-
});
|
|
269
|
-
});
|
|
270
|
-
var _titleCase = require("./title-case.cjs");
|
|
271
|
-
Object.keys(_titleCase).forEach(function (key) {
|
|
272
|
-
if (key === "default" || key === "__esModule") return;
|
|
273
|
-
if (key in exports && exports[key] === _titleCase[key]) return;
|
|
274
|
-
Object.defineProperty(exports, key, {
|
|
275
|
-
enumerable: true,
|
|
276
|
-
get: function () {
|
|
277
|
-
return _titleCase[key];
|
|
278
|
-
}
|
|
279
|
-
});
|
|
280
|
-
});
|
|
281
|
-
var _unescape = require("./unescape.cjs");
|
|
282
|
-
Object.keys(_unescape).forEach(function (key) {
|
|
283
|
-
if (key === "default" || key === "__esModule") return;
|
|
284
|
-
if (key in exports && exports[key] === _unescape[key]) return;
|
|
285
|
-
Object.defineProperty(exports, key, {
|
|
286
|
-
enumerable: true,
|
|
287
|
-
get: function () {
|
|
288
|
-
return _unescape[key];
|
|
289
|
-
}
|
|
290
|
-
});
|
|
291
|
-
});
|
|
292
|
-
var _upperCaseFirst = require("./upper-case-first.cjs");
|
|
293
|
-
Object.keys(_upperCaseFirst).forEach(function (key) {
|
|
294
|
-
if (key === "default" || key === "__esModule") return;
|
|
295
|
-
if (key in exports && exports[key] === _upperCaseFirst[key]) return;
|
|
296
|
-
Object.defineProperty(exports, key, {
|
|
297
|
-
enumerable: true,
|
|
298
|
-
get: function () {
|
|
299
|
-
return _upperCaseFirst[key];
|
|
300
|
-
}
|
|
301
|
-
});
|
|
302
|
-
});
|
|
1
|
+
const e=require(`./acronyms-DiyHB1FK.cjs`),t=require(`./articles-D9xvmhoM.cjs`),n=require(`./get-words-IF97Rpfr.cjs`),r=require(`./camel-case-C05avVyv.cjs`),i=require(`./combine-PAQYt88F.cjs`),a=require(`./conjunctions-CaM47PDl.cjs`),o=require(`./upper-case-first-IJMSoKjS.cjs`),s=require(`./constant-case-B0oTEBjC.cjs`),c=require(`./deburr-ulWvJuGq.cjs`),l=require(`./decamelize-CO4-wIwF.cjs`),u=require(`./escape-CRoXgV4v.cjs`),d=require(`./prepositions-Bp1VMgpn.cjs`),f=require(`./special-cases-CfBSDTk8.cjs`),p=require(`./format-special-cases-CuctZ76T.cjs`),m=require(`./kebab-case-P86ZRHrn.cjs`),h=require(`./lower-case-first-CES45S2D.cjs`),g=require(`./normalize-email-DRezSgOV.cjs`),_=require(`./package-Cw2gkIBD.cjs`),v=require(`./pad-7O_mbugy.cjs`),y=require(`./pascal-case-BQIXhOgM.cjs`),b=require(`./period-split-BN6zXi_S.cjs`),x=require(`./pretty-bytes-aHFwwFbw.cjs`),S=require(`./start-case-ChU_5Pyw.cjs`),C=require(`./strip-indents-CPW83oCs.cjs`),w=require(`./title-case-B_fyCnko.cjs`),T=require(`./unescape-Ck5lwccz.cjs`);exports.ACRONYMS=e.t,exports.ACRONYM_DESCRIPTION=e.n,exports.ACRONYM_DISPLAY=e.r,exports.ACRONYM_LIST=e.i,exports.ARTICLES=t.t,exports.CASE_SPLIT_PATTERN=n.t,exports.CONJUNCTIONS=a.t,exports.PREPOSITIONS=d.t,exports.RELAXED_SPLIT_PATTERN=n.n,exports.SPECIAL_CASES=f.t,exports.camelCase=r.t,exports.combine=i.t,exports.constantCase=s.t,exports.deburr=c.t,exports.decamelize=l.t,exports.escape=u.t,exports.formatSpecialCases=p.t,exports.getPackageName=_.t,exports.getPackageVersion=_.n,exports.getWords=n.r,exports.hasPackageVersion=_.r,exports.isCamelCase=r.n,exports.isConstantCase=s.n,exports.isKebabCase=m.t,exports.isPascalCase=y.t,exports.isPeriodSplit=b.t,exports.isSnakeCase=s.r,exports.isStartCase=S.t,exports.kebabCase=m.n,exports.lowerCaseFirst=h.t,exports.normalizeEmail=g.t,exports.pad=v.t,exports.pascalCase=y.n,exports.periodSplit=b.n,exports.prettyBytes=x.t,exports.removePackageVersion=_.i,exports.snakeCase=s.i,exports.startCase=S.n,exports.stripIndents=C.t,exports.titleCase=w.t,exports.toLocaleString=x.n,exports.unescape=T.t,exports.upperCaseFirst=o.t;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { i as ACRONYM_LIST, n as ACRONYM_DESCRIPTION, r as ACRONYM_DISPLAY, t as ACRONYMS } from "./acronyms-D4QIJv0a.cjs";
|
|
2
|
+
import { t as ARTICLES } from "./articles-DzjpMs-D.cjs";
|
|
3
|
+
import { n as isCamelCase, t as camelCase } from "./camel-case-CZhC2BRe.cjs";
|
|
4
|
+
import { t as combine } from "./combine-DZZlBlm_.cjs";
|
|
5
|
+
import { t as CONJUNCTIONS } from "./conjunctions-Chb943kG.cjs";
|
|
6
|
+
import { n as isConstantCase, t as constantCase } from "./constant-case-w4mBqXc4.cjs";
|
|
7
|
+
import { t as deburr } from "./deburr-Brmq0CIE.cjs";
|
|
8
|
+
import { t as decamelize } from "./decamelize-esVsRIRg.cjs";
|
|
9
|
+
import { t as escape } from "./escape-C1LTGJQ1.cjs";
|
|
10
|
+
import { n as formatSpecialCases, t as FormatSpecialCasesOptions } from "./format-special-cases-Db69zjlV.cjs";
|
|
11
|
+
import { i as getWords, n as GetWordsOptions, r as RELAXED_SPLIT_PATTERN, t as CASE_SPLIT_PATTERN } from "./get-words-Cdgu0ngS.cjs";
|
|
12
|
+
import { n as kebabCase, t as isKebabCase } from "./kebab-case-j61N8v5l.cjs";
|
|
13
|
+
import { t as lowerCaseFirst } from "./lower-case-first-BSnwPTwZ.cjs";
|
|
14
|
+
import { t as normalizeEmail } from "./normalize-email-BGivsxZI.cjs";
|
|
15
|
+
import { i as removePackageVersion, n as getPackageVersion, r as hasPackageVersion, t as getPackageName } from "./package-o2QJauB-.cjs";
|
|
16
|
+
import { t as pad } from "./pad-C-Y_3U-y.cjs";
|
|
17
|
+
import { n as pascalCase, t as isPascalCase } from "./pascal-case-KPXemzHF.cjs";
|
|
18
|
+
import { n as periodSplit, t as isPeriodSplit } from "./period-split-C2v7R4SQ.cjs";
|
|
19
|
+
import { t as PREPOSITIONS } from "./prepositions-By1zoaRG.cjs";
|
|
20
|
+
import { n as prettyBytes, r as toLocaleString, t as Options } from "./pretty-bytes-Dv8t5D6N.cjs";
|
|
21
|
+
import { n as isSnakeCase, r as snakeCase, t as SnakeCaseOptions } from "./snake-case-C5v7aTGP.cjs";
|
|
22
|
+
import { t as SPECIAL_CASES } from "./special-cases-Ab3-SD5v.cjs";
|
|
23
|
+
import { n as startCase, t as isStartCase } from "./start-case-CsYY3Ed4.cjs";
|
|
24
|
+
import { t as stripIndents } from "./strip-indents-DBLDecNL.cjs";
|
|
25
|
+
import { t as titleCase } from "./title-case-mvtRcmDU.cjs";
|
|
26
|
+
import { t as unescape } from "./unescape-5MrwINOf.cjs";
|
|
27
|
+
import { t as upperCaseFirst } from "./upper-case-first-uHFwRCJ8.cjs";
|
|
28
|
+
export { ACRONYMS, ACRONYM_DESCRIPTION, ACRONYM_DISPLAY, ACRONYM_LIST, ARTICLES, CASE_SPLIT_PATTERN, CONJUNCTIONS, FormatSpecialCasesOptions, GetWordsOptions, Options, PREPOSITIONS, RELAXED_SPLIT_PATTERN, SPECIAL_CASES, SnakeCaseOptions, camelCase, combine, constantCase, deburr, decamelize, escape, formatSpecialCases, getPackageName, getPackageVersion, getWords, hasPackageVersion, isCamelCase, isConstantCase, isKebabCase, isPascalCase, isPeriodSplit, isSnakeCase, isStartCase, kebabCase, lowerCaseFirst, normalizeEmail, pad, pascalCase, periodSplit, prettyBytes, removePackageVersion, snakeCase, startCase, stripIndents, titleCase, toLocaleString, unescape, upperCaseFirst };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { i as ACRONYM_LIST, n as ACRONYM_DESCRIPTION, r as ACRONYM_DISPLAY, t as ACRONYMS } from "./acronyms-Clf_sxuQ.mjs";
|
|
2
|
+
import { t as ARTICLES } from "./articles-Cla7DH2n.mjs";
|
|
3
|
+
import { n as isCamelCase, t as camelCase } from "./camel-case-BjbgGrxH.mjs";
|
|
4
|
+
import { t as combine } from "./combine-g1cpXeuj.mjs";
|
|
5
|
+
import { t as CONJUNCTIONS } from "./conjunctions-B7prVj02.mjs";
|
|
6
|
+
import { n as isConstantCase, t as constantCase } from "./constant-case-m6XLIpEZ.mjs";
|
|
7
|
+
import { t as deburr } from "./deburr-Bc41oTWI.mjs";
|
|
8
|
+
import { t as decamelize } from "./decamelize-CXxqH9_o.mjs";
|
|
9
|
+
import { t as escape } from "./escape-C44shywT.mjs";
|
|
10
|
+
import { n as formatSpecialCases, t as FormatSpecialCasesOptions } from "./format-special-cases-DLTiwMAS.mjs";
|
|
11
|
+
import { i as getWords, n as GetWordsOptions, r as RELAXED_SPLIT_PATTERN, t as CASE_SPLIT_PATTERN } from "./get-words-De8YIU0J.mjs";
|
|
12
|
+
import { n as kebabCase, t as isKebabCase } from "./kebab-case-pl--iN9P.mjs";
|
|
13
|
+
import { t as lowerCaseFirst } from "./lower-case-first-_dvT-gH7.mjs";
|
|
14
|
+
import { t as normalizeEmail } from "./normalize-email-bfhnC3KA.mjs";
|
|
15
|
+
import { i as removePackageVersion, n as getPackageVersion, r as hasPackageVersion, t as getPackageName } from "./package-dwE_olpo.mjs";
|
|
16
|
+
import { t as pad } from "./pad-mujSKqwW.mjs";
|
|
17
|
+
import { n as pascalCase, t as isPascalCase } from "./pascal-case-DpwdMyIR.mjs";
|
|
18
|
+
import { n as periodSplit, t as isPeriodSplit } from "./period-split-CBVGYrUw.mjs";
|
|
19
|
+
import { t as PREPOSITIONS } from "./prepositions-DHokBFOW.mjs";
|
|
20
|
+
import { n as prettyBytes, r as toLocaleString, t as Options } from "./pretty-bytes-Dam2n54B.mjs";
|
|
21
|
+
import { n as isSnakeCase, r as snakeCase, t as SnakeCaseOptions } from "./snake-case-CKf8oDuS.mjs";
|
|
22
|
+
import { t as SPECIAL_CASES } from "./special-cases-D7iFXvkR.mjs";
|
|
23
|
+
import { n as startCase, t as isStartCase } from "./start-case-B9JLArn_.mjs";
|
|
24
|
+
import { t as stripIndents } from "./strip-indents-Dtn3rr-P.mjs";
|
|
25
|
+
import { t as titleCase } from "./title-case-Cx3FA_Rw.mjs";
|
|
26
|
+
import { t as unescape } from "./unescape-9cS7rNT5.mjs";
|
|
27
|
+
import { t as upperCaseFirst } from "./upper-case-first-Bwfq-lAe.mjs";
|
|
28
|
+
export { ACRONYMS, ACRONYM_DESCRIPTION, ACRONYM_DISPLAY, ACRONYM_LIST, ARTICLES, CASE_SPLIT_PATTERN, CONJUNCTIONS, FormatSpecialCasesOptions, GetWordsOptions, Options, PREPOSITIONS, RELAXED_SPLIT_PATTERN, SPECIAL_CASES, SnakeCaseOptions, camelCase, combine, constantCase, deburr, decamelize, escape, formatSpecialCases, getPackageName, getPackageVersion, getWords, hasPackageVersion, isCamelCase, isConstantCase, isKebabCase, isPascalCase, isPeriodSplit, isSnakeCase, isStartCase, kebabCase, lowerCaseFirst, normalizeEmail, pad, pascalCase, periodSplit, prettyBytes, removePackageVersion, snakeCase, startCase, stripIndents, titleCase, toLocaleString, unescape, upperCaseFirst };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{i as e,n as t,r as n,t as r}from"./acronyms-CqHURYjd.mjs";import{t as i}from"./articles-Dzsbtfwj.mjs";import{n as a,r as o,t as s}from"./get-words-vlruPM_Q.mjs";import{n as c,t as l}from"./camel-case-GuOpCLmz.mjs";import{t as u}from"./combine-CAxhmyey.mjs";import{t as d}from"./conjunctions-CWyOkdmq.mjs";import{t as f}from"./upper-case-first-Ca89zvpr.mjs";import{i as p,n as m,r as h,t as g}from"./constant-case-Cn0OS_D5.mjs";import{t as _}from"./deburr-Ct9BIF1O.mjs";import{t as v}from"./decamelize-CuI8547m.mjs";import{t as y}from"./escape-CydJ1P9x.mjs";import{t as b}from"./prepositions-BOeFQ28J.mjs";import{t as x}from"./special-cases-gNNOSEbK.mjs";import{t as S}from"./format-special-cases-F9O32YcB.mjs";import{n as C,t as w}from"./kebab-case-CT-vTX1k.mjs";import{t as T}from"./lower-case-first-CVRU3SQT.mjs";import{t as E}from"./normalize-email-us4o_m-8.mjs";import{i as D,n as O,r as k,t as A}from"./package-BSidq8g2.mjs";import{t as j}from"./pad-B___Grg_.mjs";import{n as M,t as N}from"./pascal-case-BNtNlP7E.mjs";import{n as P,t as F}from"./period-split-PMoklYb7.mjs";import{n as I,t as L}from"./pretty-bytes-DmvsumO5.mjs";import{n as R,t as z}from"./start-case-CbdCqiBN.mjs";import{t as B}from"./strip-indents-D2-u4Zmx.mjs";import{t as V}from"./title-case-DHhN2pBE.mjs";import{t as H}from"./unescape-CKwnSwBD.mjs";export{r as ACRONYMS,t as ACRONYM_DESCRIPTION,n as ACRONYM_DISPLAY,e as ACRONYM_LIST,i as ARTICLES,s as CASE_SPLIT_PATTERN,d as CONJUNCTIONS,b as PREPOSITIONS,a as RELAXED_SPLIT_PATTERN,x as SPECIAL_CASES,l as camelCase,u as combine,g as constantCase,_ as deburr,v as decamelize,y as escape,S as formatSpecialCases,A as getPackageName,O as getPackageVersion,o as getWords,k as hasPackageVersion,c as isCamelCase,m as isConstantCase,w as isKebabCase,N as isPascalCase,F as isPeriodSplit,h as isSnakeCase,z as isStartCase,C as kebabCase,T as lowerCaseFirst,E as normalizeEmail,j as pad,M as pascalCase,P as periodSplit,L as prettyBytes,D as removePackageVersion,p as snakeCase,R as startCase,B as stripIndents,V as titleCase,I as toLocaleString,H as unescape,f as upperCaseFirst};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kebab-case-CT-vTX1k.mjs","names":[],"sources":["../src/kebab-case.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { getWords } from \"./get-words\";\n\n/**\n * Check if the input string is in kebab case.\n *\n * @remarks\n * Kebab case is defined as all lowercase letters with hyphens separating words - \"this-is-an-example\".\n *\n * @param input - The input string to check.\n * @returns True if the input is in kebab case, false otherwise.\n */\nexport function isKebabCase(input: string | undefined): boolean {\n return input ? /^[a-z]+(?:-[a-z0-9]+)*$/.test(input) : false;\n}\n\n/**\n * Convert the input string to kebab case.\n *\n * @remarks\n * Kebab case is defined as all lowercase letters with hyphens separating words - \"this-is-an-example\".\n *\n * @param input - The input string.\n * @returns The kebab-cased string.\n */\nexport function kebabCase<T extends string | undefined>(input: T): T {\n if (isKebabCase(input) || input === undefined) {\n return input;\n }\n\n const parts = input ? getWords(input) : [];\n if (parts.length === 0) {\n return \"\" as T;\n }\n\n return parts.join(\"-\").toLowerCase() as T;\n}\n"],"mappings":"6CA6BA,SAAgB,EAAY,EAAoC,CAC9D,OAAO,EAAQ,0BAA0B,KAAK,EAAM,CAAG,GAYzD,SAAgB,EAAwC,EAAa,CACnE,GAAI,EAAY,EAAM,EAAI,IAAU,IAAA,GAClC,OAAO,EAGT,IAAM,EAAQ,EAAQ,EAAS,EAAM,CAAG,EAAE,CAK1C,OAJI,EAAM,SAAW,EACZ,GAGF,EAAM,KAAK,IAAI,CAAC,aAAa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./get-words-IF97Rpfr.cjs`);function t(e){return e?/^[a-z]+(?:-[a-z0-9]+)*$/.test(e):!1}function n(n){if(t(n)||n===void 0)return n;let r=n?e.r(n):[];return r.length===0?``:r.join(`-`).toLowerCase()}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return t}});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region src/kebab-case.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* Check if the input string is in kebab case.
|
|
3
4
|
*
|
|
@@ -7,7 +8,7 @@
|
|
|
7
8
|
* @param input - The input string to check.
|
|
8
9
|
* @returns True if the input is in kebab case, false otherwise.
|
|
9
10
|
*/
|
|
10
|
-
|
|
11
|
+
declare function isKebabCase(input: string | undefined): boolean;
|
|
11
12
|
/**
|
|
12
13
|
* Convert the input string to kebab case.
|
|
13
14
|
*
|
|
@@ -17,4 +18,7 @@ export declare function isKebabCase(input: string | undefined): boolean;
|
|
|
17
18
|
* @param input - The input string.
|
|
18
19
|
* @returns The kebab-cased string.
|
|
19
20
|
*/
|
|
20
|
-
|
|
21
|
+
declare function kebabCase<T extends string | undefined>(input: T): T;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { kebabCase as n, isKebabCase as t };
|
|
24
|
+
//# sourceMappingURL=kebab-case-j61N8v5l.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kebab-case-j61N8v5l.d.cts","names":[],"sources":["../src/kebab-case.ts"],"sourcesContent":[],"mappings":";;AA6BA;AAaA;;;;;;;iBAbgB,WAAA;;;;;;;;;;iBAaA,+CAA+C,IAAI"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//#region src/kebab-case.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Check if the input string is in kebab case.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
6
|
+
* Kebab case is defined as all lowercase letters with hyphens separating words - "this-is-an-example".
|
|
7
|
+
*
|
|
8
|
+
* @param input - The input string to check.
|
|
9
|
+
* @returns True if the input is in kebab case, false otherwise.
|
|
10
|
+
*/
|
|
11
|
+
declare function isKebabCase(input: string | undefined): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Convert the input string to kebab case.
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* Kebab case is defined as all lowercase letters with hyphens separating words - "this-is-an-example".
|
|
17
|
+
*
|
|
18
|
+
* @param input - The input string.
|
|
19
|
+
* @returns The kebab-cased string.
|
|
20
|
+
*/
|
|
21
|
+
declare function kebabCase<T extends string | undefined>(input: T): T;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { kebabCase as n, isKebabCase as t };
|
|
24
|
+
//# sourceMappingURL=kebab-case-pl--iN9P.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kebab-case-pl--iN9P.d.mts","names":[],"sources":["../src/kebab-case.ts"],"sourcesContent":[],"mappings":";;AA6BA;AAaA;;;;;;;iBAbgB,WAAA;;;;;;;;;;iBAaA,+CAA+C,IAAI"}
|
package/dist/kebab-case.cjs
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isKebabCase = isKebabCase;
|
|
7
|
-
exports.kebabCase = kebabCase;
|
|
8
|
-
var _getWords = require("./get-words.cjs");
|
|
9
|
-
function isKebabCase(e) {
|
|
10
|
-
return e ? /^[a-z]+(?:-[a-z0-9]+)*$/.test(e) : !1;
|
|
11
|
-
}
|
|
12
|
-
function kebabCase(e) {
|
|
13
|
-
if (isKebabCase(e) || e === void 0) return e;
|
|
14
|
-
const r = e ? (0, _getWords.getWords)(e) : [];
|
|
15
|
-
return r.length === 0 ? "" : r.join("-").toLowerCase();
|
|
16
|
-
}
|
|
1
|
+
const e=require(`./kebab-case-P86ZRHrn.cjs`);exports.isKebabCase=e.t,exports.kebabCase=e.n;
|
package/dist/kebab-case.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{n as e,t}from"./kebab-case-CT-vTX1k.mjs";export{t as isKebabCase,e as kebabCase};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/lower-case-first.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Lower case the first character of an input string.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
6
|
+
* "tHISISANEXAMPLE"
|
|
7
|
+
*
|
|
8
|
+
* @param input - The input string.
|
|
9
|
+
* @returns The lower-cased string.
|
|
10
|
+
*/
|
|
11
|
+
declare function lowerCaseFirst<T extends string | undefined>(input?: T): T;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { lowerCaseFirst as t };
|
|
14
|
+
//# sourceMappingURL=lower-case-first-BSnwPTwZ.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lower-case-first-BSnwPTwZ.d.cts","names":[],"sources":["../src/lower-case-first.ts"],"sourcesContent":[],"mappings":";;AA2BA;;;;;;;;iBAAgB,qDAAqD,IAAI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lower-case-first-CVRU3SQT.mjs","names":[],"sources":["../src/lower-case-first.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/**\n * Lower case the first character of an input string.\n *\n * @remarks\n * \"tHISISANEXAMPLE\"\n *\n * @param input - The input string.\n * @returns The lower-cased string.\n */\nexport function lowerCaseFirst<T extends string | undefined>(input?: T): T {\n return (input ? input.charAt(0).toLowerCase() + input.slice(1) : input) as T;\n}\n"],"mappings":"AA2BA,SAAgB,EAA6C,EAAc,CACzE,OAAQ,GAAQ,EAAM,OAAO,EAAE,CAAC,aAAa,CAAG,EAAM,MAAM,EAAE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/lower-case-first.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Lower case the first character of an input string.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
6
|
+
* "tHISISANEXAMPLE"
|
|
7
|
+
*
|
|
8
|
+
* @param input - The input string.
|
|
9
|
+
* @returns The lower-cased string.
|
|
10
|
+
*/
|
|
11
|
+
declare function lowerCaseFirst<T extends string | undefined>(input?: T): T;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { lowerCaseFirst as t };
|
|
14
|
+
//# sourceMappingURL=lower-case-first-_dvT-gH7.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lower-case-first-_dvT-gH7.d.mts","names":[],"sources":["../src/lower-case-first.ts"],"sourcesContent":[],"mappings":";;AA2BA;;;;;;;;iBAAgB,qDAAqD,IAAI"}
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.lowerCaseFirst = lowerCaseFirst;
|
|
7
|
-
function lowerCaseFirst(e) {
|
|
8
|
-
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
9
|
-
}
|
|
1
|
+
const e=require(`./lower-case-first-CES45S2D.cjs`);exports.lowerCaseFirst=e.t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{t as e}from"./lower-case-first-CVRU3SQT.mjs";export{e as lowerCaseFirst};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region src/normalize-email.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* 1. Lower-cases whole email.
|
|
3
4
|
* 2. Removes dots ".".
|
|
@@ -13,4 +14,7 @@
|
|
|
13
14
|
* mikejohnson\@gmail.com
|
|
14
15
|
*
|
|
15
16
|
*/
|
|
16
|
-
|
|
17
|
+
declare const normalizeEmail: (email: string) => string;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { normalizeEmail as t };
|
|
20
|
+
//# sourceMappingURL=normalize-email-BGivsxZI.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize-email-BGivsxZI.d.cts","names":[],"sources":["../src/normalize-email.ts"],"sourcesContent":[],"mappings":";;AAmCA;;;;;;;;;;;;;;cAAa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=/\./g,t=t=>{if(!t.includes(`@`)&&!t.includes(`+`))throw Error(`invalid_email_format`);let n=t.split(`@`).filter(Boolean);if(n.length>1)throw Error(`invalid_email_format`);let[r,i]=n,[a]=r.split(`+`);if(!a)throw Error(`invalid_email_format`);return a=a.replace(e,``),`${a.toLowerCase()}@${i.toLowerCase()}`};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return t}});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region src/normalize-email.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* 1. Lower-cases whole email.
|
|
4
|
+
* 2. Removes dots ".".
|
|
5
|
+
* 3. Remotes name part after "+".
|
|
6
|
+
* 4. Throws if cannot parse the email.
|
|
7
|
+
*
|
|
8
|
+
* For example, this email
|
|
9
|
+
*
|
|
10
|
+
* Mike.Johnson+twitter\@Gmail.com
|
|
11
|
+
*
|
|
12
|
+
* will be normalized to
|
|
13
|
+
*
|
|
14
|
+
* mikejohnson\@gmail.com
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
declare const normalizeEmail: (email: string) => string;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { normalizeEmail as t };
|
|
20
|
+
//# sourceMappingURL=normalize-email-bfhnC3KA.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize-email-bfhnC3KA.d.mts","names":[],"sources":["../src/normalize-email.ts"],"sourcesContent":[],"mappings":";;AAmCA;;;;;;;;;;;;;;cAAa"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=/\./g,t=t=>{if(!t.includes(`@`)&&!t.includes(`+`))throw Error(`invalid_email_format`);let n=t.split(`@`).filter(Boolean);if(n.length>1)throw Error(`invalid_email_format`);let[r,i]=n,[a]=r.split(`+`);if(!a)throw Error(`invalid_email_format`);return a=a.replace(e,``),`${a.toLowerCase()}@${i.toLowerCase()}`};export{t};
|
|
2
|
+
//# sourceMappingURL=normalize-email-us4o_m-8.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize-email-us4o_m-8.mjs","names":[],"sources":["../src/normalize-email.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nconst DOT_REG = /\\./g;\n\n/**\n * 1. Lower-cases whole email.\n * 2. Removes dots \".\".\n * 3. Remotes name part after \"+\".\n * 4. Throws if cannot parse the email.\n *\n * For example, this email\n *\n * Mike.Johnson+twitter\\@Gmail.com\n *\n * will be normalized to\n *\n * mikejohnson\\@gmail.com\n *\n */\nexport const normalizeEmail = (email: string) => {\n if (!email.includes(\"@\") && !email.includes(\"+\")) {\n throw new Error(\"invalid_email_format\");\n }\n\n const split = email.split(\"@\").filter(Boolean);\n if (split.length > 1) {\n throw new Error(\"invalid_email_format\");\n }\n\n const [name, host] = split;\n\n let [beforePlus] = name!.split(\"+\");\n if (!beforePlus) {\n throw new Error(\"invalid_email_format\");\n }\n\n beforePlus = beforePlus.replace(DOT_REG, \"\");\n const result = `${beforePlus.toLowerCase()}@${host!.toLowerCase()}`;\n Number(result);\n\n return result;\n};\n"],"mappings":"AAkBA,MAAM,EAAU,MAiBH,EAAkB,GAAkB,CAC/C,GAAI,CAAC,EAAM,SAAS,IAAI,EAAI,CAAC,EAAM,SAAS,IAAI,CAC9C,MAAU,MAAM,uBAAuB,CAGzC,IAAM,EAAQ,EAAM,MAAM,IAAI,CAAC,OAAO,QAAQ,CAC9C,GAAI,EAAM,OAAS,EACjB,MAAU,MAAM,uBAAuB,CAGzC,GAAM,CAAC,EAAM,GAAQ,EAEjB,CAAC,GAAc,EAAM,MAAM,IAAI,CACnC,GAAI,CAAC,EACH,MAAU,MAAM,uBAAuB,CAOzC,MAJA,GAAa,EAAW,QAAQ,EAAS,GAAG,CAC7B,GAAG,EAAW,aAAa,CAAC,GAAG,EAAM,aAAa"}
|
package/dist/normalize-email.cjs
CHANGED
|
@@ -1,19 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.normalizeEmail = void 0;
|
|
7
|
-
const l = /\./g;
|
|
8
|
-
const normalizeEmail = e => {
|
|
9
|
-
if (!e.includes("@") && !e.includes("+")) throw new Error("invalid_email_format");
|
|
10
|
-
const o = e.split("@").filter(Boolean);
|
|
11
|
-
if (o.length > 1) throw new Error("invalid_email_format");
|
|
12
|
-
const [i, n] = o;
|
|
13
|
-
let [r] = i.split("+");
|
|
14
|
-
if (!r) throw new Error("invalid_email_format");
|
|
15
|
-
r = r.replace(l, "");
|
|
16
|
-
const t = `${r.toLowerCase()}@${n.toLowerCase()}`;
|
|
17
|
-
return Number(t), t;
|
|
18
|
-
};
|
|
19
|
-
exports.normalizeEmail = normalizeEmail;
|
|
1
|
+
const e=require(`./normalize-email-DRezSgOV.cjs`);exports.normalizeEmail=e.t;
|