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
↓ 4 callers
Method
getWorkspaceConfig
(workspaceName: string)
packages/knip/src/ConfigurationChief.ts:385
↓ 4 callers
Function
isCatalog
(input: Input)
packages/knip/src/util/input.ts:75
↓ 4 callers
Function
isConfig
(input: Input)
packages/knip/src/util/input.ts:101
↓ 4 callers
Function
isDefinitelyTyped
(packageName: string)
packages/knip/src/util/modules.ts:76
↓ 4 callers
Function
isDependency
(input: Input)
packages/knip/src/util/input.ts:109
↓ 4 callers
Function
isIgnored
(filePath: string)
packages/knip/src/run.ts:117
↓ 4 callers
Function
isMatch
(packageName: string, binaryName?: string)
packages/knip/src/graph-explorer/operations/get-dependency-usage.ts:21
↓ 4 callers
Function
isValidBinary
(str: string)
packages/knip/src/util/modules.ts:74
↓ 4 callers
Method
linkSync
(existingP, newP)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5371
↓ 4 callers
Function
merge
(state: Query, name: string, origins: ReadonlyMap<string, ExportOrigin>)
packages/knip/src/graph-explorer/operations/resolve-export-origins.ts:130
↓ 4 callers
Method
mkdirPromise
(p, opts)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5305
↓ 4 callers
Function
normalize
(values: string[])
packages/knip/src/util/get-included-issue-types.ts:18
↓ 4 callers
Method
opendirSync
(p, opts = {})
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4708
↓ 4 callers
Function
prependDirToPattern
(dir: string, pattern: string)
packages/knip/src/util/glob.ts:34
↓ 4 callers
Method
readFile
(options)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:3046
↓ 4 callers
Method
readlinkSync
(p)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5478
↓ 4 callers
Method
removeSync
(p, { recursive = true } = {})
packages/knip/fixtures/yarn-pnp/.pnp.cjs:981
↓ 4 callers
Function
resolveExportOrigins
( graph: ModuleGraph, filePath: string, identifier: string )
packages/knip/src/graph-explorer/operations/resolve-export-origins.ts:278
↓ 4 callers
Function
resolveKnipCwd
* Directory Knip runs in (its cwd), from the `knip.cwd` setting. Absolute, or * relative to the VS Code workspace folder; defaults to the folder itse
packages/vscode-knip/src/index.js:43
↓ 4 callers
Function
resolveObjectArg
(arg: any)
packages/knip/src/typescript/ast-helpers.ts:99
↓ 4 callers
Method
rmSync
(p, { recursive = false } = {})
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5344
↓ 4 callers
Function
scriptBodies
(text: string)
packages/knip/src/compilers/compilers.ts:38
↓ 4 callers
Function
shouldIgnore
(jsDocTags: Set<string>, tags: Tags)
packages/knip/src/util/tag.ts:18
↓ 4 callers
Function
showDiff
(actual: string, expected: string)
packages/knip/test/helpers/diff.ts:4
↓ 4 callers
Method
statImpl
(reason, p, opts = {})
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4928
↓ 4 callers
Method
statPromise
(p, opts = { bigint: false })
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4877
↓ 4 callers
Function
toRegexOrString
(value: string | RegExp)
packages/knip/src/util/regex.ts:4
↓ 4 callers
Method
truncateSync
(p, len = 0)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5507
↓ 4 callers
Function
walkDown
(path: string, importMaps: ImportMaps | undefined, id: string)
packages/knip/src/graph-explorer/operations/is-enumerated.ts:12
↓ 4 callers
Method
writeFile
(data, options)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:3081
↓ 4 callers
Method
writeSync
(fd, buffer, offset, length, position)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4744
↓ 3 callers
Method
#requestFileDescriptor
* * @param {vscode.TextDocument} document * @return {Promise<import('knip/session').File | typeof SESSION_LOADING | undefined>}
packages/vscode-knip/src/index.js:366
↓ 3 callers
Function
EBUSY
(message)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:169
↓ 3 callers
Function
EEXIST
(reason)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:190
↓ 3 callers
Function
LE_HEAP_LOAD_I32
(byteOffset)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:3819
↓ 3 callers
Function
StringPrototypeEndsWith
(str, ...rest)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:6127
↓ 3 callers
Function
StringPrototypeIndexOf
(str, ...rest)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:6130
↓ 3 callers
Function
StringPrototypeSlice
(str, ...rest)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:6132
↓ 3 callers
Function
_addParamShadows
(params: any, body: any)
packages/knip/src/typescript/visitors/walk.ts:404
↓ 3 callers
Function
_addShadowRange
(name: string, range: [number, number])
packages/knip/src/typescript/visitors/walk.ts:374
↓ 3 callers
Function
_collectBindingNames
(pattern: any, range: [number, number])
packages/knip/src/typescript/visitors/walk.ts:385
↓ 3 callers
Function
_collectRefsInType
( node: any, exportName: string, signatureOnly: boolean, seen = new Set<string>(), inBody = false,
packages/knip/src/typescript/visitors/walk.ts:198
↓ 3 callers
Function
addImport
( specifier: string, identifier: string | undefined, alias: string | undefined, namespace: str
packages/knip/src/typescript/get-imports-and-exports.ts:145
↓ 3 callers
Method
addIssue
(issue: Issue)
packages/knip/src/IssueCollector.ts:160
↓ 3 callers
Method
addPassthroughCopy
(input: string | Record<string, string>)
packages/knip/src/plugins/eleventy/helpers.ts:35
↓ 3 callers
Method
addReferencedDependency
(workspaceName: string, packageName: string)
packages/knip/src/DependencyDeputy.ts:169
↓ 3 callers
Method
appendFilePromise
(p, content, opts)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5184
↓ 3 callers
Method
appendFileSync
(p, content, opts = {})
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5195
↓ 3 callers
Function
callRuntimeCallbacks
(callbacks)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:3825
↓ 3 callers
Method
chownPromise
(p, uid, gid)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5137
↓ 3 callers
Function
collectFirstPropertyValue
(program: Program, propertyName: string)
packages/knip/src/typescript/ast-helpers.ts:87
↓ 3 callers
Method
copyFileSync
(sourceP, destP, flags = 0)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5157
↓ 3 callers
Method
create
* @param {ExtensionContext} context * @returns {Extension}
packages/vscode-knip/src/index.js:88
↓ 3 callers
Function
createAutoImportMaps
()
packages/knip/src/plugins/_vue/auto-import.ts:191
↓ 3 callers
Function
createFullPackageName
(prefix: string, name: string)
packages/knip/src/plugins/textlint/helpers.ts:13
↓ 3 callers
Method
deleteEntry
(p, index)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5010
↓ 3 callers
Method
describeFile
(filePath: string, options?: FileDescriptorOptions)
packages/knip/src/session/session.ts:16
↓ 3 callers
Method
discardAndClose
()
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4675
↓ 3 callers
Method
existsPromise
(p)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4846
↓ 3 callers
Method
fchmodPromise
(fd, mask)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5110
↓ 3 callers
Method
fchmodSync
(fd, mask)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5113
↓ 3 callers
Method
fchownPromise
(fd, uid, gid)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5131
↓ 3 callers
Method
fchownSync
(fd, uid, gid)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5134
↓ 3 callers
Function
file
(fileName, identifier, details, options)
packages/vscode-knip/test/fixtures/contention-descriptors.js:12
↓ 3 callers
Function
forEachNamespaceReExport
(importMaps: ImportMaps, callback: NamespaceReExportCallback)
packages/knip/src/graph-explorer/visitors.ts:28
↓ 3 callers
Function
forEachPassThroughReExport
(importMaps: ImportMaps, callback: PassThroughReExportCallback)
packages/knip/src/graph-explorer/visitors.ts:11
↓ 3 callers
Function
fromBinary
(input: Input)
packages/knip/src/util/input.ts:59
↓ 3 callers
Method
fstatPromise
(fd, opts)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4895
↓ 3 callers
Method
ftruncatePromise
(fd, len)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5517
↓ 3 callers
Method
ftruncateSync
(fd, len)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5520
↓ 3 callers
Function
funktion
()
packages/knip/fixtures/workspaces/noconfig-plugin/lib/src/util.ts:1
↓ 3 callers
Function
get
(obj: T, path: string)
packages/knip/src/util/object.ts:44
↓ 3 callers
Function
getAmbiguousStarExport
( resolution: ExportOriginResolution, identifier: string )
packages/knip/src/graph-explorer/operations/get-ambiguous-star-export.ts:7
↓ 3 callers
Method
getChildren
* @public * @param {TreeViewItem | undefined} [element] * @returns {import('vscode').ProviderResult<TreeViewItem[]>}
packages/vscode-knip/src/tree-view-base.js:157
↓ 3 callers
Method
getCurrentDurationInMs
()
packages/knip/src/util/Performance.ts:145
↓ 3 callers
Function
getDefinitelyTypedFor
(packageName: string)
packages/knip/src/util/modules.ts:78
↓ 3 callers
Function
getDependenciesFromScript
(script: string, options: GetInputsFromScriptsOptions)
packages/knip/src/binaries/bash-parser.ts:25
↓ 3 callers
Function
getDependenciesFromSettings
(settings: ESLintConfigDeprecated['settings'] = {})
packages/knip/src/plugins/eslint/helpers.ts:115
↓ 3 callers
Function
getDocs
(topic)
packages/mcp-server/src/tools.js:124
↓ 3 callers
Method
getExternalAttributes
(index)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:5685
↓ 3 callers
Method
getExtractHint
(hints)
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4641
↓ 3 callers
Method
getIgnoredWorkspacesFor
(name: string)
packages/knip/src/ConfigurationChief.ts:347
↓ 3 callers
Function
getInfo
(filePath: string)
packages/knip/src/graph-explorer/operations/resolve-export-origins.ts:57
↓ 3 callers
Function
getInputsFromScripts
(npmScripts, options)
packages/knip/src/binaries/index.ts:7
↓ 3 callers
Function
getIssuePrefix
(type: IssueType)
packages/knip/src/reporters/util/util.ts:97
↓ 3 callers
Function
getLocation
(file: IssueSymbol)
packages/knip/src/reporters/cycles.ts:25
↓ 3 callers
Function
getManifest
(dir: string)
packages/knip/src/binaries/create-script-parser-context.ts:13
↓ 3 callers
Function
getNode
(path: string)
packages/knip/src/graph-explorer/operations/get-contention.ts:22
↓ 3 callers
Function
getPackageMapTarget
(map: unknown, key: string)
packages/knip/src/util/package-json.ts:125
↓ 3 callers
Function
getPublishedTypeExportSpecifiers
(exports: PackageJson['exports'])
packages/knip/src/util/package-json.ts:95
↓ 3 callers
Method
getRealPath
()
packages/knip/fixtures/yarn-pnp/.pnp.cjs:4653
↓ 3 callers
Method
getResults
()
packages/knip/src/session/session.ts:15
↓ 3 callers
Function
getSafeScriptFromArgs
(executable: any, argsArray: any)
packages/knip/src/typescript/ast-nodes.ts:103
↓ 3 callers
Function
getSyntheticImports
(maps: AutoImportMaps, identifiers: Set<string>, templateTags?: Set<string>)
packages/knip/src/plugins/_vue/auto-import.ts:213
↓ 3 callers
Function
getTableForType
( issues: Issue[], cwd: string, options: { isUseColors?: boolean } = { isUseColors: true } )
packages/knip/src/reporters/util/util.ts:63
↓ 3 callers
Function
getWeather
(city: string)
packages/knip/fixtures/plugins/eve/agent/lib/weather.ts:3
↓ 3 callers
Method
getWorkspaceManifest
(workspaceName: string)
packages/knip/src/DependencyDeputy.ts:139
↓ 3 callers
Method
hasAcceptedExtension
(filePath: string)
packages/knip/src/ProjectPrincipal.ts:137
↓ 3 callers
Function
hasUrlScheme
(value: string)
packages/knip/src/util/url.ts:3
↓ 3 callers
Function
inMB
(bytes: number)
packages/knip/src/util/Performance.ts:46
← previous
next →
201–300 of 3,205, ranked by callers