0.3.0 • Published 5 years ago
briew v0.3.0
briew 
Count React Native createView events passing through the Bridge.
Install
$ yarn add briewUsage
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',
})