Search results
85 packages found
Switchable Promises, This module is an simple implementation of switch and case style statement on a promise chain.
An alternative to vanilla switch
Match.js is a Javascript library like the 'switch' statement but it works as expression
A simple utility that improves JavaScript's built-in "switch" statement.
Switch/Case like React component
Library to experiment using template literals for creating a case-matching statement which returns the respective values.
A functional approach to switches
A node for communicating with Lutron Caseta Pro Hub
An adapter where you can define which function to run
readable nested ternaries
Alternative to JavaScript’s switch statement with a functional twist
A simple function, bringing the power of switch statements to expressions.
## This may negatively impact performance for a react app, as it increases the size of the tree that needs to be diffed/rendered by React, and does not truncate the component tree below it in the same way as a ternary would.
lisp "cond" special form realization for js
The shortest syntax for functional switch-case
Conditional rendering helpers for react
React library for pattern matching and conditional rendering
- react
- typescript
- typed
- match
- case
- switch
- condition
- conditional
- pattern
- pattern matching
- matching
- matched
- matchto
- if
- View more
switch between regexp cases, globs. switches are composeable with each other
Stream condition for switch/case