Search results
432 packages found
Webpack plugin that gives ability to add callback before build (or at any other event hook). Can stop compilation by condition.
Conditional require with fallback support
Remove the code during the compilation phase through conditional annotations, is babel plugin.
<h2 align='center'>vite-plugin-conditional-compile</h2>
If a predicate function returns a truthy value, invoke `x`; otherwise, invoke `y`.
If a predicate function returns a truthy value, return `x`; otherwise, return `y`.
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
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
Just Antoher Functional Library
A Webpack loader to handle this.$refs usage in Vue components
A Webpack loader that can ignore compilation content through conditions.
An npm package to use array methods,date formating,string manipulation,looping over arrays
hast utility to check if a node is a conditional comment
If a condition is truthy, return `x`; otherwise, return `y`.
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, invoke `x`; otherwise, invoke `y`.
If a function does not throw, return the function return value; otherwise, return `y`.
The rswitch library provides a compact and flexible way to implement switch-like functionality in JavaScript. It allows you to define cases and their corresponding actions using an object literal syntax.
React-Native keyboard dismiss component