JSPM

Found 106 results for trap

focus-trap

Trap focus within a DOM node.

  • v7.6.5
  • 97.04
  • Published

focus-lock

DOM trap for a focus

  • v1.3.6
  • 96.99
  • Published

focus-trap-vue

Vue component to trap the focus within a DOM element

  • v4.1.0
  • 70.61
  • Published

@a11y/focus-trap

A lightweight web component that traps focus within a DOM node

  • v1.0.5
  • 63.80
  • Published

vue-focus-lock

It is a trap! (for a focus)

  • v2.0.7
  • 58.31
  • Published

focus-layers

Tiny (~1Kb) React hooks for isolating focus within subsections of the DOM.

  • v0.6.1
  • 57.24
  • Published

solid-focus-trap

SolidJS utility that traps focus inside a given DOM element.

  • v0.1.9
  • 56.35
  • Published

harmony-proxy

Small shim providing `new Proxy(target, handler)`

  • v1.0.1
  • 50.46
  • Published

focus-trap-js

Trap focus inside specified HTML element. Vanilla JS with size <0.5kb. No dependencies. Easy to use with React, Angular or Raw Javascript

  • v1.1.0
  • 48.78
  • Published

@pdanpdan/vue-keyboard-trap

Vue3 and Vue2 directive for keyboard navigation - roving movement and trapping inside container

  • v1.2.0
  • 47.47
  • Published

utils-properties-parse

Attempts to parse an input string according to the .properties specification.

  • v1.0.0
  • 45.47
  • Published

utils-json-parse

Wraps JSON#parse in a try/catch block.

  • v1.0.0
  • 43.01
  • Published

deep-focus-trap

A focus trap library that pierces that shadow dom. So you can use it with native web components. Deep Focus Trap is a lightweight library written in vanilla js with only one dependency (that is tree-shakable if not in use).

  • v0.0.3
  • 41.48
  • Published

web-dialog

A highly accessible, customizable and lightweight dialog.

  • v0.0.11
  • 40.30
  • Published

utils-json5-parse

Attempts to parse an input string as JSON5.

  • v1.0.0
  • 38.94
  • Published

nodemailer-trap-plugin

Nodemailer plugin to intercept emails in non production environments

  • v4.0.0
  • 36.46
  • Published

@ithaka/focus-trap

A lightweight web component that traps focus within a DOM node

  • v2.0.1
  • 34.11
  • Published

focus-hunter

A tiny focus trapping utility that respects shadow DOMs and slots.

  • v1.0.12
  • 32.80
  • Published

t3

