react-native-native-doc-scanner
Version:
High-performance cross-platform document scanner with session-based crash recovery, native bridge architecture, and TurboModule compatibility
55 lines (49 loc) • 1.48 kB
text/typescript
/**
* React Native Native Document Scanner
*
* High-performance cross-platform document scanner with native bridge architecture
* and TurboModule compatibility.
*
* Features:
* - Cross-platform document scanning (iOS VisionKit + Android ML Kit)
* - Automatic architecture detection (TurboModule vs Legacy Bridge)
* - PDF generation from scanned documents
* - Multi-page scanning support
* - TypeScript support with full type definitions
* - Promise and callback-based APIs
*
* @packageDocumentation
*/
// Main scanner module
export { default as NativeDocScanner } from './DocumentScanner';
// Type definitions
export type {
ScannerConfig,
ScannerResult,
ScanSuccessCallback,
ScanErrorCallback,
ScannerPromiseResult,
ScannerCapabilities,
NativeDocScannerInterface,
CrashRecoveryResult,
LastScanResult,
} from './types';
// Enums
export { SCANNER_MODE, ScannerError } from './types';
// Default export for convenience
export { default } from './DocumentScanner';
/**
* Library version
*/
export const VERSION = '2.0.0';
/**
* Library information
*/
export const LIBRARY_INFO = {
name: 'react-native-native-doc-scanner',
version: VERSION,
description: 'High-performance cross-platform document scanner with session-based crash recovery, native bridge architecture, and TurboModule compatibility',
repository: 'https://github.com/rahulunni73/react-native-native-doc-scanner',
author: 'rahulunni73',
license: 'MIT',
} as const;