Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/webpro-nl/knip
/ functions
Functions
3,205 in github.com/webpro-nl/knip
⨍
Functions
3,205
◇
Types & classes
619
↓ 7 callers
Method
mkdirSync
(p, { mode = 493, recursive = false } = {})
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5308
↓ 7 callers
Method
realpathSync
(p)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4840
↓ 7 callers
Method
registerEntry
(p, index)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4989
↓ 7 callers
Function
resolve
(binary, words, options)
packages/knip/src/binaries/plugins.ts:18
↓ 7 callers
Method
row
()
packages/knip/src/util/table.ts:33
↓ 7 callers
Method
update
(messages: string[])
packages/knip/src/ConsoleStreamer.ts:45
↓ 6 callers
Method
accessSync
(p, mode = fs.constants.F_OK)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4869
↓ 6 callers
Method
closePromise
(fd)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4750
↓ 6 callers
Function
describeFile
(cwd: string, relativePath: string)
packages/knip/test/session/util.ts:9
↓ 6 callers
Function
findImportedCalls
(program: Program, module: ModuleMatch)
packages/knip/src/typescript/ast-helpers.ts:118
↓ 6 callers
Method
fsMapToBase
(p)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:1535
↓ 6 callers
Function
getLineAndCol
(lineStarts: number[], pos: number)
packages/knip/src/typescript/ast-nodes.ts:58
↓ 6 callers
Function
getPackageNameFromFilePath
(value: string)
packages/knip/src/util/modules.ts:37
↓ 6 callers
Function
isGitIgnored
(filePath: string)
packages/knip/src/util/glob-core.ts:36
↓ 6 callers
Function
loadFile
(filePath: string)
packages/knip/src/util/fs.ts:37
↓ 6 callers
Method
mapFromBase
(path)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:2828
↓ 6 callers
Function
stripVersionFromSpecifier
(specifier: string)
packages/knip/src/util/modules.ts:59
↓ 6 callers
Function
toCommandBinary
( binary: string, { optionalBinaries }: GetInputsFromScriptsOptions, inputOptions: { dir?: string } = {}
packages/knip/src/binaries/util.ts:6
↓ 5 callers
Function
addNsValue
(map: IdToNsToFileMap, id: string, ns: string, value: string)
packages/knip/src/util/module-graph.ts:74
↓ 5 callers
Function
argsAfter
(args: readonly T[], token: string)
packages/knip/src/binaries/util.ts:27
↓ 5 callers
Function
argsFrom
(args: readonly T[], from: string)
packages/knip/src/binaries/util.ts:24
↓ 5 callers
Method
chownSync
(p, uid, gid)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5140
↓ 5 callers
Function
compiler
(text: string)
packages/knip/src/compilers/mdx.ts:18
↓ 5 callers
Method
createMessageItem
* @param {string} label * @param {string} [tooltip] * @returns {TreeViewItem}
packages/vscode-knip/src/tree-view-base.js:113
↓ 5 callers
Method
createTreeViewItems
* @typedef {{ * label?: string; * tooltip?: string; * tooltipChildren?: string; * description?: string; * filePath?: string; *
packages/vscode-knip/src/tree-view-base.js:226
↓ 5 callers
Function
getBaseImport
(filePath: string)
packages/knip/test/helpers/baseNodeObjects.ts:46
↓ 5 callers
Function
getDependenciesFromConfig
(config: BabelConfigObj)
packages/knip/src/plugins/babel/index.ts:22
↓ 5 callers
Function
getErrorMessage
(error)
packages/mcp-server/src/tools.js:15
↓ 5 callers
Function
getPassThroughReExportSources
(importMaps: ImportMaps, identifier: string)
packages/knip/src/graph-explorer/visitors.ts:37
↓ 5 callers
Function
glob
(_patterns: string[], options: GlobOptions)
packages/knip/src/util/glob-core.ts:291
↓ 5 callers
Function
isBinary
(input: Input)
packages/knip/src/util/input.ts:67
↓ 5 callers
Function
isStartsLikePackageName
(specifier: string)
packages/knip/src/util/modules.ts:54
↓ 5 callers
Function
loadJSON
(filePath: string)
packages/knip/src/util/fs.ts:57
↓ 5 callers
Method
loadSourceText
(filePath: string)
packages/knip/src/typescript/SourceFileManager.ts:25
↓ 5 callers
Method
lutimesPromise
(p, atime, mtime)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5286
↓ 5 callers
Method
lutimesSync
(p, atime, mtime)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5289
↓ 5 callers
Function
makeError
(pnpCode, message, data = {}, code)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5782
↓ 5 callers
Method
on
()
packages/knip/src/plugins/eleventy/helpers.ts:8
↓ 5 callers
Method
openPromise
(p, flags, mode)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4694
↓ 5 callers
Method
readPromise
(fd, buffer, offset, length, position)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4722
↓ 5 callers
Method
readRawFile
(filePath: string)
packages/knip/src/typescript/SourceFileManager.ts:83
↓ 5 callers
Method
readdirPromise
(p, opts)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5417
↓ 5 callers
Method
removePromise
(p, { recursive = true, maxRetries = 5 } = {})
packages/knip/fixtures/yarn-pnp/.pnp.cjs:947
↓ 5 callers
Method
renameSync
(oldP, newP)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5146
↓ 5 callers
Method
resolveVirtual
(p)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:2855
↓ 5 callers
Method
rmdirSync
(p, { recursive = false } = {})
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5323
↓ 5 callers
Function
run
()
packages/knip/test/infra/cache-entry-policy.test.ts:12
↓ 5 callers
Function
sanitizeSpecifier
(specifier: string)
packages/knip/src/util/modules.ts:100
↓ 5 callers
Method
saveAndClose
()
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4680
↓ 5 callers
Function
serialize
(data: unknown)
packages/knip/fixtures/namespaces/shadow-false-negative/module.ts:3
↓ 5 callers
Method
setFileSource
(p, content)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5057
↓ 5 callers
Method
symlinkSync
(target, p)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5377
↓ 5 callers
Function
toAlias
(specifier: string, prefix: string | string[], options: Options = {})
packages/knip/src/util/input.ts:143
↓ 5 callers
Function
toDeferResolveProductionEntry
(specifier: string, options: Options = {})
packages/knip/src/util/input.ts:125
↓ 5 callers
Function
type
(id: ConfigurationHintType)
packages/knip/src/reporters/util/configuration-hints.ts:46
↓ 5 callers
Method
unlinkPromise
(p)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5263
↓ 5 callers
Method
unlinkSync
(p)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5266
↓ 5 callers
Method
utimesSync
(p, atime, mtime)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5280
↓ 5 callers
Method
writePromise
(fd, buffer, offset, length, position)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4737
↓ 4 callers
Method
#getClientForUri
* @param {vscode.Uri} uri * @returns {LanguageClient | undefined}
packages/vscode-knip/src/index.js:118
↓ 4 callers
Function
EISDIR
(reason)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:187
↓ 4 callers
Function
LE_HEAP_STORE_I32
(byteOffset, value)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:3822
↓ 4 callers
Function
ObjectPrototypeHasOwnProperty
(obj, prop)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:6124
↓ 4 callers
Function
StringPrototypeStartsWith
(str, ...rest)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:6133
↓ 4 callers
Function
abort
(what)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:3727
↓ 4 callers
Method
addEntryPath
(filePath: string, options?: { skipExportsAnalysis: boolean })
packages/knip/src/ProjectPrincipal.ts:141
↓ 4 callers
Method
addMemoryMark
(label: string)
packages/knip/src/util/Performance.ts:92
↓ 4 callers
Method
addReference
({ catalogName, packageName }: CatalogReference)
packages/knip/src/CatalogCounselor.ts:40
↓ 4 callers
Function
buildFileDescriptor
( filePath: string, cwd: string, graph: ModuleGraph, entryPaths: Set<string>, options: FileDescripto
packages/knip/src/session/file-descriptor.ts:11
↓ 4 callers
Method
cast
(message: string | string[], sub?: string)
packages/knip/src/ConsoleStreamer.ts:51
↓ 4 callers
Function
cb
()
packages/knip/fixtures/re-exports/export-declaration/src/exporter/exporterA.ts:1
↓ 4 callers
Function
collectIdentifiers
(source: string, fileName: string, importedComponents?: Set<string>)
packages/knip/src/plugins/_vue/auto-import.ts:53
↓ 4 callers
Function
createCustomElementVisitor
( ctx: PluginVisitorContext, isRegistrationSpecifier: (specifier: string) => boolean, { decoratorName =
packages/knip/src/plugins/_custom-elements/custom-element-visitor.ts:53
↓ 4 callers
Method
createReadStream
(p, { encoding } = {})
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4759
↓ 4 callers
Method
createWriteStream
(p, { encoding } = {})
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4794
↓ 4 callers
Function
customElement
(_tag: string)
packages/knip/fixtures/plugins/fast/not-fast-element.ts:1
↓ 4 callers
Method
emit
()
packages/knip/src/plugins/eleventy/helpers.ts:9
↓ 4 callers
Function
expandScript
( name: string, forwardedArgs: ScriptArg[], scripts: Record<string, string> | undefined, options: Bina
packages/knip/src/binaries/util.ts:53
↓ 4 callers
Function
findCallArg
(program: Program, fnName: string)
packages/knip/src/typescript/ast-helpers.ts:147
↓ 4 callers
Function
findMatch
(haystack: (string | RegExp)[], needle: string)
packages/knip/src/util/regex.ts:7
↓ 4 callers
Function
findPackageLocator
(location, { resolveIgnored = false, includeDiscardFromLookup = false } = {})
packages/knip/fixtures/yarn-pnp/.pnp.cjs:7231
↓ 4 callers
Function
findWebpackDependenciesFromConfig
(config, options)
packages/knip/src/plugins/webpack/index.ts:103
↓ 4 callers
Function
fn
(_: any)
packages/knip/fixtures/imports/basic/index.ts:8
↓ 4 callers
Function
fn
()
packages/knip/fixtures/fix/reexported.ts:24
↓ 4 callers
Function
forEachAliasReExport
(importMaps: ImportMaps, callback: AliasReExportCallback)
packages/knip/src/graph-explorer/visitors.ts:19
↓ 4 callers
Method
fstatSync
(fd, opts)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4898
↓ 4 callers
Function
getAliasReExportMap
(importMaps: ImportMaps, identifier: string)
packages/knip/src/graph-explorer/visitors.ts:40
↓ 4 callers
Function
getCache
(graph: ModuleGraph)
packages/knip/src/graph-explorer/cache.ts:26
↓ 4 callers
Function
getCachedExportTable
(graph: ModuleGraph, filePath: string)
packages/knip/src/graph-explorer/cache.ts:110
↓ 4 callers
Function
getColoredTitle
(title: string, count: number)
packages/knip/src/reporters/util/util.ts:14
↓ 4 callers
Method
getConfig
@returns {Promise<Config>}
packages/language-server/src/server.js:183
↓ 4 callers
Method
getConfigForPlugin
(pluginName: PluginName)
packages/knip/src/WorkspaceWorker.ts:175
↓ 4 callers
Method
getFileDescriptor
(filePath: string)
packages/knip/src/util/file-entry-cache.ts:45
↓ 4 callers
Function
getFirstPropertyValue
(node: any, propertyName: string)
packages/knip/src/typescript/ast-helpers.ts:83
↓ 4 callers
Method
getManifestForWorkspace
(name: string)
packages/knip/src/ConfigurationChief.ts:336
↓ 4 callers
Function
getPackageInformationSafe
(packageLocator)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:7037
↓ 4 callers
Function
getPathForDisplay
(p)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5810
↓ 4 callers
Function
getScriptCommands
(script: string)
packages/knip/src/util/scripts.ts:52
↓ 4 callers
Function
getScriptFromTemplate
(template: TemplateLiteral)
packages/knip/src/typescript/ast-nodes.ts:91
↓ 4 callers
Function
getStringValues
(node: any)
packages/knip/src/typescript/ast-helpers.ts:171
← previous
next →
101–200 of 3,205, ranked by callers