@ooneex/utils 0.0.6 → 0.0.8

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.
Files changed (70) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +539 -203
  3. package/dist/index.d.ts +23 -16
  4. package/dist/index.js +3 -1
  5. package/dist/index.js.map +24 -0
  6. package/dist/ooneex-utils-0.0.8.tgz +0 -0
  7. package/package.json +23 -13
  8. package/dist/capitalizeWord.d.ts +0 -2
  9. package/dist/capitalizeWord.d.ts.map +0 -1
  10. package/dist/dataURLtoFile.d.ts +0 -2
  11. package/dist/dataURLtoFile.d.ts.map +0 -1
  12. package/dist/formatRelativeNumber.d.ts +0 -5
  13. package/dist/formatRelativeNumber.d.ts.map +0 -1
  14. package/dist/index.d.ts.map +0 -1
  15. package/dist/millisecondsToHMS.d.ts +0 -2
  16. package/dist/millisecondsToHMS.d.ts.map +0 -1
  17. package/dist/parseEnvVars.d.ts +0 -2
  18. package/dist/parseEnvVars.d.ts.map +0 -1
  19. package/dist/parseString.d.ts +0 -2
  20. package/dist/parseString.d.ts.map +0 -1
  21. package/dist/random.d.ts +0 -6
  22. package/dist/random.d.ts.map +0 -1
  23. package/dist/secondsToHMS.d.ts +0 -2
  24. package/dist/secondsToHMS.d.ts.map +0 -1
  25. package/dist/secondsToMS.d.ts +0 -2
  26. package/dist/secondsToMS.d.ts.map +0 -1
  27. package/dist/sleep.d.ts +0 -2
  28. package/dist/sleep.d.ts.map +0 -1
  29. package/dist/splitToWords.d.ts +0 -2
  30. package/dist/splitToWords.d.ts.map +0 -1
  31. package/dist/toCamelCase.d.ts +0 -2
  32. package/dist/toCamelCase.d.ts.map +0 -1
  33. package/dist/toKebabCase.d.ts +0 -2
  34. package/dist/toKebabCase.d.ts.map +0 -1
  35. package/dist/toPascalCase.d.ts +0 -2
  36. package/dist/toPascalCase.d.ts.map +0 -1
  37. package/dist/trim.d.ts +0 -2
  38. package/dist/trim.d.ts.map +0 -1
  39. package/src/capitalizeWord.ts +0 -3
  40. package/src/dataURLtoFile.ts +0 -12
  41. package/src/formatRelativeNumber.ts +0 -7
  42. package/src/index.ts +0 -15
  43. package/src/millisecondsToHMS.ts +0 -16
  44. package/src/parseEnvVars.ts +0 -14
  45. package/src/parseString.ts +0 -47
  46. package/src/random.ts +0 -13
  47. package/src/secondsToHMS.ts +0 -16
  48. package/src/secondsToMS.ts +0 -5
  49. package/src/sleep.ts +0 -3
  50. package/src/splitToWords.ts +0 -14
  51. package/src/toCamelCase.ts +0 -8
  52. package/src/toKebabCase.ts +0 -6
  53. package/src/toPascalCase.ts +0 -7
  54. package/src/trim.ts +0 -8
  55. package/tests/capitalizeWord.spec.ts +0 -163
  56. package/tests/dataURLtoFile.spec.ts +0 -472
  57. package/tests/formatRelativeNumber.spec.ts +0 -303
  58. package/tests/millisecondsToHMS.spec.ts +0 -209
  59. package/tests/parseEnvVars.spec.ts +0 -468
  60. package/tests/parseString.spec.ts +0 -377
  61. package/tests/random.spec.ts +0 -422
  62. package/tests/secondsToHMS.spec.ts +0 -341
  63. package/tests/secondsToMS.spec.ts +0 -467
  64. package/tests/splitToWords.spec.ts +0 -359
  65. package/tests/toCamelCase.spec.ts +0 -526
  66. package/tests/toKebabCase.spec.ts +0 -664
  67. package/tests/toPascalCase.spec.ts +0 -721
  68. package/tests/trim.spec.ts +0 -486
  69. package/tsconfig.build.json +0 -14
  70. package/tsconfig.json +0 -11
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Ooneex
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.