MCPcopy Create free account

hub / github.com/webpro-nl/knip / functions

Functions3,205 in github.com/webpro-nl/knip

↓ 688 callersFunctionresolve
(id: string)
packages/knip/test/helpers/resolve.ts:8
↓ 643 callersFunctioncreateOptions
(options: CreateOptions)
packages/knip/src/util/create-options.ts:36
↓ 629 callersFunctionmain
()
packages/knip/src/cli.ts:34
↓ 334 callersFunctionassert
(condition, text)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:3515
↓ 185 callersFunctionhasDependency
(dependencies: Set<string>, values: (string | RegExp)[])
packages/knip/src/util/plugin.ts:9
↓ 156 callersMethodset
* Real method merges configurations with Lodash's `mergeWith` * https://github.com/karma-runner/karma/blob/v6.4.4/lib/config.js#L343
packages/knip/src/plugins/karma/helpers.ts:48
↓ 78 callersMethodresolve
(p)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4691
↓ 76 callersFunctiondefineConfig
packages/knip/fixtures/plugins/playwright-ct2/playwright-ct.config.ts:1
↓ 76 callersFunctiontoDependency
(specifier: string, options: Options = {})
packages/knip/src/util/input.ts:103
↓ 64 callersMethodsort
(column: string, order: SortOrder = 'asc')
packages/knip/src/util/table.ts:48
↓ 62 callersFunctiontoProductionEntry
(specifier: string, options: Options = {})
packages/knip/src/util/input.ts:85
↓ 55 callersFunctionrequire
()
packages/knip/fixtures/trace/require.ts:2
↓ 55 callersFunctiontoDeferResolve
(specifier: string, options: Options = {})
packages/knip/src/util/input.ts:117
↓ 51 callersMethodmapToBase
(path)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:2831
↓ 48 callersFunctiontoEntry
(specifier: string)
packages/knip/src/util/input.ts:77
↓ 40 callersFunction_addLocalRef
(name: string, pos: number)
packages/knip/src/typescript/visitors/walk.ts:368
↓ 40 callersFunctionisInternal
(id: string)
packages/knip/src/util/path.ts:36
↓ 37 callersFunctiongetStringValue
(node: any)
packages/knip/src/typescript/ast-nodes.ts:83
↓ 37 callersMethodtoString
()
packages/knip/src/util/table.ts:156
↓ 36 callersFunctionexec
(command: string, options: { cwd: string })
packages/knip/test/helpers/exec.ts:8
↓ 31 callersFunctionisFile
(cwdOrPath: string, name?: string)
packages/knip/src/util/fs.ts:17
↓ 30 callersMethodmakeCallSync
(p, discard, accept, { requireSubpath = true } = {})
packages/knip/fixtures/yarn-pnp/.pnp.cjs:2693
↓ 30 callersMethodmakeCallback
(resolve, reject)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:1963
↓ 29 callersFunctionrelative
(from: string, to: string)
packages/knip/src/util/path.ts:20
↓ 27 callersFunctiontoAbsolute
(id: string, base: string)
packages/knip/src/util/path.ts:32
↓ 25 callersFunctionisStringLiteral
(node: any)
packages/knip/src/typescript/ast-nodes.ts:78
↓ 25 callersMethodmakeCallPromise
(p, discard, accept, { requireSubpath = true } = {})
packages/knip/fixtures/yarn-pnp/.pnp.cjs:2682
↓ 24 callersFunctionparseArgs
(input: readonly (string | Word)[], opts: Opts = {})
packages/knip/src/util/parse-args.ts:40
↓ 24 callersFunctiontoPosix
packages/vscode-knip/src/index.js:35
↓ 22 callersFunctionreadFile
(filePath: string)
packages/knip/src/plugins/_vue/auto-import.ts:43
↓ 22 callersMethodresolveFilename
(reason, p, resolveLastComponent = true, throwIfNoEntry = true)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5014
↓ 22 callersFunctiontoConfig
(pluginName: PluginName, specifier: string, options: Options = {})
packages/knip/src/util/input.ts:94
↓ 21 callersMethodclear
()
packages/knip/src/ConsoleStreamer.ts:59
↓ 20 callersFunctioncompact
(collection: Collection<T | undefined>)
packages/knip/src/util/array.ts:4
↓ 20 callersMethodstatSync
(p, opts = { bigint: false, throwIfNoEntry: true })
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4882
↓ 19 callersFunctionEBADF
(reason)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:178
↓ 18 callersFunctiongetPackageNameFromModuleSpecifier
(specifier: string)
packages/knip/src/util/modules.ts:5
↓ 18 callersMethodreadFileSync
(p, encoding)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5396
↓ 18 callersFunctiontimerify
(fn: T, name: string = fn.name)
packages/knip/src/util/Performance.ts:172
↓ 18 callersMethodvisit
(n: Node)
packages/knip/fixtures/ignore-exports-used-in-file/typeof-class/src/api.ts:34
↓ 17 callersFunctionisInNodeModules
(filePath: string)
packages/knip/src/util/path.ts:30
↓ 16 callersFunctionisDirectory
(cwdOrPath: string, name?: string)
packages/knip/src/util/fs.ts:9
↓ 16 callersMethodwriteFileSync
(p, content, opts)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5225
↓ 15 callersFunctionfindProperty
(node: any, name: string)
packages/knip/src/typescript/ast-helpers.ts:163
↓ 15 callersMethodisDirectory
()
packages/knip/fixtures/yarn-pnp/.pnp.cjs:232
↓ 14 callersFunctionEROFS
(reason)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:193
↓ 14 callersFunctioncopyFixture
(fixturePath: string)
packages/knip/test/helpers/copy-fixture.ts:6
↓ 14 callersMethodexistsSync
(p)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4849
↓ 14 callersFunctionregisterCompiler
({ extension, compiler })
packages/knip/src/graph/build.ts:181
↓ 14 callersFunctiontoBinary
(specifier: string, options: Options = {})
packages/knip/src/util/input.ts:61
↓ 14 callersFunctiontoRelative
(id: string, base: string)
packages/knip/src/util/path.ts:34
↓ 13 callersFunctioncreateManifest
(raw: PackageJson)
packages/knip/src/util/package-json.ts:249
↓ 13 callersMethodgetIssues
()
packages/knip/src/session/session.ts:14
↓ 13 callersMethodwrite
(...args)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:3090
↓ 12 callersFunctionarrayify
(value: unknown)
packages/knip/src/util/array.ts:7
↓ 12 callersFunctioncollectPropertyValues
(program: Program, propertyName: string)
packages/knip/src/typescript/ast-helpers.ts:67
↓ 12 callersMethodfindWorkspaceByFilePath
(filePath: string)
packages/knip/src/ConfigurationChief.ts:465
↓ 12 callersFunctionmakeError$1
(code, message)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:166
↓ 12 callersMethodmakeLibzipError
(error)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4360
↓ 11 callersFunctioncreateGraphExplorer
(graph: ModuleGraph, entryPaths: Set<string>)
packages/knip/src/graph-explorer/explorer.ts:15
↓ 11 callersFunctionfromArgs
(args, opts)
packages/knip/src/binaries/bash-parser.ts:29
↓ 11 callersFunctiongetPropertyValues
(node: any, propertyName: string)
packages/knip/src/typescript/ast-helpers.ts:46
↓ 11 callersMethodwriteFilePromise
(p, content, opts)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5212
↓ 10 callersFunctionENOENT
(reason)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:181
↓ 10 callersFunctionENOTDIR
(reason)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:184
↓ 10 callersMethodcloseSync
(fd)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4753
↓ 10 callersFunctioncreateSession
(options: MainOptions)
packages/knip/src/session/session.ts:20
↓ 10 callersFunctionflattenIssues
(issues: IssueRecords)
packages/knip/src/reporters/util/util.ts:95
↓ 10 callersMethodgetFileSource
(index, opts = { asyncDecompress: false })
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5078
↓ 10 callersFunctionisShadowed
(name: string, pos: number)
packages/knip/src/typescript/visitors/walk.ts:357
↓ 10 callersMethodnormalize
(rawConfig: RawConfiguration)
packages/knip/src/ConfigurationChief.ts:141
↓ 10 callersMethodreadFilePromise
(p, encoding)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5390
↓ 9 callersFunctionaddValue
(map: IdToFileMap, id: string, value: string)
packages/knip/src/util/module-graph.ts:68
↓ 9 callersMethodchmodSync
(p, mask)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5119
↓ 9 callersFunctionconfig
()
packages/knip/fixtures/config-ts-async/knip.ts:3
↓ 9 callersFunctiongetIssueTypeTitle
(reportType: keyof typeof ISSUE_TYPE_TITLE)
packages/knip/src/reporters/util/util.ts:12
↓ 9 callersMethodhandleFileChanges
(changes: WatchChange[])
packages/knip/src/session/session.ts:13
↓ 9 callersFunctionload
(filePath: string)
packages/knip/src/util/loader.ts:7
↓ 9 callersMethodopenSync
(p, flags, mode)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4697
↓ 9 callersFunctionresolve
()
packages/knip/fixtures/trace/require.ts:1
↓ 9 callersFunctionsubstringBefore
(value: string, separator: string)
packages/knip/src/util/string.ts:7
↓ 9 callersFunctiontoDeferResolveEntry
(specifier: string, options: Options = {})
packages/knip/src/util/input.ts:135
↓ 9 callersFunctiontoIgnore
(specifier: string, issueType: IssueType)
packages/knip/src/util/input.ts:152
↓ 8 callersFunctioncompareStrings
(a: string, b: string)
packages/knip/src/util/string.ts:13
↓ 8 callersMethodcreate
(fakeFs, path, opts)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:746
↓ 8 callersMethodfdToPath
(fd, reason)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5206
↓ 8 callersFunctiongetStarReExportSources
(importMaps: ImportMaps)
packages/knip/src/graph-explorer/visitors.ts:35
↓ 8 callersMethodisSymbolicLink
(index)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5069
↓ 8 callersMethodlstatPromise
(p, opts = { bigint: false })
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4910
↓ 8 callersFunctionpartition
(collection: Collection<T>, predicate: (item: T) => unknown)
packages/knip/src/util/array.ts:14
↓ 8 callersMethodreadSync
(fd, buffer, offset = 0, length = buffer.byteLength, position = -1)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4725
↓ 8 callersMethodreaddirSync
(p, opts)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5420
↓ 7 callersFunctionEINVAL
(reason)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:175
↓ 7 callersMethodcell
(column: string, value: Value, formatter?: (value: Value) => string)
packages/knip/src/util/table.ts:38
↓ 7 callersMethodchmodPromise
(p, mask)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5116
↓ 7 callersFunctioncustomElement
(_tag: string)
packages/knip/fixtures/plugins/lit/not-lit-element.ts:1
↓ 7 callersFunctionextractBinary
(command: string)
packages/knip/src/util/modules.ts:67
↓ 7 callersFunctiongetPropertyKey
(prop: any)
packages/knip/src/typescript/ast-helpers.ts:7
↓ 7 callersMethodisFile
()
packages/knip/fixtures/yarn-pnp/.pnp.cjs:238
↓ 7 callersMethodlstatSync
(p, opts = { bigint: false, throwIfNoEntry: true })
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4915
next →1–100 of 3,205, ranked by callers