Search results

68 packages found

Simple function switch.

published 1.0.1 9 years ago
M
Q
P

A small, but fully featured, library that aims to replace `switch` case logic (mainly to aid with Functional Programming), with a simple declarative API for setting up a predefined map of cases, and choosing a result from it based on input.

published 3.0.2 4 years ago
M
Q
P

A tslint-plugin for rules regarding if/else constructions

published 0.1.1 8 years ago
M
Q
P

Tool that switches provided word from camelCase to underscored_case and back

published 1.2.0 7 years ago
M
Q
P

Utility for mapping values to other values or behaviour, a bit like a match statement

published 1.1.0 4 years ago
M
Q
P

A better switch case

published 1.0.0 6 years ago
M
Q
P

Pattern matching for JavaScript/TypeScript

published 0.1.3 8 years ago
M
Q
P

Small utility module for conditional rendering in React

published 0.0.2 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

__How to install:__ - `yarn install brunch-feature-switcher` - `npm i brunch-feature-switcher`

published 1.0.2 6 years ago
M
Q
P

Proper conditional case-when-then statements for JSX

published 0.1.16 2 years ago
M
Q
P

functional switch case alternative

published 1.1.0 6 years ago
M
Q
P

Javascript library for writing, chaining and using conditional statements in a functional way

published 1.0.16 3 years ago
M
Q
P

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

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

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 simple function, bringing the power of switch statements to expressions.

published 1.0.1 2 years ago
M
Q
P

Switch/Case like React component

published 1.0.1 6 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