Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
hodgef-react-virtual-keyboard
Advanced tools
Use react-simple-keyboard instead, as I will no longer update this fork.
simple-keyboard
is entirely coded in React and has no jQuery or Mottie Keyboard dependency.
A on-screen keyboard (OSK) Component that works in the browser for reactJS. Useful for Kiosk Touchscreens.
Based on the Virtual Keyboard using jQuery: https://mottie.github.io/Keyboard/
npm i -S virtual-keyboard hodgef-react-virtual-keyboard
import Keyboard from 'hodgef-react-virtual-keyboard';
<Keyboard
value={this.state.input}
name='keyboard'
options={{
type:"input",
layout: "qwerty",
alwaysOpen: true,
usePreview: false,
useWheel: false,
stickyShift: false,
appendLocally: true,
color: "light",
updateOnChange: true,
initialFocus: true,
display: {
"accept" : "Submit"
}
}}
onChange={this.onInputChanged}
onAccepted={this.onInputSubmitted}
ref={k => this.keyboard = k}
/>
onInputChanged = (data) => {
this.setState({ input: data });
}
onInputSubmitted = (data) => {
console.log("Input submitted:", data);
}
this.keyboard.interface.keyaction.enter = (base) => {
// Enter button pressed
// Accepting content, as an example:
return this.keyboard.interface.keyaction.accept(base);
};
For more information, check out the API documentation: https://github.com/Mottie/Keyboard/wiki/Options
FAQs
Use jQuery Virtual Keyboard in react.js
The npm package hodgef-react-virtual-keyboard receives a total of 1 weekly downloads. As such, hodgef-react-virtual-keyboard popularity was classified as not popular.
We found that hodgef-react-virtual-keyboard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.