Prerequisites
Before installingnode-fullykiosk, ensure you have:
- React 18.0+ installed in your project
- Fully Kiosk Browser installed on your target Android device
- Node.js 16+ for package management
The library uses React Hooks, so you need React 16.8 or higher. However, it’s developed with React 18.2.0, so we recommend using React 18+ for the best experience.
Install the Package
Installnode-fullykiosk using your preferred package manager:
The package is published on npm as
fullykiosk, not node-fullykiosk.TypeScript Setup
The library is written in TypeScript and includes type definitions out of the box. No additional@types packages are needed.
All hooks are fully typed, including:
- Return values with proper type inference
- Event handler types
- Enum types for states (e.g.,
PlugStatesfor charging)
Verification
After installation, verify the setup by importing a hook:Development Environment
For local development, the hooks will safely returnundefined when the Fully Kiosk API is not available. This allows you to:
- Develop your application in Chrome or other browsers
- Use React DevTools and other development utilities
- Test your UI with mock data or fallback states
What’s Included
The package includes:- All React Hook exports
- TypeScript type definitions
- CommonJS build for Node.js compatibility
- Zero runtime dependencies (only peer dependency on React)
- Small bundle size - optimized for kiosk applications
- Tree-shakeable exports - import only the hooks you need
Next Steps
Quickstart Guide
Build your first kiosk application with node-fullykiosk
