oddguard

Utility functions to check if a value is an odd integer within JavaScript's safe range, and to validate whether a value (number or string) is a finite number for input parsing, regex matches, and user validation.

Browse on unpkg