Installation
Install Human-Like
Get Human-Like up and running in your React project with these simple installation steps.
npm install @ertekinno/human-like
yarn add @ertekinno/human-like
pnpm add @ertekinno/human-like
Import strategies
Install the core; add optional keyboard components only if you need visuals.
// Core only (≈1.9KB gzipped)
import { HumanLike, useHumanLike } from '@ertekinno/human-like'
// Optional keyboard components (+~53KB when used)
import {
MobileKeyboard,
DesktopKeyboard,
useKeyPressIndicator,
KeyboardSimulationDemo
} from '@ertekinno/human-like/keyboard'
// Optional styles for visuals
import '@ertekinno/human-like/mobile.css'
import '@ertekinno/human-like/desktop.css'
Requirements
- React 16.8+ (for hooks support)
- TypeScript (optional but recommended)
Quick test
import { HumanLike } from '@ertekinno/human-like'
export default function App() {
return <HumanLike text="Installation successful!" speed={80} />
}