Search results
289 packages found
Returns a promise that resolves when a condition is met, and rejects when hitting a timeout
a react HOC for rendering components conditionally
- react
- hoc
- render
- conditional
- condition
- conditional-rendering
- react-conditional-rendering
- hook
- hooks
- react-hook
- conditional-hook
- react-conditionalize
- conditionalize-component
- conditionalizecomponent
- View more
If a predicate function returns a truthy value, invoke `x`; otherwise, invoke `y`.
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- asynchronous
- async
- try
- catch
- then
- try-catch
- try-then
- View more
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- asynchronous
- async
- try
- catch
- try-catch
- trap
- control
- View more
Support conditions for http requests based on a simple dsl.
Lisp-like conditional statement for JSX
Minimalistic node package for logic operations
CommonJS version of steno 3.0.0. See https://github.com/mifi/commonify
Wait here until others notify you that you can go!
- node
- notify
- wait
- await
- wait-notify
- await-notify
- lock
- condition
- condition-wait
- promise
- timeout
- async
- wait-until
- until
WaitForAll and WaitForAny on EventEmitter.
Mutex Server using WebSocket
Conditionally run promise series waterfall alike, every promise in the chain will get the previous result. At the end you get the an array with all the results, being the laters the final outcome
- Promise
- series
- if
- then
- conditional
- flow
- Promisify
- condition
- when
- promif
- serializer
- sequencer
- sequence
- promise sequence
- View more
Execute when condition fulfill.
A library to check if JSON satisfy condition defined in another JSON
If a function does not throw, return the function return value; otherwise, return the return value of a second function.
If a condition is truthy, return `x`; otherwise, return `y`.
If a condition is truthy, invoke `x`; otherwise, invoke `y`.
If a function does not throw, return the function return value; otherwise, return `y`.
chained logical conditions: and, or, not, xor