Add typescript and update docs
Release Notes for @smakss/password-generator v2.0.0 π
We're excited to roll out the latest version of the @smakss/password-generator
package! π
This release includes enhancements and bug fixes that solidify the library's functionality and streamline the user experience. Here's what's new:
Features β¨
- TypeScript Refactor: The entire codebase has been migrated to TypeScript, offering improved type safety and developer experience. π οΈ
- Simplified API: We've simplified the password generation function, making it even easier to use with fewer lines of code. π
- Random Length Option: Passwords now have a default random length between 1 and 20 when the
length
parameter isn't specified, adding an extra layer of Randomness! π
Bug Fixes π
- Prettier Integration: Resolved conflicts between ESLint and Prettier, ensuring a smoother development process and cleaner code formatting. β
- DX Tool Glitch: Fixed an issue where the developer experience tools incorrectly added a trailing comma, leading to linting errors. π οΈ
Documentation π
- Updated README: The documentation has been thoroughly updated to reflect the recent migration to TypeScript and API changes. π
- Enhanced Examples: We've added new examples to showcase the usage of the library with its current feature set. π
General π
- Code Clean-up: We've gone through the internals with a fine-tooth comb to remove any redundant code, resulting in a leaner package. π§Ή
- Improved Randomness: Enhanced the random generator function to ensure even more unpredictable and secure passwords. π²
As always, we recommend testing the new version in your development environment before deploying it to production. π§ͺ