Skip to content

Feat: global config and additional utilities#2

Merged
cool-Dev-master merged 2 commits into
mainfrom
feat-global-config-and-additional-utilities
Jul 10, 2026
Merged

Feat: global config and additional utilities#2
cool-Dev-master merged 2 commits into
mainfrom
feat-global-config-and-additional-utilities

Conversation

@cool-Dev-master

Copy link
Copy Markdown
Owner
  • Global Configuration System: Adds defaultConfig(), getConfig(), and resetConfig() to configure formatting and error handling globally.
  • New Utility APIs: Introduces sumBytes(), sortBytes(), isEqualBytes(), isValidByte(), and detectUnit() for easier collection manipulation.
  • Graceful Error Handling: Centralizes error handling so utilities return fallbacks (0, "", or empty stats) rather than throwing when throwOnError is false.
  • Automated CI/CD: Adds a GitHub Actions workflow to run tests, verify builds, and automatically publish to npm when merging version updates to main.

@cool-Dev-master cool-Dev-master self-assigned this Jul 10, 2026
@cool-Dev-master cool-Dev-master added the enhancement New feature or request label Jul 10, 2026
@cool-Dev-master
cool-Dev-master merged commit 2d3fbcb into main Jul 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant