No description
This commit adds ES module versions of fundamental Ox utilities:
- Array utilities (api, compact, unique, zip, etc.)
- String utilities (capitalize, clean, truncate, wordwrap, etc.)
- Math utilities (trig functions, geographic calculations, etc.)
- Object utilities (clone, serialize, keys/values, etc.)
- Function utilities (cache, debounce, throttle, memoize, etc.)
- Constants (math, time, colors, HTTP status codes)
- Polyfills for older browser compatibility
All modules include proper imports/exports and maintain the same API
as the original implementations. Added comprehensive test coverage with
31 tests passing.
Next steps: Convert remaining core modules, set up build pipeline,
and test backward compatibility with existing examples.
🤖 Generated with AI assistance
|
||
|---|---|---|
| dev | ||
| examples | ||
| min | ||
| readme | ||
| scripts | ||
| source | ||
| src/ox | ||
| test | ||
| tools | ||
| .editorconfig | ||
| .gitignore | ||
| CLAUDE.md | ||
| ES_MODULE_MIGRATION_PLAN.md | ||
| index.css | ||
| index.html | ||
| index.js | ||
| index.json | ||
| package-lock.json | ||
| package.json | ||
| vite.config.js | ||
| vitest.config.js | ||