Search results
81 packages found
Control flow components for solid-js
Pattern matching for JavaScript/TypeScript
Library with alternatives to hard coded switch-case and if-else blocks
React condition manager.
Library to experiment using template literals for creating a case-matching statement which returns the respective values.
A functional switch-case statement (ad hoc polymorphism)
A Vue.js switch/case directive
The rswitch library provides a compact and flexible way to implement switch-like functionality in JavaScript. It allows you to define cases and their corresponding actions using an object literal syntax.
A simple JavaScript-like switch component for React written in TypeScript
`nano-match` is a tiny utility simplifying key-based matching in TypeScript, bringing elegance to your code.
The module provides directives similar to `ngSwitch` but for multiple cases simultaneously. It is supposed to be used in highly dynamic applications based on configs.
A tslint-plugin for rules regarding if/else constructions
Conditional Logic: The Functional Way
Rules for making switch/case expressions for union type values exhaustively checkable at compile time.
Use components to control flow in Astro
- astro
- astro-component
- withastro
- ui
- perf
- performance
- condition
- conditional
- conditionals
- conditions
- component
- else
- case
- control
- View more
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.
A javascript functional approach to switch and if-else statements