@sorrell/utilities 1.1.60 → 1.2.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.
Files changed (247) hide show
  1. package/Distribution/PackageExports.Generated.json +122 -0
  2. package/Distribution/Types/Array/Array.Internal.Types.d.cts +43 -0
  3. package/Distribution/Types/Array/Array.Internal.Types.d.cts.map +10 -0
  4. package/Distribution/Types/Array/Array.Internal.Types.d.mts +43 -0
  5. package/Distribution/Types/Array/Array.Internal.Types.d.mts.map +10 -0
  6. package/Distribution/Types/Array/Array.Internal.d.cts +16 -0
  7. package/Distribution/Types/Array/Array.Internal.d.cts.map +10 -0
  8. package/Distribution/Types/Array/Array.Internal.d.mts +16 -0
  9. package/Distribution/Types/Array/Array.Internal.d.mts.map +10 -0
  10. package/Distribution/Types/Array/Array.Types.d.cts +92 -0
  11. package/Distribution/Types/Array/Array.Types.d.cts.map +10 -0
  12. package/Distribution/Types/Array/Array.Types.d.mts +92 -0
  13. package/Distribution/Types/Array/Array.Types.d.mts.map +10 -0
  14. package/Distribution/Types/Array/Array.d.cts +33 -0
  15. package/Distribution/Types/Array/Array.d.cts.map +10 -0
  16. package/Distribution/Types/Array/Array.d.mts +33 -0
  17. package/Distribution/Types/Array/Array.d.mts.map +10 -0
  18. package/Distribution/Types/Array/index.d.cts +9 -0
  19. package/Distribution/Types/Array/index.d.cts.map +10 -0
  20. package/Distribution/Types/Array/index.d.mts +9 -0
  21. package/Distribution/Types/Array/index.d.mts.map +10 -0
  22. package/Distribution/Types/Async/Async.Types.d.cts +150 -0
  23. package/Distribution/Types/Async/Async.Types.d.cts.map +10 -0
  24. package/Distribution/Types/Async/Async.Types.d.mts +150 -0
  25. package/Distribution/Types/Async/Async.Types.d.mts.map +10 -0
  26. package/Distribution/Types/Async/Async.d.cts +145 -0
  27. package/Distribution/Types/Async/Async.d.cts.map +10 -0
  28. package/Distribution/Types/Async/Async.d.mts +145 -0
  29. package/Distribution/Types/Async/Async.d.mts.map +10 -0
  30. package/Distribution/Types/Async/index.d.cts +9 -0
  31. package/Distribution/Types/Async/index.d.cts.map +10 -0
  32. package/Distribution/Types/Async/index.d.mts +9 -0
  33. package/Distribution/Types/Async/index.d.mts.map +10 -0
  34. package/Distribution/Types/Effect/Effect.Types.d.cts +16 -0
  35. package/Distribution/Types/Effect/Effect.Types.d.cts.map +10 -0
  36. package/Distribution/Types/Effect/Effect.Types.d.mts +16 -0
  37. package/Distribution/Types/Effect/Effect.Types.d.mts.map +10 -0
  38. package/Distribution/Types/Effect/Effect.d.cts +8 -0
  39. package/Distribution/Types/Effect/Effect.d.cts.map +10 -0
  40. package/Distribution/Types/Effect/Effect.d.mts +8 -0
  41. package/Distribution/Types/Effect/Effect.d.mts.map +10 -0
  42. package/Distribution/Types/Effect/Index.Effect.d.cts +10 -0
  43. package/Distribution/Types/Effect/Index.Effect.d.cts.map +10 -0
  44. package/Distribution/Types/Effect/Index.Effect.d.mts +10 -0
  45. package/Distribution/Types/Effect/Index.Effect.d.mts.map +10 -0
  46. package/Distribution/Types/Effect/index.d.cts +8 -0
  47. package/Distribution/Types/Effect/index.d.cts.map +10 -0
  48. package/Distribution/Types/Effect/index.d.mts +8 -0
  49. package/Distribution/Types/Effect/index.d.mts.map +10 -0
  50. package/Distribution/Types/FileSystem/FileSystem.Types.d.cts +8 -0
  51. package/Distribution/Types/FileSystem/FileSystem.Types.d.cts.map +10 -0
  52. package/Distribution/Types/FileSystem/FileSystem.Types.d.mts +8 -0
  53. package/Distribution/Types/FileSystem/FileSystem.Types.d.mts.map +10 -0
  54. package/Distribution/Types/FileSystem/FileSystem.d.cts +55 -0
  55. package/Distribution/Types/FileSystem/FileSystem.d.cts.map +10 -0
  56. package/Distribution/Types/FileSystem/FileSystem.d.mts +55 -0
  57. package/Distribution/Types/FileSystem/FileSystem.d.mts.map +10 -0
  58. package/Distribution/Types/FileSystem/FileSystem.d.ts +20 -0
  59. package/Distribution/Types/FileSystem/FileSystem.d.ts.map +1 -1
  60. package/Distribution/Types/FileSystem/index.d.cts +9 -0
  61. package/Distribution/Types/FileSystem/index.d.cts.map +10 -0
  62. package/Distribution/Types/FileSystem/index.d.mts +9 -0
  63. package/Distribution/Types/FileSystem/index.d.mts.map +10 -0
  64. package/Distribution/Types/Functional/Functional.Internal.Types.d.cts +9 -0
  65. package/Distribution/Types/Functional/Functional.Internal.Types.d.cts.map +10 -0
  66. package/Distribution/Types/Functional/Functional.Internal.Types.d.mts +9 -0
  67. package/Distribution/Types/Functional/Functional.Internal.Types.d.mts.map +10 -0
  68. package/Distribution/Types/Functional/Functional.Internal.Types.d.ts +9 -0
  69. package/Distribution/Types/Functional/Functional.Internal.Types.d.ts.map +1 -0
  70. package/Distribution/Types/Functional/Functional.Internal.d.cts +8 -0
  71. package/Distribution/Types/Functional/Functional.Internal.d.cts.map +10 -0
  72. package/Distribution/Types/Functional/Functional.Internal.d.mts +8 -0
  73. package/Distribution/Types/Functional/Functional.Internal.d.mts.map +10 -0
  74. package/Distribution/Types/Functional/Functional.Internal.d.ts +8 -0
  75. package/Distribution/Types/Functional/Functional.Internal.d.ts.map +1 -0
  76. package/Distribution/Types/Functional/Functional.Types.d.cts +28 -0
  77. package/Distribution/Types/Functional/Functional.Types.d.cts.map +10 -0
  78. package/Distribution/Types/Functional/Functional.Types.d.mts +28 -0
  79. package/Distribution/Types/Functional/Functional.Types.d.mts.map +10 -0
  80. package/Distribution/Types/Functional/Functional.d.cts +8 -0
  81. package/Distribution/Types/Functional/Functional.d.cts.map +10 -0
  82. package/Distribution/Types/Functional/Functional.d.mts +8 -0
  83. package/Distribution/Types/Functional/Functional.d.mts.map +10 -0
  84. package/Distribution/Types/Functional/Functional.d.ts.map +1 -1
  85. package/Distribution/Types/Functional/index.d.cts +9 -0
  86. package/Distribution/Types/Functional/index.d.cts.map +10 -0
  87. package/Distribution/Types/Functional/index.d.mts +9 -0
  88. package/Distribution/Types/Functional/index.d.mts.map +10 -0
  89. package/Distribution/Types/Math/Complex.Internal.d.cts +8 -0
  90. package/Distribution/Types/Math/Complex.Internal.d.cts.map +10 -0
  91. package/Distribution/Types/Math/Complex.Internal.d.mts +8 -0
  92. package/Distribution/Types/Math/Complex.Internal.d.mts.map +10 -0
  93. package/Distribution/Types/Math/Complex.Types.d.cts +69 -0
  94. package/Distribution/Types/Math/Complex.Types.d.cts.map +10 -0
  95. package/Distribution/Types/Math/Complex.Types.d.mts +69 -0
  96. package/Distribution/Types/Math/Complex.Types.d.mts.map +10 -0
  97. package/Distribution/Types/Math/Complex.d.cts +63 -0
  98. package/Distribution/Types/Math/Complex.d.cts.map +10 -0
  99. package/Distribution/Types/Math/Complex.d.mts +63 -0
  100. package/Distribution/Types/Math/Complex.d.mts.map +10 -0
  101. package/Distribution/Types/Math/Index.Complex.d.cts +9 -0
  102. package/Distribution/Types/Math/Index.Complex.d.cts.map +10 -0
  103. package/Distribution/Types/Math/Index.Complex.d.mts +9 -0
  104. package/Distribution/Types/Math/Index.Complex.d.mts.map +10 -0
  105. package/Distribution/Types/Math/Index.Experimental.d.cts +10 -0
  106. package/Distribution/Types/Math/Index.Experimental.d.cts.map +10 -0
  107. package/Distribution/Types/Math/Index.Experimental.d.mts +10 -0
  108. package/Distribution/Types/Math/Index.Experimental.d.mts.map +10 -0
  109. package/Distribution/Types/Math/Math.Internal.Types.d.cts +41 -0
  110. package/Distribution/Types/Math/Math.Internal.Types.d.cts.map +10 -0
  111. package/Distribution/Types/Math/Math.Internal.Types.d.mts +41 -0
  112. package/Distribution/Types/Math/Math.Internal.Types.d.mts.map +10 -0
  113. package/Distribution/Types/Math/Math.Types.d.cts +90 -0
  114. package/Distribution/Types/Math/Math.Types.d.cts.map +10 -0
  115. package/Distribution/Types/Math/Math.Types.d.mts +90 -0
  116. package/Distribution/Types/Math/Math.Types.d.mts.map +10 -0
  117. package/Distribution/Types/Math/Math.d.cts +8 -0
  118. package/Distribution/Types/Math/Math.d.cts.map +10 -0
  119. package/Distribution/Types/Math/Math.d.mts +8 -0
  120. package/Distribution/Types/Math/Math.d.mts.map +10 -0
  121. package/Distribution/Types/Math/Vector.d.cts +102 -0
  122. package/Distribution/Types/Math/Vector.d.cts.map +10 -0
  123. package/Distribution/Types/Math/Vector.d.mts +102 -0
  124. package/Distribution/Types/Math/Vector.d.mts.map +10 -0
  125. package/Distribution/Types/Math/index.d.cts +15 -0
  126. package/Distribution/Types/Math/index.d.cts.map +10 -0
  127. package/Distribution/Types/Math/index.d.mts +15 -0
  128. package/Distribution/Types/Math/index.d.mts.map +10 -0
  129. package/Distribution/Types/Miscellaneous/Utility.Internal.d.cts +8 -0
  130. package/Distribution/Types/Miscellaneous/Utility.Internal.d.cts.map +10 -0
  131. package/Distribution/Types/Miscellaneous/Utility.Internal.d.mts +8 -0
  132. package/Distribution/Types/Miscellaneous/Utility.Internal.d.mts.map +10 -0
  133. package/Distribution/Types/Miscellaneous/Utility.Types.d.cts +100 -0
  134. package/Distribution/Types/Miscellaneous/Utility.Types.d.cts.map +10 -0
  135. package/Distribution/Types/Miscellaneous/Utility.Types.d.mts +100 -0
  136. package/Distribution/Types/Miscellaneous/Utility.Types.d.mts.map +10 -0
  137. package/Distribution/Types/Miscellaneous/index.d.cts +8 -0
  138. package/Distribution/Types/Miscellaneous/index.d.cts.map +10 -0
  139. package/Distribution/Types/Miscellaneous/index.d.mts +8 -0
  140. package/Distribution/Types/Miscellaneous/index.d.mts.map +10 -0
  141. package/Distribution/Types/Npm/Index.Effect.d.cts +9 -0
  142. package/Distribution/Types/Npm/Index.Effect.d.cts.map +10 -0
  143. package/Distribution/Types/Npm/Index.Effect.d.mts +9 -0
  144. package/Distribution/Types/Npm/Index.Effect.d.mts.map +10 -0
  145. package/Distribution/Types/Npm/Npm.Effect.Internal.d.cts +17 -0
  146. package/Distribution/Types/Npm/Npm.Effect.Internal.d.cts.map +10 -0
  147. package/Distribution/Types/Npm/Npm.Effect.Internal.d.mts +17 -0
  148. package/Distribution/Types/Npm/Npm.Effect.Internal.d.mts.map +10 -0
  149. package/Distribution/Types/Npm/Npm.Effect.Types.d.cts +12 -0
  150. package/Distribution/Types/Npm/Npm.Effect.Types.d.cts.map +10 -0
  151. package/Distribution/Types/Npm/Npm.Effect.Types.d.mts +12 -0
  152. package/Distribution/Types/Npm/Npm.Effect.Types.d.mts.map +10 -0
  153. package/Distribution/Types/Npm/Npm.Effect.d.cts +92 -0
  154. package/Distribution/Types/Npm/Npm.Effect.d.cts.map +10 -0
  155. package/Distribution/Types/Npm/Npm.Effect.d.mts +92 -0
  156. package/Distribution/Types/Npm/Npm.Effect.d.mts.map +10 -0
  157. package/Distribution/Types/Npm/Npm.Error.d.cts +36 -0
  158. package/Distribution/Types/Npm/Npm.Error.d.cts.map +10 -0
  159. package/Distribution/Types/Npm/Npm.Error.d.mts +36 -0
  160. package/Distribution/Types/Npm/Npm.Error.d.mts.map +10 -0
  161. package/Distribution/Types/Npm/Npm.d.cts +91 -0
  162. package/Distribution/Types/Npm/Npm.d.cts.map +10 -0
  163. package/Distribution/Types/Npm/Npm.d.mts +91 -0
  164. package/Distribution/Types/Npm/Npm.d.mts.map +10 -0
  165. package/Distribution/Types/Npm/index.d.cts +15 -0
  166. package/Distribution/Types/Npm/index.d.cts.map +10 -0
  167. package/Distribution/Types/Npm/index.d.mts +15 -0
  168. package/Distribution/Types/Npm/index.d.mts.map +10 -0
  169. package/Distribution/Types/Path/Path.d.cts +17 -0
  170. package/Distribution/Types/Path/Path.d.cts.map +10 -0
  171. package/Distribution/Types/Path/Path.d.mts +17 -0
  172. package/Distribution/Types/Path/Path.d.mts.map +10 -0
  173. package/Distribution/Types/Path/index.d.cts +8 -0
  174. package/Distribution/Types/Path/index.d.cts.map +10 -0
  175. package/Distribution/Types/Path/index.d.mts +8 -0
  176. package/Distribution/Types/Path/index.d.mts.map +10 -0
  177. package/Distribution/Types/String/String.d.cts +28 -0
  178. package/Distribution/Types/String/String.d.cts.map +10 -0
  179. package/Distribution/Types/String/String.d.mts +28 -0
  180. package/Distribution/Types/String/String.d.mts.map +10 -0
  181. package/Distribution/Types/String/index.d.cts +8 -0
  182. package/Distribution/Types/String/index.d.cts.map +10 -0
  183. package/Distribution/Types/String/index.d.mts +8 -0
  184. package/Distribution/Types/String/index.d.mts.map +10 -0
  185. package/Distribution/Types/index.d.cts +24 -0
  186. package/Distribution/Types/index.d.cts.map +10 -0
  187. package/Distribution/Types/index.d.mts +24 -0
  188. package/Distribution/Types/index.d.mts.map +10 -0
  189. package/Distribution/{CJS/array.js → array.cjs} +1 -1
  190. package/Distribution/{CJS/array.js.map → array.cjs.map} +1 -1
  191. package/Distribution/{ESM/array.js.map → array.js.map} +1 -1
  192. package/Distribution/{CJS/async.js → async.cjs} +1 -1
  193. package/Distribution/{CJS/async.js.map → async.cjs.map} +1 -1
  194. package/Distribution/{ESM/async.js.map → async.js.map} +1 -1
  195. package/Distribution/{CJS/complex.js → complex.cjs} +1 -1
  196. package/Distribution/{CJS/complex.js.map → complex.cjs.map} +1 -1
  197. package/Distribution/{ESM/complex.js.map → complex.js.map} +1 -1
  198. package/Distribution/{CJS/effect.js → effect.cjs} +1 -1
  199. package/Distribution/{CJS/effect.js.map → effect.cjs.map} +1 -1
  200. package/Distribution/{ESM/effect.js.map → effect.js.map} +1 -1
  201. package/Distribution/{CJS/fs.js → fs.cjs} +10 -6
  202. package/Distribution/fs.cjs.map +7 -0
  203. package/Distribution/{ESM/fs.js → fs.js} +9 -5
  204. package/Distribution/fs.js.map +7 -0
  205. package/Distribution/{CJS/functional.js → functional.cjs} +1 -1
  206. package/Distribution/functional.cjs.map +7 -0
  207. package/Distribution/functional.js.map +7 -0
  208. package/Distribution/{CJS/index.js → index.cjs} +15 -11
  209. package/Distribution/index.cjs.map +7 -0
  210. package/Distribution/{ESM/index.js → index.js} +14 -10
  211. package/Distribution/index.js.map +7 -0
  212. package/Distribution/{CJS/math.js → math.cjs} +1 -1
  213. package/Distribution/{CJS/math.js.map → math.cjs.map} +1 -1
  214. package/Distribution/{ESM/math.js.map → math.js.map} +1 -1
  215. package/Distribution/{CJS/misc.js → misc.cjs} +1 -1
  216. package/Distribution/{CJS/misc.js.map → misc.cjs.map} +1 -1
  217. package/Distribution/{ESM/misc.js.map → misc.js.map} +1 -1
  218. package/Distribution/{CJS/npm-effect.js → npm-effect.cjs} +1 -1
  219. package/Distribution/{CJS/npm-effect.js.map → npm-effect.cjs.map} +1 -1
  220. package/Distribution/{ESM/npm-effect.js.map → npm-effect.js.map} +1 -1
  221. package/Distribution/{CJS/npm.js → npm.cjs} +2 -2
  222. package/Distribution/npm.cjs.map +7 -0
  223. package/Distribution/{ESM/npm.js → npm.js} +1 -1
  224. package/Distribution/npm.js.map +7 -0
  225. package/Distribution/{CJS/path.js → path.cjs} +1 -1
  226. package/Distribution/{CJS/path.js.map → path.cjs.map} +1 -1
  227. package/Distribution/{ESM/path.js.map → path.js.map} +1 -1
  228. package/License.md +21 -0
  229. package/ReadMe.md +2 -2
  230. package/package.json +100 -54
  231. package/Distribution/CJS/fs.js.map +0 -7
  232. package/Distribution/CJS/functional.js.map +0 -7
  233. package/Distribution/CJS/index.js.map +0 -7
  234. package/Distribution/CJS/npm.js.map +0 -7
  235. package/Distribution/ESM/fs.js.map +0 -7
  236. package/Distribution/ESM/functional.js.map +0 -7
  237. package/Distribution/ESM/index.js.map +0 -7
  238. package/Distribution/ESM/npm.js.map +0 -7
  239. /package/Distribution/{ESM/array.js → array.js} +0 -0
  240. /package/Distribution/{ESM/async.js → async.js} +0 -0
  241. /package/Distribution/{ESM/complex.js → complex.js} +0 -0
  242. /package/Distribution/{ESM/effect.js → effect.js} +0 -0
  243. /package/Distribution/{ESM/functional.js → functional.js} +0 -0
  244. /package/Distribution/{ESM/math.js → math.js} +0 -0
  245. /package/Distribution/{ESM/misc.js → misc.js} +0 -0
  246. /package/Distribution/{ESM/npm-effect.js → npm-effect.js} +0 -0
  247. /package/Distribution/{ESM/path.js → path.js} +0 -0
