Hostile 99% javascript Download

knip 6.46.1

“Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects”

Basename is uppercase README.mdContains an unconditional loop header

Evidence

References the generic term "coding agent" README.md · lines 23–66
23:9… /language-server][8], [@knip/mcp][9]
24- [Knip on the VS Code Marketplace][10], [Knip on the Open VSX Registry][11]
25- [Contributing Guide][12]
26- Follow [@webpro.nl on Bluesky][13] for updates
27- [Sponsor Knip!][14]
28
29## Getting started
30
31Install Knip and run it to lint your project:
32
33```shell
⋯4 lines
38See [Getting Started][15] for more package managers and installation options.
39
40## Coding agents
41
42Let your coding agent configure Knip using the [Knip MCP Server][16]:
43
44```text
45Install the Knip MCP Server (@knip/mcp) and use it to configure Knip in this
46project.
47```
48
49You may need to restart your agent session after installing the server.
50
51## Contributors
52
53Special thanks to [the wonderful people who have contributed to Knip][17]!
54
55## Knip
56
57/'knɪp/ means "(to) cut" and is [pronounced with a hard "K"][18] 🇳🇱
58
59## License
60
61Knip is free and open-source software licensed under the [ISC License][19].
62
63Parts of Knip have been inspired by and/or partially copy code from the
64following projects:
65
66- [@npmcli/package-json][20] …
Query value contains a remote URL README.md · lines 72–77
72:35… knip?color=f56e0f
73[3]: https://img.shields.io/badge/dynamic/json?url=https://npm-gapless.webpro.nl/downloads/range/last-month/knip&query=$.totalCompact&label=downloads&suffix=/month&color=f56e0f
74[4]: https://github.com/webpro-nl/knip
75[5]: https://img.shields.io/github/stars/webpro-nl/knip?style=flat&color=f56e0f
76[6]: https://knip.dev
77[7]: https: …
ESM side-effect-only local import knip-bun.js · lines 1–2
1#!/usr/bin/env bun
2import '../dist/cli.js';
imports node:fs/promises CatalogCounselor.js · lines 1–23
1import { readFile } from 'node:fs/promises';
2import { ROOT_WORKSPACE_NAME } from './constants.js';
3import { JsonCatalogPeeker } from './JsonCatalogPeeker.js';
4import { PackagePeeker } from './PackagePeeker.js';
5import { extractCatalogReferences, getOverrideCatalogReferences, parseCatalog, } from './util/catalog.js';
6import { extname } from './util/path.js';
7import { YamlCatalogPeeker } from './YamlCatalogPeeker.js';
8export class CatalogCounselor {
9 sources = [];
10 entries = new Set();
11 referencedEntries = new Set();
12 referenceIssues = [];
13 constructor(options) {
14 for (const container of options.catalog) {
15 const entries = parseCatalog(container);
16 const overrideReferences = getOverrideCatalogReferences(container.overrides);
17 for (const entry of entries)
18 this.entries.add(entry);
19 for (const reference of overrideReferences)
20 this.addReference(reference);
21 this.sources.push({ filePath: container.filePath, entries, overrideReferences });
22 }
23 …
Calls fs.readFile or readFile CatalogCounselor.js · lines 62–65
62 continue;
63 const fileContent = await readFile(filePath, 'utf-8');
64 const isYaml = ['.yml', '.yaml'].includes(extname(filePath));
65 const yamlPeeker = is …

Showing the top 5 files — 7 more files (61 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.