Search results
301 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Koa Middleware for if/else/elseif logic
Neater control statements (if/for) for jsx
Neater control statements (if/for) for jsx
Use if-then-else in promise chains
Simplify npm scripts with "if-env ... && npm run this || npm run that"
Put non-empty strings into arrays, turn empty-ones into empty arrays. Bypass everything else.
[Gulp plugin] Conditional task with "if" callback and "else" callback (optional): gulp.src(source).pipe( ifElse(condition, ifCallback, elseCallback) )
Does a vinyl file match a condition?
## 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.
Fork stream based on passed condition, and collect down-stream
Conditionally run a task
🐊Putout plugin adds ability to merge if-statements
ESLint custom rules by Open Reach Tech.
Javascript library for writing, chaining and using conditional statements in a functional way
Check if the machine is running Windows or not.
PostCss plugin to use CSS Custom Properties in at-rule @each, @for, @if, @else
PostCSS plugin that enables @if statements in your CSS
PostCSS plugin that enables @if statements in your CSS
🐊Putout plugin adds ability apply if condition
Simplify npm scripts with "if-env-defined ... && npm run this || npm run that"