Search results
43 packages found
Rules for properly handling switch statements, including ensuring that appropriate exhaustive case handling.
Enforce that case labels in switch statements are sorted
This package provides React components that emulate switch-case behavior for conditional rendering in React applications.
A functional and declarative alternative to JavaScript's native switch statement.
Render components conditionally for react
- react-condition
- if
- if-else
- for
- switch
- while
- do-while
- while-do
- map-iterator
- set-iterator
- object-iterator
- condition
- condition-render
- control-statement
A functional alternative to the switch statement
A simple alternative to the switch statement for matching strings and returning values
`modern-errors` plugin to execute class-specific logic
- catch
- class
- classes
- errors
- inheritance
- instanceof
- javascript
- library
- mapping
- message
- modern-errors
- modern-errors-plugin
- nodejs
- plugins
- View more
a better functional javascript replacement for if statement and switch
- if statement
- statement branching
- ternary operator
- function delagation
- switch
- switch operator
- functional javascript
- selector
- prototype chaining
- array
javascript implementation of match statement
ESLint rule for disallow using boolean literals as switch statement arguments
Switchable Promises, This module is an simple implementation of switch and case style statement on a promise chain.
A flexible and readable switch statement replacement library for JavaScript
Enforce Allman-style braces for switch case statements.
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)
Create inline conditional statements
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 semantic replacement for the switch statement
The switch statement alternative