Frontmatter
| id | 8570 |
| title | Enhance Neo.mjs JSDoc to explicitly mention core/Util.mjs augmentation |
| state | Closed |
| labels | documentationenhancementai |
| assignees | tobiu |
| createdAt | Jan 12, 2026, 2:50 AM |
| updatedAt | Jan 12, 2026, 2:55 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8570 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 12, 2026, 2:55 AM |
Enhance Neo.mjs JSDoc to explicitly mention core/Util.mjs augmentation

tobiu
Jan 12, 2026, 2:54 AM
Input from Gemini 3 Pro:
✦ I have updated the
src/Neo.mjstop-level JSDoc.
- Added an explicit note about the
Neonamespace being augmented by core modules (Util,Compare).- Clarified that importing
src/core/_export.mjs(or specific modules) is often required to use these augmented methods.- Added the
@borrowstags forNeo.util.Loggermethods (error,info,log,logError,warn).Closing as completed.
tobiu closed this issue on Jan 12, 2026, 2:55 AM
tobiu assigned to @tobiu on Jan 12, 2026, 2:55 AM
src/core/Util.mjsaugments the globalNeosingleton with utility methods (e.g.,Neo.isArray,Neo.isObject) usingNeo.applyFromNs. This behavior is not currently documented in the top-level JSDoc ofsrc/Neo.mjs.Goal: Update the JSDoc in
src/Neo.mjsto explicitly state that theNeonamespace is enhanced bysrc/core/Util.mjsand lists the key methods provided. This ensures that AI agents (readingNeo.mjson startup) and developers understand where these global utilities come from.Changes:
@summaryor main description ofsrc/Neo.mjs.Neo.core.Utilaugmentation.@borrowstags are accurate and reflective of this relationship.