
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@gentleduck/hooks
Advanced tools
This package provides a collection of reusable React hooks for the @gentleduck/ui component library.
use-composed-refs: A hook to merge multiple refs into a single ref.use-computed-timeout-transition: A hook to manage timeout-based transitions.use-copy-to-clipboard: A hook to copy text to the clipboard.use-debounce: A hook to debounce a value.use-is-mobile: A hook to detect if the user is on a mobile device.use-media-query: A hook to use media queries in your components.use-on-open-change: A hook to handle open/close state changes.use-stable-id: A hook to generate a stable ID.To use a hook, import it from the corresponding directory:
import { useDebounce } from '@gentleduck/hooks/use-debounce';
function MyComponent() {
const [value, setValue] = useState('');
const debouncedValue = useDebounce(value, 500);
// ...
}
FAQs
React hooks for Duck UI.
The npm package @gentleduck/hooks receives a total of 18 weekly downloads. As such, @gentleduck/hooks popularity was classified as not popular.
We found that @gentleduck/hooks demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.