|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [Unreleased] |
| 9 | + |
| 10 | +## [0.1.0] - 2025-08-31 |
| 11 | + |
| 12 | +### Added |
| 13 | +- Initial release with 15 essential string utilities |
| 14 | +- `slugify` - Convert strings to URL-safe slugs |
| 15 | +- `truncate` - Truncate strings with ellipsis |
| 16 | +- `capitalize` - Capitalize first letter |
| 17 | +- `camelCase` - Convert to camelCase |
| 18 | +- `snakeCase` - Convert to snake_case |
| 19 | +- `kebabCase` - Convert to kebab-case |
| 20 | +- `pascalCase` - Convert to PascalCase |
| 21 | +- `stripHtml` - Remove HTML tags from strings |
| 22 | +- `escapeHtml` - Escape HTML special characters |
| 23 | +- `randomString` - Generate random strings |
| 24 | +- `hashString` - Simple string hashing |
| 25 | +- `reverse` - Reverse string characters |
| 26 | +- `isEmail` - Email validation |
| 27 | +- `isUrl` - URL validation |
| 28 | +- `wordCount` - Count words in text |
| 29 | +- Full TypeScript support with type definitions |
| 30 | +- Dual ESM/CJS builds for maximum compatibility |
| 31 | +- Tree-shakeable exports for optimal bundle size |
| 32 | +- Zero runtime dependencies |
| 33 | +- Comprehensive test suite with 202 tests |
| 34 | +- Detailed JSDoc documentation for all functions |
| 35 | + |
| 36 | +### Technical Details |
| 37 | +- Built with TypeScript 5.9 |
| 38 | +- Supports Node.js 18+ |
| 39 | +- Bundle size < 1KB (minified + gzipped) |
| 40 | +- 100% test coverage for utility functions |
| 41 | +- Modern build tooling with tsup and Vitest |
| 42 | + |
| 43 | +[0.1.0]: https://github.com/Zheruel/nano-string-utils/releases/tag/v0.1.0 |
0 commit comments