Search results

104 packages found

It is a trap! (for a focus)

published version 1.0.6, 4 years ago4 dependents licensed under $MIT
80

DOM trap for a focus

published version 0.9.2, 4 years ago1 dependents licensed under $MIT
75

If a function does not throw, return the function return value; otherwise, return the return value of a second function.

published version 0.2.2, 10 months ago0 dependents licensed under $Apache-2.0
80

Wrap a function in a try/catch block.

published version 0.2.2, 10 months ago0 dependents licensed under $Apache-2.0
72

Wraps a function in a try/catch block.

published version 1.0.0, 10 years ago2 dependents licensed under $MIT
66

Determines which child elements are interactive according to the WHATWG spec

published version 1.0.0, 6 years ago0 dependents licensed under $MIT
71

If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.

published version 0.2.2, 10 months ago1 dependents licensed under $Apache-2.0
73

Modal component for Svelte

published version 1.4.0, 7 months ago0 dependents licensed under $MIT
57

A limited ES2015 Proxy shim.

published version 1.2.0, 9 years ago0 dependents licensed under $MIT
66

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.

published version 1.0.3, 9 months ago0 dependents licensed under $MIT
44

Roll your own stack traces and control program execution through AST manipulation

published version 0.1.10, 13 years ago2 dependents licensed under $MIT
34

Trap the user's cursor within an element for nicer game controls.

published version 0.0.0, 12 years ago0 dependents licensed under $MIT
36

nutrafol popup helper

published version 0.1.15, a year ago0 dependents licensed under $ISC
36

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.

published version 0.0.2, 8 years ago0 dependents licensed under $MIT
30

LocalStorage for Node.js, auto syncing for objects with JSON files using the Proxy API

published version 1.0.4, 7 years ago0 dependents licensed under $MIT
34

A simple module to trap the tab navigation inside a container very useful for modal and dialog.

published version 1.0.2, 7 years ago0 dependents licensed under $ISC
34

A lightweight functional library for functional composition and object composition.

published version 0.0.1, 6 years ago0 dependents licensed under $MIT
27

A 'mouse operator' implementation

published version 1.0.0, 6 years ago0 dependents licensed under $ISC
28

Purity and safety for methods invokes.

published version 0.0.2, 7 years ago0 dependents licensed under $ISC
25

Track iframe's mouse events and bubble them up to outer document correctly.

published version 1.0.6, 9 years ago0 dependents licensed under $MIT
25