Search results
100 packages found
Chainable functions for all kind of conditions
[Gulp plugin] Conditional task with "if" callback and "else" callback (optional): gulp.src(source).pipe( ifElse(condition, ifCallback, elseCallback) )
Cutie extension for work with if-else statements.
lightweight tool for conditionally rendering React component
Get Or Else in Javascript ES5
Serves local files from the server unto the client in the form of a Promise.
PostCSS plugin that enables @if statements in your CSS
Use if-then-else in promise chains
Typescript if-else support at the type level
A tiny library that abstracts away logical operators with the intention of improving code readability.
ESLint custom rules by Open Reach Tech.
Declarative way to control if a component needs to be rendered or not
Domain query DSL that makes if then else on instances look dumb
Node.js module that takes an array and generates a string with a function containing conditional constructs
If a predicate function returns a truthy value, return `x`; otherwise, return `y`.
If a predicate function returns a truthy value, invoke `x`; otherwise, invoke `y`.
A babel for SolidJS that gives you an <If> and <Else> components which provide an alternative syntax to the <Show> component.
✨ Javascript "if / else" expressions ✨