Oussama Moussaoui
Oussama Moussaoui
### Description of change - I fixed the description of the `url` property, in documentation & comments - I fixed a description typo "severs" -> "servers" ### Pull-Request Checklist -...
- Simplify the [checking of properties](https://github.com/Maheshkumar-Kakade/otp-generator/blob/master/index.js#L25C1-L28C135) in `generateOptions`. - Remove extra check: I guess checking if `generateOptions.digits === true` [here](https://github.com/Maheshkumar-Kakade/otp-generator/blob/d9a5774e446242bc27f0ba88d1428fb7db685176/index.js#L37) is unecessary (it will always be true if the selected...
## Description Add `IsDuration` decorator for checking duration strings (e.g. "30 Days", "1 week", "10s"). It is designed to match the format of [ms](https://github.com/vercel/ms), since it's widely used among libraries...
### Description I would like to have an `IsDurationString` decorator that validates duration strings ("_1 Day_", "_2 weeks_", "_7 hrs_"...) from the [ms](https://github.com/vercel/ms) package, exactly the [ms.StringValue ](https://github.com/vercel/ms/blob/8b5923d1d86c84a9f6aba8022d416dcf2361aa8d/src/index.ts#L44) type. An...