New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

libkey

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libkey

keyboard state as object.

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
0
Created
Source

libkey

キーボードの状態をオブジェクトに。 Keyboard state as object.

usage

import { useLibkey } from "libkey";
const {state, destroy, onupdate} = useLibKey(window);
console.log("Press ctrl to destroy")
onupdate(()=>{
    console.log("state", state)
    if(state.ctrl){
        destroy()
    }
})

FAQs

Package last updated on 17 Jan 2025

Did you know?

Socket

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.

Install

Related posts