@@ -0,0 +1,92 @@
1
+ /**
2
+ * @file Npm.Effect.ts
3
+ * @author Gage Sorrell <gage@sorrell.sh>
4
+ * @copyright (c) 2026 Gage Sorrell
5
+ * @license MIT
6
+ */
7
+ import type { EGetPackageJson, EGetPackageRootDirectory } from "./Npm.Effect.Types.mjs";
8
+ /**
9
+ * Get the `package.json` of the Node.js project in which the
10
+ * given path, or the current working directory, resides.
11
+ *
12
+ * @param Path - The given path from which to look for a root directory.
13
+ *
14
+ * @returns {EGetPackageJson} An Effect that succeeds with the parsed `package.json`, or fails
15
+ * with {@link RootDirectoryNotFoundError} or {@link PackageJsonParseError}.
16
+ *
17
+ * @example
18
+ * Suppose `process.cwd() === "./MyPackage"`,
19
+ * ```typescript
20
+ * Effect.gen(function* ()
21
+ * {
22
+ * const PackageJson: IPackageJson = yield* GetPackageJson();
23
+ * // `PackageJson` <- *The parsed `package.json` of `MyPackage`.*
24
+ * }
25
+ * ```
26
+ */
27
+ export declare function GetPackageJson(Path?: string): EGetPackageJson;
28
+ /**
29
+ * Get the root directory of the Node.js project in which the
30
+ * current working directory resides.
31
+ *
32
+ * @param Path - *(Optional)* The given path from which to look for a root directory.
33
+ *
34
+ * @returns {EGetPackageRootDirectory} An Effect that succeeds with the package root
35
+ * directory, or fails with {@link RootDirectoryNotFoundError}.
36
+ *
37
+ * @example
38
+ * Suppose `process.cwd()` is any one of the following,
39
+ * - `/home/alex/myPackage`,
40
+ * - `/home/alex/myPackage/src/MyModule`,
41
+ * - `/home/alex/myPackage/resource/Images`,
42
+ *
43
+ * then,
44
+ *
45
+ * ```typescript
46
+ * import { Effect } from "effect";
47
+ * const Root: string = await Effect.runPromise(GetPackageRootDirectory());
48
+ * // `Root` <- `"/home/alex/myPackage"`
49
+ * ```
50
+ *
51
+ * @example
52
+ * Suppose `TestPath === "/home/alex/Documents"` is *not* a NodeJS package root
53
+ * (of course, neither are `/home/alex` or `/home`). Then,
54
+ *
55
+ * ```typescript
56
+ * import { Effect } from "effect";
57
+ * const TestPath: string = "/home/alex/Documents";
58
+ * let Root: string | undefined = undefined;
59
+ * try
60
+ * {
61
+ * Root = await Effect.runPromise(
62
+ * GetPackageRootDirectory(TestPath)
63
+ * );
64
+ * }
65
+ * catch (Error: unknown)
66
+ * {
67
+ * // `Error instanceof RootDirectoryNotFound`
68
+ * }
69
+ *
70
+ * // `Root` <- `undefined`
71
+ * ```
72
+ *
73
+ * @example
74
+ * Suppose `process.cwd() === /home/alex/Downloads`, which is *not* a NodeJS package
75
+ * (of course, neither are `/home/alex` or `/home`). Then,
76
+ *
77
+ * ```typescript
78
+ * import { Effect } from "effect";
79
+ * let Root: string | undefined = undefined;
80
+ * try
81
+ * {
82
+ * Root = await Effect.runPromise(GetPackageRootDirectory());
83
+ * }
84
+ * catch (Error: unknown)
85
+ * {
86
+ * // `Error instanceof RootDirectoryNotFound`
87
+ * }
88
+ * // `Root` <- `undefined`
89
+ * ```
90
+ */
91
+ export declare function GetPackageRootDirectory(Path?: string): EGetPackageRootDirectory;
92
+ //# sourceMappingURL=Npm.Effect.d.mts.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "file": "Npm.Effect.d.mts",
4
+ "sourceRoot": "",
5
+ "sources": [
6
+ "../../../Source/Npm/Npm.Effect.ts"
7
+ ],
8
+ "names": [],
9
+ "mappings": "AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AASvF;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,cAAc,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,eAAe,CAyB7D;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,wBAAwB,CA6C/E"
10
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @file Npm.Error.ts
3
+ * @author Gage Sorrell <gage@sorrell.sh>
4
+ * @copyright (c) 2026 Gage Sorrell
5
+ * @license MIT
6
+ */
7
+ declare const PackageJsonParseError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
8
+ readonly _tag: "PackageJsonParseError";
9
+ } & Readonly<A>;
10
+ /**
11
+ * An error describing that {@link GetPackageJson} failed to parse the discovered `package.json` file.
12
+ *
13
+ * @property {string | undefined} Path - The `Path` argument passed to the effect returning this error,
14
+ * if one was given.
15
+ * @property {unknown} Cause - The cause of this error.
16
+ */
17
+ export declare class PackageJsonParseError extends PackageJsonParseError_base<{
18
+ readonly Path: string | undefined;
19
+ readonly Cause: unknown;
20
+ }> {
21
+ }
22
+ declare const RootDirectoryNotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
23
+ readonly _tag: "RootDirectoryNotFound";
24
+ } & Readonly<A>;
25
+ /**
26
+ * An error describing that {@link GetPackageRootDirectory} failed.
27
+ *
28
+ * @property {string | undefined} Path - The `Path` argument passed to the effect returning
29
+ * this error, if one was given.
30
+ */
31
+ export declare class RootDirectoryNotFoundError extends RootDirectoryNotFoundError_base<{
32
+ readonly Path: string | undefined;
33
+ }> {
34
+ }
35
+ export {};
36
+ //# sourceMappingURL=Npm.Error.d.cts.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "file": "Npm.Error.d.cts",
4
+ "sourceRoot": "",
5
+ "sources": [
6
+ "../../../Source/Npm/Npm.Error.ts"
7
+ ],
8
+ "names": [],
9
+ "mappings": "AAAA;;;;;GAKG;;;;AAIH;;;;;;GAMG;AACH,qBAAa,qBACT,SAAQ,2BAA0C;IAC9C,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CAC3B,CAAC;CAAI;;;;AAEV;;;;;GAKG;AACH,qBAAa,0BACT,SAAQ,gCAA0C;IAC9C,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;CAAI"
10
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @file Npm.Error.ts
3
+ * @author Gage Sorrell <gage@sorrell.sh>
4
+ * @copyright (c) 2026 Gage Sorrell
5
+ * @license MIT
6
+ */
7
+ declare const PackageJsonParseError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
8
+ readonly _tag: "PackageJsonParseError";
9
+ } & Readonly<A>;
10
+ /**
11
+ * An error describing that {@link GetPackageJson} failed to parse the discovered `package.json` file.
12
+ *
13
+ * @property {string | undefined} Path - The `Path` argument passed to the effect returning this error,
14
+ * if one was given.
15
+ * @property {unknown} Cause - The cause of this error.
16
+ */
17
+ export declare class PackageJsonParseError extends PackageJsonParseError_base<{
18
+ readonly Path: string | undefined;
19
+ readonly Cause: unknown;
20
+ }> {
21
+ }
22
+ declare const RootDirectoryNotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
23
+ readonly _tag: "RootDirectoryNotFound";
24
+ } & Readonly<A>;
25
+ /**
26
+ * An error describing that {@link GetPackageRootDirectory} failed.
27
+ *
28
+ * @property {string | undefined} Path - The `Path` argument passed to the effect returning
29
+ * this error, if one was given.
30
+ */
31
+ export declare class RootDirectoryNotFoundError extends RootDirectoryNotFoundError_base<{
32
+ readonly Path: string | undefined;
33
+ }> {
34
+ }
35
+ export {};
36
+ //# sourceMappingURL=Npm.Error.d.mts.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "file": "Npm.Error.d.mts",
4
+ "sourceRoot": "",
5
+ "sources": [
6
+ "../../../Source/Npm/Npm.Error.ts"
7
+ ],
8
+ "names": [],
9
+ "mappings": "AAAA;;;;;GAKG;;;;AAIH;;;;;;GAMG;AACH,qBAAa,qBACT,SAAQ,2BAA0C;IAC9C,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CAC3B,CAAC;CAAI;;;;AAEV;;;;;GAKG;AACH,qBAAa,0BACT,SAAQ,gCAA0C;IAC9C,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;CAAI"
10
+ }
@@ -0,0 +1,91 @@
1
+ /**
2
+ * @file Npm.ts
3
+ * @author Gage Sorrell <gage@sorrell.sh>
4
+ * @copyright (c) 2026 Gage Sorrell
5
+ * @license MIT
6
+ */
7
+ import type { IPackageJson } from "package-json-type";
8
+ /**
9
+ * Get the `package.json` of the Node.js project in which the
10
+ * given path, or the current working directory, resides.
11
+ *
12
+ * @param Path - The given path from which to look for a root directory.
13
+ *
14
+ * @throws {RootDirectoryNotFoundError | PackageJsonParseError} An error
15
+ * describing either failure to identify a root directory, or failing to
16
+ * parse the discovered `package.json`.
17
+ *
18
+ * @returns {Promise<IPackageJson>} The {@link IPackageJson} of {@link Path}
19
+ * if provided, otherwise of `process.cwd()`.
20
+ *
21
+ * @example
22
+ * Suppose `process.cwd() === "./MyPackage"`,
23
+ * ```typescript
24
+ * const PackageJson: IPackageJson = await GetPackageJson();
25
+ * // `PackageJson` <- *The parsed `package.json` of `MyPackage`.*
26
+ * ```
27
+ */
28
+ export declare function GetPackageJson(Path?: string): Promise<IPackageJson>;
29
+ /**
30
+ * Get the root directory of the Node.js project in which the
31
+ * current working directory resides.
32
+ *
33
+ * @param Path - The given path from which to look for a root directory.
34
+ *
35
+ * @throws {RootDirectoryNotFoundError} An error iff the root directory
36
+ * of a NodeJS package could not be found.
37
+ *
38
+ * @returns {Promise<string>} The path to the root directory of the package
39
+ * containing {@link Path} if specified, otherwise containing `process.cwd()`.
40
+ *
41
+ * @example
42
+ * Suppose `process.cwd()` is any one of the following,
43
+ * - `/home/alex/myPackage`,
44
+ * - `/home/alex/myPackage/src/MyModule`,
45
+ * - `/home/alex/myPackage/resource/Images`,
46
+ *
47
+ * then,
48
+ *
49
+ * ```typescript
50
+ * const Root: string = await GetPackageRootDirectory();
51
+ * // `Root` <- `"/home/alex/myPackage"`
52
+ * ```
53
+ *
54
+ * @example
55
+ * Suppose `TestPath === "/home/alex/Documents"` is *not* a NodeJS package root
56
+ * (of course, neither are `/home/alex` or `/home`). Then,
57
+ *
58
+ * ```typescript
59
+ * const TestPath: string = "/home/alex/Documents";
60
+ * let Root: string | undefined = undefined;
61
+ * try
62
+ * {
63
+ * Root = await GetPackageRootDirectory(TestPath);
64
+ * }
65
+ * catch (Error: unknown)
66
+ * {
67
+ * // `Error instanceof RootDirectoryNotFound`
68
+ * }
69
+ *
70
+ * // `Root` <- `undefined`
71
+ * ```
72
+ *
73
+ * @example
74
+ * Suppose `process.cwd() === /home/alex/Downloads`, which is *not* a NodeJS package
75
+ * (of course, neither are `/home/alex` or `/home`). Then,
76
+ *
77
+ * ```typescript
78
+ * let Root: string | undefined = undefined;
79
+ * try
80
+ * {
81
+ * Root = await GetPackageRootDirectory();
82
+ * }
83
+ * catch (Error: unknown)
84
+ * {
85
+ * // `Error instanceof RootDirectoryNotFound`
86
+ * }
87
+ * // `Root` <- `undefined`
88
+ * ```
89
+ */
90
+ export declare function GetPackageRootDirectory(Path?: string): Promise<string>;
91
+ //# sourceMappingURL=Npm.d.cts.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "file": "Npm.d.cts",
4
+ "sourceRoot": "",
5
+ "sources": [
6
+ "../../../Source/Npm/Npm.ts"
7
+ ],
8
+ "names": [],
9
+ "mappings": "AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,cAAc,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAoBzE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,wBAAsB,uBAAuB,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAmC5E"
10
+ }
@@ -0,0 +1,91 @@
1
+ /**
2
+ * @file Npm.ts
3
+ * @author Gage Sorrell <gage@sorrell.sh>
4
+ * @copyright (c) 2026 Gage Sorrell
5
+ * @license MIT
6
+ */
7
+ import type { IPackageJson } from "package-json-type";
8
+ /**
9
+ * Get the `package.json` of the Node.js project in which the
10
+ * given path, or the current working directory, resides.
11
+ *
12
+ * @param Path - The given path from which to look for a root directory.
13
+ *
14
+ * @throws {RootDirectoryNotFoundError | PackageJsonParseError} An error
15
+ * describing either failure to identify a root directory, or failing to
16
+ * parse the discovered `package.json`.
17
+ *
18
+ * @returns {Promise<IPackageJson>} The {@link IPackageJson} of {@link Path}
19
+ * if provided, otherwise of `process.cwd()`.
20
+ *
21
+ * @example
22
+ * Suppose `process.cwd() === "./MyPackage"`,
23
+ * ```typescript
24
+ * const PackageJson: IPackageJson = await GetPackageJson();
25
+ * // `PackageJson` <- *The parsed `package.json` of `MyPackage`.*
26
+ * ```
27
+ */
28
+ export declare function GetPackageJson(Path?: string): Promise<IPackageJson>;
29
+ /**
30
+ * Get the root directory of the Node.js project in which the
31
+ * current working directory resides.
32
+ *
33
+ * @param Path - The given path from which to look for a root directory.
34
+ *
35
+ * @throws {RootDirectoryNotFoundError} An error iff the root directory
36
+ * of a NodeJS package could not be found.
37
+ *
38
+ * @returns {Promise<string>} The path to the root directory of the package
39
+ * containing {@link Path} if specified, otherwise containing `process.cwd()`.
40
+ *
41
+ * @example
42
+ * Suppose `process.cwd()` is any one of the following,
43
+ * - `/home/alex/myPackage`,
44
+ * - `/home/alex/myPackage/src/MyModule`,
45
+ * - `/home/alex/myPackage/resource/Images`,
46
+ *
47
+ * then,
48
+ *
49
+ * ```typescript
50
+ * const Root: string = await GetPackageRootDirectory();
51
+ * // `Root` <- `"/home/alex/myPackage"`
52
+ * ```
53
+ *
54
+ * @example
55
+ * Suppose `TestPath === "/home/alex/Documents"` is *not* a NodeJS package root
56
+ * (of course, neither are `/home/alex` or `/home`). Then,
57
+ *
58
+ * ```typescript
59
+ * const TestPath: string = "/home/alex/Documents";
60
+ * let Root: string | undefined = undefined;
61
+ * try
62
+ * {
63
+ * Root = await GetPackageRootDirectory(TestPath);
64
+ * }
65
+ * catch (Error: unknown)
66
+ * {
67
+ * // `Error instanceof RootDirectoryNotFound`
68
+ * }
69
+ *
70
+ * // `Root` <- `undefined`
71
+ * ```
72
+ *
73
+ * @example
74
+ * Suppose `process.cwd() === /home/alex/Downloads`, which is *not* a NodeJS package
75
+ * (of course, neither are `/home/alex` or `/home`). Then,
76
+ *
77
+ * ```typescript
78
+ * let Root: string | undefined = undefined;
79
+ * try
80
+ * {
81
+ * Root = await GetPackageRootDirectory();
82
+ * }
83
+ * catch (Error: unknown)
84
+ * {
85
+ * // `Error instanceof RootDirectoryNotFound`
86
+ * }
87
+ * // `Root` <- `undefined`
88
+ * ```
89
+ */
90
+ export declare function GetPackageRootDirectory(Path?: string): Promise<string>;
91
+ //# sourceMappingURL=Npm.d.mts.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "file": "Npm.d.mts",
4
+ "sourceRoot": "",
5
+ "sources": [
6
+ "../../../Source/Npm/Npm.ts"
7
+ ],
8
+ "names": [],
9
+ "mappings": "AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,cAAc,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAoBzE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,wBAAsB,uBAAuB,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAmC5E"
10
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @file index.ts
3
+ * @author Gage Sorrell <gage@sorrell.sh>
4
+ * @copyright (c) 2026 Gage Sorrell
5
+ * @license MIT
6
+ */
7
+ /**
8
+ * @module Npm
9
+ * Utilities for working with `npm` (NodeJS) packages.
10
+ * Many of these likely work with packages of other NodeJS
11
+ * package managers and adjacent runtimes (*e.g.*, `bun` or `deno`).
12
+ */
13
+ export * from "./Npm.cjs";
14
+ export * from "./Npm.Error.cjs";
15
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "file": "index.d.cts",
4
+ "sourceRoot": "",
5
+ "sources": [
6
+ "../../../Source/Npm/index.ts"
7
+ ],
8
+ "names": [],
9
+ "mappings": "AAAA;;;;;GAKG;AAEH;;;;;GAKG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"
10
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @file index.ts
3
+ * @author Gage Sorrell <gage@sorrell.sh>
4
+ * @copyright (c) 2026 Gage Sorrell
5
+ * @license MIT
6
+ */
7
+ /**
8
+ * @module Npm
9
+ * Utilities for working with `npm` (NodeJS) packages.
10
+ * Many of these likely work with packages of other NodeJS
11
+ * package managers and adjacent runtimes (*e.g.*, `bun` or `deno`).
12
+ */
13
+ export * from "./Npm.mjs";
14
+ export * from "./Npm.Error.mjs";
15
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "file": "index.d.mts",
4
+ "sourceRoot": "",
5
+ "sources": [
6
+ "../../../Source/Npm/index.ts"
7
+ ],
8
+ "names": [],
9
+ "mappings": "AAAA;;;;;GAKG;AAEH;;;;;GAKG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"
10
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @file Path.ts
3
+ * @author Gage Sorrell <gage@sorrell.sh>
4
+ * @copyright (c) 2026 Gage Sorrell
5
+ * @license MIT
6
+ */
7
+ import { Operator } from "tsover-runtime";
8
+ export declare class FPath {
9
+ readonly Raw: string;
10
+ toString(): string;
11
+ constructor(String: string);
12
+ constructor(Other: FPath);
13
+ [Operator.slash](A: FPath, B: FPath): FPath;
14
+ [Operator.slash](A: string, B: FPath): FPath;
15
+ [Operator.slash](A: FPath, B: string): FPath;
16
+ }
17
+ //# sourceMappingURL=Path.d.cts.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "file": "Path.d.cts",
4
+ "sourceRoot": "",
5
+ "sources": [
6
+ "../../../Source/Path/Path.ts"
7
+ ],
8
+ "names": [],
9
+ "mappings": "AAAA;;;;;GAKG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,qBAAa,KAAK;IAEd,SAAgB,GAAG,EAAE,MAAM,CAAC;IAErB,QAAQ,IAAI,MAAM;gBAKN,MAAM,EAAE,MAAM;gBACd,KAAK,EAAE,KAAK;IAa/B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,GAAG,KAAK;IAC3C,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,GAAG,KAAK;IAC5C,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,GAAG,KAAK;CAgB/C"
10
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @file Path.ts
3
+ * @author Gage Sorrell <gage@sorrell.sh>
4
+ * @copyright (c) 2026 Gage Sorrell
5
+ * @license MIT
6
+ */
7
+ import { Operator } from "tsover-runtime";
8
+ export declare class FPath {
9
+ readonly Raw: string;
10
+ toString(): string;
11
+ constructor(String: string);
12
+ constructor(Other: FPath);
13
+ [Operator.slash](A: FPath, B: FPath): FPath;
14
+ [Operator.slash](A: string, B: FPath): FPath;
15
+ [Operator.slash](A: FPath, B: string): FPath;
16
+ }
17
+ //# sourceMappingURL=Path.d.mts.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "file": "Path.d.mts",
4
+ "sourceRoot": "",
5
+ "sources": [
6
+ "../../../Source/Path/Path.ts"
7
+ ],
8
+ "names": [],
9
+ "mappings": "AAAA;;;;;GAKG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,qBAAa,KAAK;IAEd,SAAgB,GAAG,EAAE,MAAM,CAAC;IAErB,QAAQ,IAAI,MAAM;gBAKN,MAAM,EAAE,MAAM;gBACd,KAAK,EAAE,KAAK;IAa/B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,GAAG,KAAK;IAC3C,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,GAAG,KAAK;IAC5C,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,GAAG,KAAK;CAgB/C"
10
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @file index.ts
3
+ * @author Gage Sorrell <gage@sorrell.sh>
4
+ * @copyright (c) 2026 Gage Sorrell
5
+ * @license MIT
6
+ */
7
+ export * from "./Path.cjs";
8
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "file": "index.d.cts",
4
+ "sourceRoot": "",
5
+ "sources": [
6
+ "../../../Source/Path/index.ts"
7
+ ],
8
+ "names": [],
9
+ "mappings": "AAAA;;;;;GAKG;AAEH,cAAc,WAAW,CAAC"
10
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @file index.ts
3
+ * @author Gage Sorrell <gage@sorrell.sh>
4
+ * @copyright (c) 2026 Gage Sorrell
5
+ * @license MIT
6
+ */
7
+ export * from "./Path.mjs";
8
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "file": "index.d.mts",
4
+ "sourceRoot": "",
5
+ "sources": [
6
+ "../../../Source/Path/index.ts"
7
+ ],
8
+ "names": [],
9
+ "mappings": "AAAA;;;;;GAKG;AAEH,cAAc,WAAW,CAAC"
10
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * @file String.ts
3
+ * @author Gage Sorrell <gage@sorrell.sh>
4
+ * @copyright (c) 2026 Gage Sorrell
5
+ * @license MIT
6
+ */
7
+ /**
8
+ * @module String
9
+ * Functions for manipulating strings.
10
+ */
11
+ /**
12
+ * @param In - The string that you wish to test.
13
+ * @returns Whether the given string contains *only* (Latin alphabet) letters.
14
+ */
15
+ export declare function IsLetters(In: string): boolean;
16
+ /**
17
+ * @remarks *(This is an alias for `IsOnlyLetters`).*
18
+ *
19
+ * @param In - The string that you wish to test.
20
+ * @returns Whether the given string contains *only* (Latin alphabet) letters.
21
+ */
22
+ export declare function IsAlpha(In: string): boolean;
23
+ /**
24
+ * @param In - The string that you wish to test.
25
+ * @returns Whether the given string contains *only* numeric digits.
26
+ */
27
+ export declare function IsNumeric(In: string): boolean;
28
+ //# sourceMappingURL=String.d.cts.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "file": "String.d.cts",
4
+ "sourceRoot": "",
5
+ "sources": [
6
+ "../../../Source/String/String.ts"
7
+ ],
8
+ "names": [],
9
+ "mappings": "AAAA;;;;;GAKG;AAEH;;;GAGG;AAEH;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG7C;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG3C;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG7C"
10
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * @file String.ts
3
+ * @author Gage Sorrell <gage@sorrell.sh>
4
+ * @copyright (c) 2026 Gage Sorrell
5
+ * @license MIT
6
+ */
7
+ /**
8
+ * @module String
9
+ * Functions for manipulating strings.
10
+ */
11
+ /**
12
+ * @param In - The string that you wish to test.
13
+ * @returns Whether the given string contains *only* (Latin alphabet) letters.
14
+ */
15
+ export declare function IsLetters(In: string): boolean;
16
+ /**
17
+ * @remarks *(This is an alias for `IsOnlyLetters`).*
18
+ *
19
+ * @param In - The string that you wish to test.
20
+ * @returns Whether the given string contains *only* (Latin alphabet) letters.
21
+ */
22
+ export declare function IsAlpha(In: string): boolean;
23
+ /**
24
+ * @param In - The string that you wish to test.
25
+ * @returns Whether the given string contains *only* numeric digits.
26
+ */
27
+ export declare function IsNumeric(In: string): boolean;
28
+ //# sourceMappingURL=String.d.mts.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "file": "String.d.mts",
4
+ "sourceRoot": "",
5
+ "sources": [
6
+ "../../../Source/String/String.ts"
7
+ ],
8
+ "names": [],
9
+ "mappings": "AAAA;;;;;GAKG;AAEH;;;GAGG;AAEH;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG7C;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG3C;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG7C"
10
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @file index.ts
3
+ * @author Gage Sorrell <gage@sorrell.sh>
4
+ * @copyright (c) 2026 Gage Sorrell
5
+ * @license MIT
6
+ */
7
+ export * from "./String.cjs";
8
+ //# sourceMappingURL=index.d.cts.map