93 packages matching “ternaries”
eslint-plugin-ternaries
v1.1.0 · 9 years ago
Eslint rules concerning ternaries
No known vulnerabilities
scrif
v0.3.0 · 7 months ago
simple ternaries in npm scripts
No known vulnerabilities
@mesteche/eslint-plugin-neat-ternaries
v0.4.0 · 5 years ago
format ternaries to optimize readability
No known vulnerabilities
ternup
v1.0.2 · 8 years ago
Functional ternaries
No known vulnerabilities
astro-if
v0.0.2 · 15 days ago
Declarative conditional rendering components for Astro (If / Then / Else / When / Unless / Switch / Case). Shamelessly plagiarised from react-if, because I hate ternaries.
No known vulnerabilities
should-render
v1.0.1 · 6 years ago
A react component to conditionally render JSX on the fly without dirtying your code with if blocks, ternaries and conditional expressions, in between JSX. The aim is to eliminate all conditional blocks from JSX, making code look more readable and cleaner.
No known vulnerabilities
nested-ternary
v1.0.1 · 5 years ago
readable nested ternaries
No known vulnerabilities
elegir
v2.1.0 · 5 years ago
A simple function to do switch-like expressions that look good, so you don't have to nest your ternaries.
No known vulnerabilities
@particle-academy/fancy-expr
v0.1.1 · 7 days ago
Sandboxed expression evaluator — one grammar, three runtimes. Paths, literals, logic, comparisons, ternaries, object/array literals. No eval, no host reach, no calls.
No known vulnerabilities
eslint-plugin-legion
v0.5.0 · 13 days ago
LEGION-STANDARDS as a lint plugin. Runs under oxlint (jsPlugins) and ESLint v9+. Zero comments, no React.FC, no enum, no ternaries, no function keyword, guarded context hooks, hydration-safe state, server-first pages, scoped lint bypasses.
No known vulnerabilities
styield
v2.0.0 · 3 years ago
StYield - an add-on for styled-components that allows you to write complex styles without ugly ternaries
No known vulnerabilities
jsx-control-flow
v1.1.0 · 1 year ago
Declarative control flow in JSX with <If>, <For>, <Switch>, <Let>. Cleaner than logic operators, ternaries, and .map()
No known vulnerabilities
@alef-prime/i18n-pick
v0.1.0-alpha.0 · 4 months ago
Six lines of code that kill 50 lang === 'he' ? ... : ... ternaries. A tiny helper for picking a value from a per-locale map with a safe fallback.
No known vulnerabilities
react-extended-jsx
v1.2.0 · 1 year ago
Extension for JSX and forget about ternaries in components and create cleaner components.
No known vulnerabilities
meemaw
v1.0.2 · 9 months ago
Elegant, declarative React utility components for common UI patterns
No known vulnerabilities
@ikarii_warrior/themis
v0.4.13 · 19 days ago
Themis: a syntax-aware, intent-preserving, opinionated code formatter
No known vulnerabilities
@foldkit/vite-plugin
v0.24.0 · 1 day ago
Vite plugin for Foldkit with state-preserving live reload
No known vulnerabilities
unreachable-branch-transform
v0.5.1 · 10 years ago
Browserify transform to remove unreachable code
No known vulnerabilities
@f12io/prettier-plugin-maple
v0.1.7 · 20 days ago
Prettier plugin that formats Maple CSS utility classes in class attributes, className expressions, clsx/cva calls, and /* maple */ opt-in strings — so Prettier and the Maple VS Code extension agree on one layout.
No known vulnerabilities
occam-furtle
v3.0.559 · 1 day ago
Occam's Furtle language.
No known vulnerabilities