Search results

85 packages found

Switchable Promises, This module is an simple implementation of switch and case style statement on a promise chain.

published 1.0.4 5 years ago
M
Q
P

An alternative to vanilla switch

published 1.3.8 7 years ago
M
Q
P

Match.js is a Javascript library like the 'switch' statement but it works as expression

published 1.0.1 3 years ago
M
Q
P

A simple utility that improves JavaScript's built-in "switch" statement.

published 1.0.7 3 years ago
M
Q
P

Switch/Case like React component

published 1.0.1 6 years ago
M
Q
P

Library to experiment using template literals for creating a case-matching statement which returns the respective values.

published 0.0.2 7 years ago
M
Q
P

React switch case component

published 1.0.1 7 years ago
M
Q
P

A functional approach to switches

published 0.0.7 2 years ago
M
Q
P

A node for communicating with Lutron Caseta Pro Hub

published 1.2.0 4 years ago
M
Q
P

An adapter where you can define which function to run

published 1.0.1 3 years ago
M
Q
P

readable nested ternaries

published 1.0.1 4 years ago
M
Q
P

Alternative to JavaScript’s switch statement with a functional twist

published 0.0.5 2 years ago
M
Q
P

A simple function, bringing the power of switch statements to expressions.

published 1.0.1 2 years ago
M
Q
P

## 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.

published 0.0.24 3 years ago
M
Q
P

lisp "cond" special form realization for js

published 0.0.1 8 years ago
M
Q
P

The shortest syntax for functional switch-case

published 0.2.0 6 years ago
M
Q
P

Conditional rendering helpers for react

published 0.0.6 3 years ago
M
Q
P

React library for pattern matching and conditional rendering

published 0.1.0 4 years ago
M
Q
P

switch between regexp cases, globs. switches are composeable with each other

published 1.0.0 8 years ago
M
Q
P

Stream condition for switch/case

published 0.1.3 9 years ago
M
Q
P