Skip to content

Commit b49527e

Browse files
committed
docs(types): align module descriptions
1 parent e6e070b commit b49527e

17 files changed

Lines changed: 35 additions & 37 deletions

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,25 @@ luarocks install mods
4747
4848
## Modules
4949

50-
| Module | Description |
51-
| -------------- | ------------------------------------------------------------------- |
52-
| [`fs`] | Filesystem I/O and metadata operations. |
53-
| [`is`] | Type predicates for Lua values and filesystem path types. |
54-
| [`keyword`] | Lua keyword helpers. |
55-
| [`List`] | A list class with common sequence operations. |
56-
| [`ntpath`] | Lexical path operations for Windows/NT-style paths. |
57-
| [`operator`] | Operator helpers as functions. |
58-
| [`path`] | Generic cross-platform path API. |
59-
| [`posixpath`] | Lexical path operations for POSIX-style paths. |
60-
| [`repr`] | Render any Lua value as a readable string. |
61-
| [`runtime`] | Exposes Lua runtime metadata and version compatibility flags. |
62-
| [`Set`] | A set class with common operations on unique values. |
63-
| [`str`] | String utility helpers modeled after Python's `str`. |
64-
| [`stringcase`] | String case conversion helpers. |
65-
| [`tbl`] | Utility functions for working with Lua tables. |
66-
| [`template`] | Interpolate string placeholders of the form `{{...}}`. |
67-
| [`utils`] | Small shared utility helpers used by modules in this library. |
68-
| [`validate`] | Validation checks for values and filesystem path types. |
50+
| Module | Description |
51+
| -------------- | ------------------------------------------------------------- |
52+
| [`fs`] | Filesystem I/O, metadata, and filesystem path operations. |
53+
| [`is`] | Type predicates for Lua values and filesystem path types. |
54+
| [`keyword`] | Helpers for Lua keywords and identifiers. |
55+
| [`List`] | A list class for creating, transforming, and querying sequences of values. |
56+
| [`ntpath`] | Windows/NT-style path operations. |
57+
| [`operator`] | Lua operators exposed as functions. |
58+
| [`path`] | Cross-platform path operations with host-platform semantics. |
59+
| [`posixpath`] | POSIX-style path operations. |
60+
| [`repr`] | Readable string rendering for Lua values. |
61+
| [`runtime`] | Lua runtime metadata and version compatibility flags. |
62+
| [`Set`] | A set class for creating, combining, and querying unique values. |
63+
| [`str`] | String operations for searching, splitting, trimming, and formatting text. |
64+
| [`stringcase`] | String case conversion and word splitting. |
65+
| [`tbl`] | Table operations for querying, copying, merging, and transforming tables. |
66+
| [`template`] | String template rendering with `{{...}}` placeholders. |
67+
| [`utils`] | Shared utility helpers used across the Mods library. |
68+
| [`validate`] | Validation helpers for Lua values and filesystem path types. |
6969

7070
> [!NOTE]
7171
>

types/List.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---@meta mods.List
22

33
---
4-
---A list class providing common operations to create,
5-
---modify, and query sequences of values.
4+
---A list class for creating, transforming, and querying sequences of values.
65
---
76
---## Usage
87
---

types/Set.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---@meta mods.Set
22

33
---
4-
---A set class providing common operations to create, modify, and query
5-
---collections of unique values.
4+
---A set class for creating, combining, and querying unique values.
65
---
76
---## Usage
87
---

types/fs.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---@meta mods.fs
22

33
---
4-
---Filesystem, environment, and cwd-dependent path operations.
4+
---Filesystem I/O, metadata, and filesystem path operations.
55
---
66
---## Usage
77
---

types/keyword.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---@meta mods.keyword
22

33
---
4-
---Lua keyword helpers.
4+
---Helpers for Lua keywords and identifiers.
55
---
66
---## Usage
77
---

types/ntpath.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---@meta mods.ntpath
22

3-
---Path operations for Windows/NT-style paths.
3+
---Windows/NT-style path operations.
44
---
55
--->💡Python `ntpath`-style behavior, ported to Lua.
66
---

types/operator.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---@meta mods.operator
22

33
---
4-
---Operator helpers as functions.
4+
---Lua operators exposed as functions.
55
---
66
---## Usage
77
---

types/path.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---@meta mods.path
22

33
---
4-
---Generic cross-platform path API with host-platform semantics.
4+
---Cross-platform path operations with host-platform semantics.
55
---
66
---## Usage
77
---

types/posixpath.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---@meta mods.posixpath
22

33
---
4-
---Path operations for POSIX-style paths.
4+
---POSIX-style path operations.
55
---
66
--->💡 Python `posixpath`-style behavior, ported to Lua.
77
---

types/repr.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---@meta mods.repr
22
---
3-
---Render any Lua value as a readable string.
3+
---Readable string rendering for Lua values.
44
---
55
---## Usage
66
---

0 commit comments

Comments
 (0)