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

@fra.me/io-manager

Package Overview
Dependencies
Maintainers
8
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@fra.me/io-manager

Frame IO manager

unpublished
latest
npmnpm
Version
1.0.3
Version published
Maintainers
8
Created
Source

node-io-manager

Serves as a base for the development of a node IO Manager for the terminal application

Usage

import { IOManager, KeyboardKeycode, KeyInfo } from '@fra.me/io-manager'

const ioManager = new IOManager();

ioManager.keyboard.bind(KeyboardKeycode.A, (keyInfo: KeyInfo) => {
  console.log('Keyboard event for key A. KeyInfo: ', keyInfo);
});

ioManager.keyboard.bind(KeyboardKeycode.D, (keyInfo: KeyInfo) => {
  console.log('Keyboard event for key D. KeyInfo: ', keyInfo);
});

ioManager.keyboard.unbind(KeyboardKeycode.D);

ioManager.keyboard.bind(KeyboardKeycode.LeftMeta, (keyInfo: KeyInfo) => {
  console.log('Keyboard event for META key. KeyInfo: ', keyInfo);
});

Keywords

IO Manager

FAQs

Package last updated on 12 Apr 2023

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