
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
rc-virtual-keyboard
Advanced tools
react virtual keyboard
# install dependencies
$ pnpm install
# develop library by docs demo
$ pnpm start
# build library source code
$ pnpm run build
# build library source code in watch mode
$ pnpm run build:watch
# build docs
$ pnpm run docs:build
# Locally preview the production build.
$ pnpm run docs:preview
# check your project for potential problems
$ pnpm run doctor
npm install rc-virtual-keyboard --save
pnpm install rc-virtual-keyboard --save
yarn add rc-virtual-keyboard --save
import { useState } from 'react';
import { useVirtualKeyboard, keys } from 'rc-virtual-keyboard';
export default () => {
const [show, setShow] = useState(false);
const [themeMode, setThemeMode] = useState(
localStorage?.getItem(keys.VKB_THEME_MODE) ?? 'light',
);
const [positionMode, setPositionMode] = useState(
localStorage?.getItem(keys.VKB_POSITION_MODE) ?? 'float',
);
const [value, setValue] = useState('');
const { VirtualKeyboard, InitVirtualKeyBoardCtx, VirtualKeyboardProvide } =
useVirtualKeyboard();
return (
<>
{/* <div>可使用右侧虚拟键盘</div> */}
<input
placeholder="可使用右侧虚拟键盘"
onInput={(e) => {
setValue(e.target.value);
console.log('value', e.target.value);
}}
/>
<div>value:{value}</div>
<VirtualKeyboardProvide
value={{
...InitVirtualKeyBoardCtx,
width: '500px',
height: '320px',
show,
setShow,
themeMode,
setThemeMode,
positionMode,
setPositionMode,
theme: {},
}}
>
<VirtualKeyboard />
</VirtualKeyboardProvide>
</>
);
};
see you[https://anycloud666.github.io/rc-virtual-keyboard]
see you[https://anycloud666.github.io/rc-virtual-keyboard]
see you[https://anycloud666.github.io/rc-virtual-keyboard]
one star!one star!!!one star!!!
FAQs
virtual keyboard
The npm package rc-virtual-keyboard receives a total of 0 weekly downloads. As such, rc-virtual-keyboard popularity was classified as not popular.
We found that rc-virtual-keyboard demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.