@stacksjs/strings 0.61.20 → 0.61.21

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/index.js CHANGED
@@ -97,6 +97,11 @@ __export(exports_string, {
97
97
  return noCase;
98
98
  }
99
99
  },
100
+ lowercase: () => {
101
+ {
102
+ return lowercase;
103
+ }
104
+ },
100
105
  kebabCase: () => {
101
106
  {
102
107
  return kebabCase;
@@ -231,6 +236,9 @@ var urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzr
231
236
  function capitalize(str) {
232
237
  return str[0] ? str[0].toUpperCase() + str.slice(1).toLowerCase() : "";
233
238
  }
239
+ function lowercase(str) {
240
+ return str.toLowerCase();
241
+ }
234
242
  import {
235
243
  camelCase,
236
244
  capitalCase,
@@ -377,6 +385,7 @@ export {
377
385
  pascalCase,
378
386
  kebabCase2 as paramCase,
379
387
  noCase,
388
+ lowercase,
380
389
  kebabCase,
381
390
  isSingular2 as isSingular,
382
391
  isPlural2 as isPlural,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/strings",
3
3
  "type": "module",
4
- "version": "0.61.20",
4
+ "version": "0.61.21",
5
5
  "description": "The Stacks string utilities.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
package/src/case.ts CHANGED
@@ -10,6 +10,10 @@ export function capitalize(str: string): string {
10
10
  return str[0] ? str[0].toUpperCase() + str.slice(1).toLowerCase() : ''
11
11
  }
12
12
 
13
+ export function lowercase(str: string): string {
14
+ return str.toLowerCase()
15
+ }
16
+
13
17
  export {
14
18
  camelCase,
15
19
  capitalCase,