0.3.0 • Published 4 years ago
briew v0.3.0
briew
Count React Native createView
events passing through the Bridge.
Install
$ yarn add briew
Usage
type TOptions = {
entryPointPath: string,
dependencyNames?: string[],
}
const getAndroidViewCount: (options: TOptions) => Promise<number>
const getIosViewCount: (options: TOptions) => Promise<number>
import { getAndroidViewCount, getIosViewCount } from 'briew'
const androidViewCount = await getAndroidViewCount({
entryPointPath: './App',
})
const iosViewCount = await getIosViewCount({
entryPointPath: './App',
})