Search results
104 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
It is a trap! (for a focus)
DOM trap for a focus
If a function does not throw, return the function return value; otherwise, return the return value of a second function.
Wrap a function in a try/catch block.
Wraps a function in a try/catch block.
Determines which child elements are interactive according to the WHATWG spec
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
Modal component for Svelte
A limited ES2015 Proxy shim.
A simple TypeScript npm package to lock focus within a specified container. This package helps ensure that keyboard navigation stays within a particular section of a webpage, improving accessibility and user experience.
Roll your own stack traces and control program execution through AST manipulation
Trap the user's cursor within an element for nicer game controls.
nutrafol popup helper
Capture and store a function's log outputs and return value, and stops its output from reaching the CLI. Makes console log testing a breeze.
- testing
- unit testing
- test
- unit test
- tdd
- test-driven development
- trap
- traps
- trapping
- stub
- mock
- stubbing
- stubs
- mocks
- View more
LocalStorage for Node.js, auto syncing for objects with JSON files using the Proxy API
A simple module to trap the tab navigation inside a container very useful for modal and dialog.
A lightweight functional library for functional composition and object composition.
A 'mouse operator' implementation
Purity and safety for methods invokes.
Track iframe's mouse events and bubble them up to outer document correctly.