{"_id":"@and2long/react-native-uvc-camera","_rev":"5-6cf20a6b7e97c15d1d7b7234fdf5c9b3","name":"@and2long/react-native-uvc-camera","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@and2long/react-native-uvc-camera","version":"0.1.0","description":"UVC Camera for RN","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typecheck":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepack":"bob build","release":"release-it","example":"yarn --cwd example","build:android":"cd example/android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a","build:ios":"cd example/ios && xcodebuild -workspace UvcCameraExample.xcworkspace -scheme UvcCameraExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO","bootstrap":"yarn example && yarn install && yarn example pods","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build"},"keywords":["react-native","ios","android"],"repository":{"type":"git","url":"git+https://github.com/and2long/react-native-uvc-camera.git"},"author":{"name":"and2long","email":"and2long@gmail.com","url":"https://github.com/and2long"},"license":"MIT","bugs":{"url":"https://github.com/and2long/react-native-uvc-camera/issues"},"homepage":"https://github.com/and2long/react-native-uvc-camera#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^17.0.2","@evilmartians/lefthook":"^1.2.2","@react-native-community/eslint-config":"^3.0.2","@release-it/conventional-changelog":"^5.0.0","@types/jest":"^28.1.2","@types/react":"~17.0.21","@types/react-native":"0.70.0","commitlint":"^17.0.2","del-cli":"^5.0.0","eslint":"^8.4.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","jest":"^28.1.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"18.2.0","react-native":"0.72.4","react-native-builder-bob":"^0.21.3","release-it":"^15.0.0","turbo":"^1.10.7","typescript":"^5.0.2"},"resolutions":{"@types/react":"17.0.21"},"peerDependencies":{"react":"*","react-native":"*"},"engines":{"node":">= 16.0.0"},"packageManager":"^yarn@1.22.15","jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"gitHead":"7794d72f8e1cd65115e47212d05d72f6d326d82b","_id":"@and2long/react-native-uvc-camera@0.1.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-+ASvR462xpk5jr0UuD4Dy15vFbfFMm7SyLe+Sxypn44HqqImelwwRNH6mKPQ/o2H1PNjyVUcK3VGroeJTY0XXA==","shasum":"cbf2dab9e933ad9c6d4384191fdfd1b99a1277ef","tarball":"https://registry.npmjs.org/@and2long/react-native-uvc-camera/-/react-native-uvc-camera-0.1.0.tgz","fileCount":41,"unpackedSize":42800,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEaX9QkwoTX0wkaarbWkHHYsdG9AeCMvUQHV/JzlOpQkAiEA6a3tdgMvmZeLyM4SKtBxeF8AXjoAN64lDWLIITJt3+g="}]},"_npmUser":{"name":"and2long","email":"and2long@gmail.com"},"directories":{},"maintainers":[{"name":"and2long","email":"and2long@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-uvc-camera_0.1.0_1692677574968_0.3662761980313127"},"_hasShrinkwrap":false},"0.1.2":{"name":"@and2long/react-native-uvc-camera","version":"0.1.2","description":"UVC Camera for RN","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typecheck":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepack":"bob build","release":"release-it","example":"yarn --cwd example","build:android":"cd example/android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a","build:ios":"cd example/ios && xcodebuild -workspace UvcCameraExample.xcworkspace -scheme UvcCameraExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO","bootstrap":"yarn example && yarn install && yarn example pods","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build"},"keywords":["react-native","ios","android"],"repository":{"type":"git","url":"git+https://github.com/and2long/react-native-uvc-camera.git"},"author":{"name":"and2long","email":"and2long@gmail.com","url":"https://github.com/and2long"},"license":"MIT","bugs":{"url":"https://github.com/and2long/react-native-uvc-camera/issues"},"homepage":"https://github.com/and2long/react-native-uvc-camera#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^17.0.2","@evilmartians/lefthook":"^1.2.2","@react-native-community/eslint-config":"^3.0.2","@release-it/conventional-changelog":"^5.0.0","@types/jest":"^28.1.2","@types/react":"~17.0.21","@types/react-native":"0.70.0","commitlint":"^17.0.2","del-cli":"^5.0.0","eslint":"^8.4.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","jest":"^28.1.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"18.2.0","react-native":"0.72.4","react-native-builder-bob":"^0.21.3","release-it":"^15.0.0","turbo":"^1.10.7","typescript":"^5.0.2"},"resolutions":{"@types/react":"17.0.21"},"peerDependencies":{"react":"*","react-native":"*"},"engines":{"node":">= 16.0.0"},"packageManager":"^yarn@1.22.15","jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"gitHead":"bb6b898911a1f87524abf7aa674e0dcfea0c7074","_id":"@and2long/react-native-uvc-camera@0.1.2","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-lac0/m7chejyzFH3TGrIsyUEOvbYDcm6Wb63/hQZeoN+jKnvQlJUL2r3mhnW5iPA4qICO6wzRZZlZoS/VYFjPg==","shasum":"989557b7988a312417a59934760258c4b31fbbba","tarball":"https://registry.npmjs.org/@and2long/react-native-uvc-camera/-/react-native-uvc-camera-0.1.2.tgz","fileCount":40,"unpackedSize":42912,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDE7pcdP5Q+D3AQ4yPaxIhjqR6IC4NlF6Pf3FpLMNtgoAIhAKPnkgEJhhHsvorcUMbu1qTK1+UHfJWoiOVRNKERK3Bg"}]},"_npmUser":{"name":"and2long","email":"and2long@gmail.com"},"directories":{},"maintainers":[{"name":"and2long","email":"and2long@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-uvc-camera_0.1.2_1692683205441_0.21754803727083782"},"_hasShrinkwrap":false},"0.1.3":{"name":"@and2long/react-native-uvc-camera","version":"0.1.3","description":"UVC Camera for RN","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typecheck":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepack":"bob build","release":"release-it","example":"yarn --cwd example","build:android":"cd example/android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a","build:ios":"cd example/ios && xcodebuild -workspace UvcCameraExample.xcworkspace -scheme UvcCameraExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO","bootstrap":"yarn example && yarn install && yarn example pods","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build"},"keywords":["react-native","uvc-camera","android"],"repository":{"type":"git","url":"git+https://github.com/and2long/react-native-uvc-camera.git"},"author":{"name":"and2long","email":"and2long@gmail.com","url":"https://github.com/and2long"},"license":"MIT","bugs":{"url":"https://github.com/and2long/react-native-uvc-camera/issues"},"homepage":"https://github.com/and2long/react-native-uvc-camera#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^17.0.2","@evilmartians/lefthook":"^1.2.2","@react-native-community/eslint-config":"^3.0.2","@release-it/conventional-changelog":"^5.0.0","@types/jest":"^28.1.2","@types/react":"~17.0.21","@types/react-native":"0.70.0","commitlint":"^17.0.2","del-cli":"^5.0.0","eslint":"^8.4.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","jest":"^28.1.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"18.2.0","react-native":"0.72.4","react-native-builder-bob":"^0.21.3","release-it":"^15.0.0","turbo":"^1.10.7","typescript":"^5.0.2"},"resolutions":{"@types/react":"17.0.21"},"peerDependencies":{"react":"*","react-native":"*"},"engines":{"node":">= 16.0.0"},"packageManager":"^yarn@1.22.15","jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"gitHead":"e5b7e2f9c020a1b72a5fa37eaa732f83ba9cc275","_id":"@and2long/react-native-uvc-camera@0.1.3","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-X5fFq/RHxi6amXu5EqrYAngHo/M+fZo6Wmi8SBdITSXaHpaAv5PzzO84NLF3HnQCO1OKAOykWlzkfn9KhKnDzQ==","shasum":"74420f1152f40ba338b4703e872c95da9d2b6d1d","tarball":"https://registry.npmjs.org/@and2long/react-native-uvc-camera/-/react-native-uvc-camera-0.1.3.tgz","fileCount":40,"unpackedSize":43805,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIARkt0nzxbKFGj65V8wQ8eeLBZhRxEEfapFgCi2+odgpAiEApLH/jqZJIQ4JwLv5kOopkKZEH0mQg1ymOravQGvC89U="}]},"_npmUser":{"name":"and2long","email":"and2long@gmail.com"},"directories":{},"maintainers":[{"name":"and2long","email":"and2long@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-uvc-camera_0.1.3_1692691810442_0.995149539200185"},"_hasShrinkwrap":false},"0.1.4":{"name":"@and2long/react-native-uvc-camera","version":"0.1.4","description":"UVC Camera for RN","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typecheck":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepack":"bob build","release":"release-it","example":"yarn --cwd example","build:android":"cd example/android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a","build:ios":"cd example/ios && xcodebuild -workspace UvcCameraExample.xcworkspace -scheme UvcCameraExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO","bootstrap":"yarn example && yarn install && yarn example pods","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build"},"keywords":["react-native","uvc-camera","android"],"repository":{"type":"git","url":"git+https://github.com/and2long/react-native-uvc-camera.git"},"author":{"name":"and2long","email":"and2long@gmail.com","url":"https://github.com/and2long"},"license":"MIT","bugs":{"url":"https://github.com/and2long/react-native-uvc-camera/issues"},"homepage":"https://github.com/and2long/react-native-uvc-camera#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^17.0.2","@evilmartians/lefthook":"^1.2.2","@react-native-community/eslint-config":"^3.0.2","@release-it/conventional-changelog":"^5.0.0","@types/jest":"^28.1.2","@types/react":"~17.0.21","@types/react-native":"0.70.0","commitlint":"^17.0.2","del-cli":"^5.0.0","eslint":"^8.4.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","jest":"^28.1.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"18.2.0","react-native":"0.72.4","react-native-builder-bob":"^0.21.3","release-it":"^15.0.0","turbo":"^1.10.7","typescript":"^5.0.2"},"resolutions":{"@types/react":"17.0.21"},"peerDependencies":{"react":"*","react-native":"*"},"engines":{"node":">= 16.0.0"},"packageManager":"^yarn@1.22.15","jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"gitHead":"b4901169ac5d6bbec36531ca767d2fa29a48a617","_id":"@and2long/react-native-uvc-camera@0.1.4","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-nbSBfsDYzlVMVSUeMKPq49becleVTZKklOE+woZLUKK46nHaFtpaXc5RS+YwoA/uGt/qHW4yCOE+dyZ1Sjszrw==","shasum":"b0ed9611da34bf2716d2bb325135be37c57d1d7f","tarball":"https://registry.npmjs.org/@and2long/react-native-uvc-camera/-/react-native-uvc-camera-0.1.4.tgz","fileCount":54,"unpackedSize":46274,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDK7xr8JXhyZwbAQhFtjZNZP7wvyE3+tTXjvrNR7qevTQIhAIyNQk8zv2a0U5XVaLqVrFJ3Xd8a5Niu9Ju9F/K/vT3t"}]},"_npmUser":{"name":"and2long","email":"and2long@gmail.com"},"directories":{},"maintainers":[{"name":"and2long","email":"and2long@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-uvc-camera_0.1.4_1692928180340_0.15334220292698708"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-22T04:12:54.777Z","0.1.0":"2023-08-22T04:12:55.174Z","modified":"2023-08-25T01:49:40.748Z","0.1.1":"2023-08-22T04:31:45.252Z","0.1.2":"2023-08-22T05:46:45.647Z","0.1.3":"2023-08-22T08:10:10.661Z","0.1.4":"2023-08-25T01:49:40.569Z"},"maintainers":[{"name":"and2long","email":"and2long@gmail.com"}],"description":"UVC Camera for RN","homepage":"https://github.com/and2long/react-native-uvc-camera#readme","keywords":["react-native","uvc-camera","android"],"repository":{"type":"git","url":"git+https://github.com/and2long/react-native-uvc-camera.git"},"author":{"name":"and2long","email":"and2long@gmail.com","url":"https://github.com/and2long"},"bugs":{"url":"https://github.com/and2long/react-native-uvc-camera/issues"},"license":"MIT","readme":"# react-native-uvc-camera\n\nUVC Camera component for Reat Native.\n\n**Works only on Android!**\n\n\nThis is a wrapper for the [UVCAndroid](https://github.com/shiyinghan/UVCAndroid) library.\n\n## Installation\n\n```sh\nnpm install @and2long/react-native-uvc-camera\n```\n\n## Usage\n```ts\nimport { UVCCamera } from \"@and2long/react-native-uvc-camera\";\n\n// ...\nconst camera = useRef<UVCCamera>(null);\n\n<UVCCamera ref={camera} style={styles.cameraView} />\n\nconst styles = StyleSheet.create({\n  cameraView: {\n    width: 200,\n    height: 200,\n  },\n});\n```\n\n### Take photo\n```\nconst photo = await camera.current?.takePhoto();\n```\n\n## R8 / ProGuard\nIf you are using R8 the shrinking and obfuscation rules are included automatically.\n\nProGuard users must manually add the below options.\n\n```\n-keep class com.herohan.uvcapp.** { *; }\n-keep class com.serenegiant.usb.** { *; }\n-keepclassmembers class * implements com.serenegiant.usb.IButtonCallback {*;}\n-keepclassmembers class * implements com.serenegiant.usb.IFrameCallback {*;}\n-keepclassmembers class * implements com.serenegiant.usb.IStatusCallback {*;}\n```\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n\n---\n\nMade with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)\n","readmeFilename":"README.md"}