Command Line time tracking inspired by Time Trap, with D3 html reports

    • v0.0.1
    • 32.41
    • Published

    utils-cjson-parse

    Attempts to parse an input string as commented JSON.

    • v1.0.0
    • 31.61
    • Published

    utils-yaml-parse

    Attempts to parse an input string as YAML.

    • v1.0.0
    • 31.40
    • Published

    utils-ini-parse

    Attempts to parse an input string as INI.

    • v1.0.0
    • 31.18
    • Published

    utils-alce-parse

    Attempts to parse an input string as ALCE.

    • v1.0.0
    • 30.72
    • Published

    utils-toml-parse

    Wraps toml#parse in a try/catch block.

    • v1.0.0
    • 30.70
    • Published

    utils-hjson-parse

    Attempts to parse an input string as Human JSON.

    • v1.0.1
    • 30.13
    • Published

    react-viewport-trap

    `ViewportTrap` is a headless React component that helps ensure that its children are always visible within the viewport. This is particularly useful for UI elements like tooltips or dropdowns that might be hidden or cut-off due to their position near the

    • v0.2.0
    • 29.50
    • Published

    tab-fixation

    A small Javascript library to focus trap a user on your website, to help comply with W3C accessibility guidelines.

    • v2.0.0
    • 26.24
    • Published

    objix

    A powerfull, high performance, lightweight library to injecs many usefull methods into the Object prototype to sugar many use cases working with common Javascript object.

    • v2.0.2
    • 24.01
    • Published

    focus-elements

    Determines which child elements are interactive according to the WHATWG spec

    • v1.0.0
    • 24.00
    • Published

    react-trap-focus

    A react component to trap focus for accessibility

    • v1.0.3
    • 23.54
    • Published

    react-focus-marshal

    Traps focus within a DOM node — subsequently mounted traps will pause others and take focus responsibility until they unmount.

    • v1.0.1
    • 17.03
    • Published

    @konfirm/trap

    Provide traps for use as Proxy handler, allowing to keep track of changes and choose to commit or rollback changes

    • v2.0.3
    • 15.05
    • Published

    @ryvora/react-focus-guards

    💂‍♂️ Invisible focus guards for robust focus trapping in modals, dialogs, and more.

    • v2.0.0
    • 13.58
    • Published

    focus-trap-improved

    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.

      • v1.0.3
      • 13.55
      • Published

      modal-svelte

      Modal component for Svelte

      • v1.4.0
      • 13.42
      • Published

      iframe-tracker

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

      • v1.0.6
      • 12.63
      • Published

      @davidevmod/focus-trap

      A tiny and performant library to trap the focus within your DOM elements.

      • v4.0.1
      • 12.31
      • Published

      safe-process

      Helper for initializing and deinitializing an app

      • v1.0.1
      • 11.75
      • Published

      itsnmptrap

      An snmp trap receiver router, similar in concept to the HTTP request routing in the likes of Expressjs.

        • v0.0.1
        • 11.74
        • Published

        concap

        Tiny console capturing library

          • v0.2.0
          • 11.74
          • Published

          kidnap-console

          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.

          • v0.0.2
          • 11.74
          • Published

          a11y-focus-trap

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

          • v1.0.2
          • 11.71
          • Published

          pointer-trap

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

          • v0.0.0
          • 11.48
          • Published

          focus-trap-lite

          Lightweight (≤2kB) focus trapping utility for implementing accessible keyboard navigation constraints in modal dialogs, sidebars, and other contained UI components.

          • v0.0.6
          • 11.27
          • Published

          @sullux/fp-light-trap

          A lightweight functional library for functional composition and object composition.

          • v0.0.1
          • 11.25
          • Published

          console-blame

          It highlights and helps to find forgotten console.log calls in runtime

          • v1.1.3
          • 10.99
          • Published

          pointer-trap-relative

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

          • v1.3.0
          • 10.81
          • Published

          @ryvora/react-focus-scope

          🎯 Trap and manage focus within a section of your app. Essential for modals and dialogs!

          • v2.0.0
          • 10.78
          • Published

          @stdlib/utils-try-then

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

          • v0.2.2
          • 10.46
          • Published

          @a11y-ngx/tab-cycle

          An Angular directive to allow focus trap within a DOM element

          • v1.0.1
          • 10.12
          • Published

          @10up/react-focus-trap-hoc

          Higher order component used to trap keyboard focus within a wrapped component.

          • v1.0.1
          • 9.69
          • Published

          appstoragejs

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

          • v1.0.4
          • 9.69
          • Published

          runtrap

          Run that trap!

          • v1.0.3
          • 8.77
          • Published

          stackedy

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

          • v0.1.10
          • 8.70
          • Published

          react-trap

          Detect dom events inside or outside an element

          • v1.1.0
          • 7.69
          • Published

          @stdlib/utils-async-try-catch

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

          • v0.2.2
          • 6.90
          • Published

          purified

          Purity and safety for methods invokes.

          • v0.0.2
          • 6.90
          • Published

          traps

          Trap me if you can!

          • v0.1.0
          • 6.63
          • Published

          @stdlib/utils-async-try-then

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

          • v0.2.2
          • 6.61
          • Published

          trapcode

          Function Library in JS

          • v1.1.2
          • 5.75
          • Published

          favicon-trap

          A util allows you get favicons from a url

          • v1.0.3
          • 5.51
          • Published

          proxy-class-new

          A 'not too bad' alternative to @ungap/new proposal

          • v0.1.1
          • 5.51
          • Published

          @stdlib/utils-try-catch

          If a function does not throw, return the function return value; otherwise, return `y`.

          • v0.2.2
          • 4.49
          • Published

          @pinkhominid/pop-menu

          Colocated overlay drop menu that pops out of scroll ancestors and traps focus

          • v0.2.2
          • 4.49
          • Published

          md-focus-trap

          Trap focus within a DOM node.

          • v1.0.3
          • 4.36
          • Published

          focus-trap-react-hook

          React hook for trapping focus inside specified HTML element.

          • v1.0.1
          • 4.35
          • Published

          trap-chai

          Chai integration for trap testing.

          • v0.1.0
          • 4.18
          • Published

          ghost-trap

          Static site generator for the Ghost blogging platform.

          • v0.1.0
          • 2.62
          • Published

          trapfocus-refocus-typescript

          A Zero-Dependency, tiny, pure typescript Focus Trap with refocussing functionality. Compatible with pure JS, React and Vue.

          • v1.0.1
          • 2.62
          • Published

          tab_trap

          Overwrite the browsers default behaviour when pressing tab. While navigating through a form using the tab key the focus will not be set outside of the form ( e.g. the browsers url bar ).

          • v1.0.1
          • 2.56
          • Published

          thin-trap

          Thin ES6 Proxy Wrapper for Better Transparency

          • v0.0.2
          • 2.56
          • Published

          scrolltrap

          Prevent page from scrolling after having reached the end of a scrollable element

          • v1.0.4
          • 2.56
          • Published

          focus-navigator

          A lightweight utility to manage and enhance keyboard navigation for front-end applications. Focus Navigator simplifies accessibility by allowing developers to trap focus within a container, cycle through focusable elements, and improve keyboard navigation

          • v1.0.1
          • 2.55
          • Published

          ghostrap

          Observe the object property getter, setter or method calls and add custom behavior.

          • v1.0.2
          • 2.54
          • Published

          @realtebo/local-smtp-blackhole

          > IMPORTANT: This package is meant to be used ONLY with composer package `laravel-local-smtp-blackhole`.

          • v0.0.9
          • 0.00
          • Published

          mice.trap

          A 'mouse operator' implementation

          • v1.0.0
          • 0.00
          • Published

          pid-trap

          execute command after process termination

          • v2019.5.31
          • 0.00
          • Published