boolean-picker

Returns a copy of an object with boolean-like non-boolean values, e.g. 'yes', 'no', 'ok', 1, converted to booleans. Use a nested whitelist of specified keys-to-convert to limit conversion-to-boolean to those keys.

node-boolify

This package is use for Validating whether variable is boolean or not and converting boolean variable to javascript boolean.