Search results
105 packages found
Little util function for simpler extracting Boolean values from ENV-variables in Node.js, i.e. true values (true, TRUE, 1) vs. false values (false, FALSE, 0).
The missing parseBool function we all secretly want
Convert any value to boolean true or false
it converts a given string value to a boolean value. It handles various cases such as 'true', 'false', 'yes', 'no', '1', '0', null, and undefined. It uses a switch statement with case-insensitive comparisons to determine the boolean value. If none of the
A very simple function for outputting text in true color on terminals that support it (like iTerm 2 nightly or the terminals [on this list](https://gist.github.com/XVilka/8346728)).
chained logical conditions: and, or, not, xor
return true or false
formkit-builder is a powerful Vue component package designed to streamline form creation and API interaction in Vue.js projects. With formkit-builder, developers can easily generate dynamic forms for data creation and updating, simplifying the process of
Converts a string or number like boolean to true / false of type boolean.
Is this value not a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Evaluate string if "true" or "false".
a prettier plugin to format html 'true' value attribute
Validates if a value is a boolean.
Triggers events based on the truthiness of predicate methods
A simple module to change "true" to "Yes" and "false" to "No"
converting value of true to 1, false to 0, and otherwise
Simple API for managing options in JavaScript applications.
- add
- boolean
- cache
- config
- configuration
- default
- defaults
- define
- disable
- disabled
- emit
- enable
- enabled
- event
- View more