MCPcopy Create free account

hub / github.com/elegantapp/pwa-asset-generator / functions

Functions91 in github.com/elegantapp/pwa-asset-generator

↓ 32 callersMethodlog
(...args: string[])
src/models/logger.ts:5
↓ 31 callersFunctiongenerateTempImages
( options: CLIOptions, source = './static/logo.png', output = './temp', )
src/main.test.ts:13
↓ 15 callersMethoderror
(...args: string[] | Error[])
src/models/logger.ts:8
↓ 12 callersMethodwarn
(...args: string[])
src/models/logger.ts:6
↓ 9 callersFunctiongetAllSnapshotsMatchStatus
( result: Result, testSuite: string, )
src/main.test.ts:534
↓ 6 callersMethodsuccess
(...args: string[])
src/models/logger.ts:9
↓ 5 callersFunctionassertEntriesInHTMLOutput
( output: string, expectedOutput: string, )
src/main.test.ts:345
↓ 5 callersFunctiongenerateOutputPath
( options: Options, imagePath: string, isManifest = false, )
src/helpers/meta.ts:13
↓ 5 callersFunctiongetPrefix
()
src/helpers/logger.ts:13
↓ 5 callersFunctiongetTime
()
src/helpers/logger.ts:11
↓ 5 callersFunctionmapToIconImageFileObj
( fileNamePrefix: string, width: number, height?: number, )
src/helpers/images.ts:13
↓ 5 callersFunctionoptionsWith
(overrides: Partial<Options> = {})
src/helpers/images.test.ts:9
↓ 5 callersFunctionreadIndex
()
src/main.test.ts:275
↓ 3 callersFunctionconvertBackslashPathToSlashPath
(backSlashPath: string)
src/helpers/file.ts:31
↓ 3 callersFunctionreadManifest
()
src/main.test.ts:178
↓ 3 callersFunctionsaveImagesToManifest
()
src/main.test.ts:157
↓ 3 callersFunctionsaveManifest
(manifestMock: { name: string; display: string; scope: string; description: string;
src/main.test.ts:165
↓ 2 callersFunctioncanNavigateTo
(source: string)
src/helpers/puppets.ts:262
↓ 2 callersFunctioncollectDiagnostics
()
src/helpers/puppets.ts:82
↓ 2 callersFunctiongenerateAppleLaunchImageHtml
( savedImages: SavedImage[], options: Options, darkMode: boolean, )
src/helpers/meta.ts:113
↓ 2 callersFunctiongenerateImages
Generates PWA assets based on a source input and saves generated images in the output folder provided @param source - A local image file, a local HT
src/main.ts:37
↓ 2 callersFunctiongetExtension
(file: string)
src/helpers/file.ts:8
↓ 2 callersFunctiongetLocalBrowserInstance
( launchArgs: PuppeteerOptions, noSandbox: boolean, )
src/helpers/browser.ts:51
↓ 2 callersFunctiongetSplashScreenMetaData
( options: Options, browser: Browser, )
src/helpers/puppets.ts:229
↓ 2 callersFunctionisUrl
(val: string)
src/helpers/url.ts:6
↓ 2 callersFunctionisUrlExists
(source: string)
src/helpers/url.ts:16
↓ 2 callersFunctionmapToImageFileObj
( fileNamePrefix: string, width: number, height: number, scaleFactor: number, orientation: Orientati
src/helpers/images.ts:25
↓ 2 callersMethodraw
(...args: string[])
src/models/logger.ts:4
↓ 2 callersFunctionstripOnly
(key: string)
src/helpers/flags.ts:12
↓ 2 callersFunctionuniqWithDeepStrictEqual
(arr: T[])
src/helpers/images.ts:7
↓ 2 callersFunctionuseShell
(isSourceUrl = false)
src/helpers/url.ts:62
↓ 1 callersFunctiondoFilesLookSimilar
( fileAPath: string, fileBPath: string, testSuite: string, )
src/main.test.ts:510
↓ 1 callersFunctionfileUrl
(filePath: string)
src/helpers/file.ts:69
↓ 1 callersFunctiongenerateAppleTouchIconHtml
( savedImages: SavedImage[], options: Options, )
src/helpers/meta.ts:66
↓ 1 callersFunctiongenerateFaviconHtml
( savedImages: SavedImage[], options: Options, )
src/helpers/meta.ts:82
↓ 1 callersFunctiongenerateMsTileImageHtml
( savedImages: SavedImage[], options: Options, )
src/helpers/meta.ts:98
↓ 1 callersFunctiongetAppDir
()
src/helpers/file.ts:34
↓ 1 callersFunctiongetAppleSplashScreenData
( browser: Browser, options: Options, )
src/helpers/puppets.ts:22
↓ 1 callersFunctiongetBrowserInstance
( launchArgs: PuppeteerOptions, noSandbox: boolean, )
src/helpers/browser.ts:119
↓ 1 callersFunctiongetChromeBuildIdFromPuppeteer
()
src/helpers/installer.ts:37
↓ 1 callersFunctiongetImageBase64Url
(imagePath: string)
src/helpers/file.ts:105
↓ 1 callersFunctiongetLaunchedChromeVersionInfo
( chrome: LaunchedChrome, )
src/helpers/browser.ts:89
↓ 1 callersFunctiongetLocalRevisionInfo
()
src/helpers/browser.ts:34
↓ 1 callersFunctiongetMaskablePrefix
()
src/helpers/file.ts:55
↓ 1 callersFunctiongetOptimalConcurrency
(imageCount: number)
src/helpers/puppets.ts:269
↓ 1 callersFunctiongetPreferredBrowserRevisionInfo
()
src/helpers/installer.ts:62
↓ 1 callersFunctiongetRelativeFilePath
( referenceFilePath: string, filePath: string, )
src/helpers/file.ts:84
↓ 1 callersFunctiongetSystemBrowserInstance
( chrome: LaunchedChrome, launchArgs?: PuppeteerOptions, )
src/helpers/browser.ts:107
↓ 1 callersFunctiongetVisualDiff
( fileAPath: string, fileBPath: string, )
src/main.test.ts:455
↓ 1 callersFunctionhasDarkModeElement
()
src/helpers/meta.ts:253
↓ 1 callersFunctionhasElement
(selector: string)
src/helpers/meta.ts:251
↓ 1 callersFunctionkillBrowser
( browser: Browser, chrome: LaunchedChrome | undefined, )
src/helpers/browser.ts:179
↓ 1 callersFunctionlaunchSystemBrowser
()
src/helpers/browser.ts:78
↓ 1 callersFunctionlocateTable
()
src/helpers/puppets.ts:48
↓ 1 callersFunctionsaveImages
( imageList: Image[], source: string, output: string, options: Options, browser: Browser, )
src/helpers/puppets.ts:294
↓ 1 callersFunctionsaveIndex
()
src/main.test.ts:268
↓ 1 callersFunctionsaveVisualDiff
( filePath: string, diffFileBuffer: Buffer, testSuite: string, )
src/main.test.ts:492
↓ 1 callersMethodtrace
(...args: string[])
src/models/logger.ts:7
FunctionaddIconsToManifest
( manifestContent: ManifestJsonIcon[], manifestJsonFilePath: string, )
src/helpers/meta.ts:190
FunctionaddMetaTagsToIndexPage
( htmlMeta: HTMLMeta, indexHtmlFilePath: string, xhtml: boolean, )
src/helpers/meta.ts:236
Functionerror
(...args: string[])
src/helpers/logger.ts:35
FunctionformatMetaTags
(htmlMeta: HTMLMeta)
src/helpers/meta.ts:223
FunctiongenerateHtmlForIndexPage
( savedImages: SavedImage[], options: Options, )
src/helpers/meta.ts:135
FunctiongenerateIconsContentForManifest
( savedImages: SavedImage[], options: Options, )
src/helpers/meta.ts:43
FunctiongenerateImages
( source: string, output: string, options: Options, )
src/helpers/puppets.ts:398
FunctiongetAddress
( source: string, options: Options, )
src/helpers/url.ts:31
FunctiongetDefaultOptions
()
src/helpers/flags.ts:36
FunctiongetFileUrlOfPath
(source: string)
src/helpers/file.ts:81
FunctiongetHtmlShell
( imagePath: string, options: Options, isUrl: boolean, )
src/helpers/file.ts:110
FunctiongetIconImages
(options: Options)
src/helpers/images.ts:39
FunctiongetImageSavePath
( imageName: string, outputFolder: string, ext: Extension, maskable: boolean, isMaskableIcon: boolea
src/helpers/file.ts:48
FunctiongetRelativeImagePath
( outputFilePath: string, imagePath: string, )
src/helpers/file.ts:93
FunctiongetShellHtml
( source: string, options: Options, )
src/helpers/url.ts:56
FunctiongetShellHtmlFilePath
()
src/helpers/file.ts:46
FunctiongetSplashScreenImages
( splashScreenData: LaunchScreenSpec[], options: Options, )
src/helpers/images.ts:78
Functionidentity
(image: Image)
src/helpers/images.test.ts:17
FunctioninstallPreferredBrowserRevision
()
src/helpers/installer.ts:103
FunctionisHtmlFile
(file: string)
src/helpers/file.ts:28
FunctionisImageFile
(file: string)
src/helpers/file.ts:11
FunctionisPathAccessible
( filePath: string, mode?: number | undefined, )
src/helpers/file.ts:124
Functionlog
(...args: string[])
src/helpers/logger.ts:20
Functionlogger
(prefix: string, options?: CLIOptions)
src/helpers/logger.ts:7
FunctionmakeDirRecursiveSync
(dirPath: string)
src/helpers/file.ts:133
FunctionnormalizeOnlyFlagPairs
( flag1Key: keyof Options, flag2Key: keyof Options, opts: CLIOptions, logger: LoggerFunction, )
src/helpers/flags.ts:6
FunctionnormalizeOutput
(output: string)
src/helpers/flags.ts:29
FunctionnormalizeSandboxOption
( noSandbox: boolean | undefined, logger: LoggerFunction, )
src/helpers/flags.ts:60
Functionraw
(...args: string[])
src/helpers/logger.ts:15
FunctionscrapeDimensionsTable
(selector: string)
src/helpers/puppets.ts:42
Functionsuccess
(...args: string[])
src/helpers/logger.ts:39
Functiontrace
(...args: string[])
src/helpers/logger.ts:30
Functionwarn
(...args: string[])
src/helpers/logger.ts:25