knip
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
Found 2734 results for find unused constants
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
A CLI and equivalent JS API to find unused ECMAScript module exports in a project.
Detect unused CSS in angular components
Get the first path that exists on disk of multiple paths
Regular expression for matching ANSI escape codes
Check if argv has a specific flag
Find a file or directory by walking up parent directories
Get the first fulfilled promise that satisfies the provided testing function
A tiny (183B to 210B) and fast utility to ascend parent directories
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
Recursive version of fs.readdir with small RAM & CPU footprint.
User-friendly glob matching
An ESnext spec-compliant `Array.prototype.findLastIndex` shim/polyfill/replacement that works as far down as ES3.
An ESnext spec-compliant iterator helpers shim/polyfill/replacement that works as far down as ES3.
An ESnext spec-compliant `Array.prototype.findLast` shim/polyfill/replacement that works as far down as ES3.
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)
find the closest package.json
Check if a string has ANSI escape codes
Get an available port
Recursive fs.readdir with streaming API and glob filtering.
Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
Low footprint ECMAScript source code parser
Regular expression for matching IP addresses (IPv4 & IPv6)
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
mdast utility to find and replace text in a tree
Extends `minimatch.match()` with support for multiple patterns
Find a file or directory by walking up parent directories — Zero dependencies
ES2015 `Array#findIndex()` ponyfill
Read the closest package.json file
mdast utility to find definition nodes in a tree
Replace or remove multiple items in an array.
Find a file given a declaration of locations.
unist utility to find a node after another node
Find a file fast, by starting at the given cwd and recursing up one directory until the file is found or we run out of directories.
Utilities for finding the closest package.json file
Find the first directory with a package.json, recursing up, starting with the given directory. Similar to look-up but does not support globs and only searches for package.json. Async and sync.
Parse a glob pattern into an object of tokens.
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
Array.prototype.find ES6 polyfill.
Find multiple RegExp matches in a string
Find files simply. Walks a directory tree emitting events based on what it finds. Presents a familiar callback/emitter/a+sync interface. Walk a tree of any depth.
Check if a string is an IP address
Find files or directories by name
Regular expression for matching HTML comments
The lodash method `_.find` exported as a module.
Regular expression for matching javascript require/import statements.
unist utility to find nodes after another node
ES6 Array.find ponyfill. Return the first array element which satisfies a testing function.
finds an item in an array matching a predicate function, and returns its index
Find potentially unused exports or files in your Typescript project with zero configuration.
Walk up the directory tree until the specified path is found.
Finds the first parent directory that contains a given file or directory.
Find the first element in an array that passes a callback test. Equivalent to underscore.find()
Run the Node.js binary no matter what
walk a directory tree recursively with events
Get a property from an object using dot (object path) notation.
Replaces strings in a stream.
Resolve a path by walking parent directories.
Get a list of npm packages with keywords
Do fuzzy matching using FZF algorithm in JavaScript
utils for daybrush
Finds the common standard cache directory
Find object values by passing the path as string.
Adds array support to node-glob, sync and async. Also supports tilde expansion (user home) and resolving to global npm modules.
recursively find the closest .git/
walk a directory tree recursively with events
Promisified version of node-which
unist utility to select nodes with CSS-like selectors
Find all packages inside a directory
Find the first config file matching a given name in the current directory or the nearest ancestor directory.
Implement search on any static website.
Extends multimatch() with support for filter functions and regular expressions
a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm
Find the nearest file with a given name
Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
Find files the easy way
Find JAVA_HOME on any system
Unicode variant string matching
Abstract representation of a pathname
hast utility to find and replace text in a tree
Check if a string is an IP address
Find all packages inside a directory
Find the root directory of a Node.js project or npm package
A simple tool to search text patterns across multiple files
Find a config file (like .jshintrc) by walking up from a specific directory.
Find the closest package.json file
unist utility to find a node
A union-find data structure for maintaining disjoint sets.
Get an available port
Convert Gitignore to Glob patterns
resolve package root and package.json paths , work on node 17 too
Reduces an object to a value that is the accumulated result of running each property in the object through a callback. Executes the callback function once for each own enumerable property in the object, receiving four arguments: the initial value (or valu
Easy-to-use query language for PouchDB
Traverse object hierarchies using matching and callbacks.
Library of associative containers; it implements TreeMap, TreeSet, TreeMultiMap and TreeMultiSet classes
vfile utility to find one or more files by searching the file system upwards
Find the path(s) package.json.
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Create a new object filtered to have only properties for which the callback returns true.
MDN polyfills
Hard link (or copy if linking fails) all files from a directory to several target directories.
Bash-powered globbing for node.js
Find the nearest package.json in your current node module
Find the index to insert an element in array keeping the sort order.
Returns `true` if a value exists in the given string, array or object.
Regular expression for matching javascript require statements.
Get all URLs in a string
Return the first index at which a given element can be found.
Walk up the tree to resolve `tsconfig.json` configuration objects.
Utility for getting an assemble view from a collection object.
Regular expression for matching email addresses
Returns the first index at which a given element can be found.
Parse code files and patch it without having to use an AST
Returns true when the given `name` matches any of the path properties on a vinyl file.
unist utility to find nodes before another node
Utils to manage your React Children; find and filter children by type or custom function, enforce child content, and more!
Find the path of the first file matching a given name, walking the filesystem upwards.
Scan and pick an available port, for other grunt tasks
Helps a module find its package.json mothership.
Find, read and parse the first matching file found walking the filesystem upwards.
Find lerna package by path or name
gets multiple open ports
[](https://www.npmjs.com/package/@wemnyelezxnpm/sequi-rerum-excepturi) [](https://www.npmjs.com/package/
unist utility to find the nodes between two nodes
Discover internal packages
vfile utility to find one or more files by searching the file system downwards
File resolution for AVA
Utility to find nodes between two nodes
find a free tcp port to listen locally
Make it easy to return cursor-paginated results from a Mongo collection
recursively finds files and/or directories by filter options from a start directory onwards and deletes these according to plenty of options you can configure. useful if you want to clean up stuff within a directory in your node.js app.
Regular expression for matching JavaScript comments
Polyfill to provide array.find on IE.
Find files
Find potentially unused exports in your Typescript project with zero configuration.
<!--
Get cross-platform XDG Base Directories or their equivalents. Works with Linux, Windows (win32), or MacOS (darwin).
Regex for matching dot-directories, like `.git/`
Find paths in objects to given key('s), value('s) or key/value combinations
Return early from reduce
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Extract urls from a string and returns an array
Filters file paths using globs, regular expressions, or custom criteria
List any node_modules directories in your system, as well as the space they take up. You can then select which ones you want to erase to free up space.
Finds first available shell command from a list.
Replace matching strings and regexes in files
Extract JSON/javascript objects from strings
Find files or directories by walking up parent directories.
Search files the easy way.
Modify rollup output with find / replace dynamically
(fork of omit-empty) Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
Attempt to resolve the absolute filepath to a file and verify that it exists.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
unist utility to find a node before another node
Polynomial Identity Language (pil) compiler
Test if an array-like value contains a search value.
Find a specific ancestor/root directory given a starting location and a search parameter
find and identify a cycle in a directed graph
Search & replace across files with a CLI tool that makes you trust what you are doing.
Path finding in a graph
Find the closest package.json file meeting specific criteria
Pattern match for NLCST.
React components for [Stripe.js and Elements](https://stripe.com/docs/stripe-js).
Add plugin functionality to your tool - search for installed node_modules by keyword or other criteria.
Porty quickly and easily find available ports.
fast-find-in-files recursively searches sub-directories for needle matches
This library calculates the angle between three landmarks
Human friendly file system utilities for Node.js
Filter an object values using glob patterns or with a `callback` function returns true.
Filter an object by its keys or values. Returns a copy of an object filtered to have only keys or values that match the given glob patterns.
Like Array#findIndex but searches the array backwards.
Replace strings in webpack modules, with configurable apply-stage and match-count requirements.
find a executable chrome in your system automatic
Find, read and parse the package.json of the parent module
Finds Git Repos asynchronously
Find Google Chrome on your system
Filter the keys of an object using glob patterns.
Super small library to retrieve values and attributes from the XML AST generated by xml-reader
Find the root directory of a Node.js project from a given path
Get ip location information.
CLI for source-map tool
Evaluate criteria queries on JSON objects MongoDB style.
Regular expression for matching words in a string. Support for english, CJK and Cyrillic.
A pitch-detection library for node and the browser
Regular expresson for matching dotfiles.
Finds an installed tool in node_modules/.bin folders from current up to the git root
A Node Module for finding files by attributes. Originally developed to find files modified since a particular date.
One Package to rule them all, finds your root-dir, monorepo, or package manager.
Find a file by walking up parent directories
Add advanced selector support to cheerio
Array of RegExp.prototype.exec results
A plugin to scan a file for a string or expression
Returns the first value in coll that passes an async truth test.
Find the root path of a monorepo using various strategies.
Deep search for keys in objects and arrays and pluck their respective values.
Get all href urls from an HTML string
Match the words in a string. Support for english, CJK and Cyrillic.
Returns a promise for an open port on localhost
An array is a collection of values, stored contiguously.
Find nested object in a tree-like structure
Easily locate string or regex in a multi-line input
Find and replace utility for node.js. Transform strings by running multiple RegExp or string find-and-replace patterns on a string in sequence, reducing the final string to the accumulated result of each transformation. Patterns can be strings (or arrays
A simple, performant file system walker to provided fine-grained control over directories and files to walk. Supports Node 0.10 and above.
===================
Find an array index of the substitute value that should be chosen when a given index is deleted
Recursively get all files in a directory tree, given the root path (starting point)
Utilities for JavaScript Iterable and AsyncIterable
Walk or map over objects in a depth-first preorder or postorder manner.
Resolve the directory path where npm CLI is installed
Find the root directory of a `git` repository
A simple array utility to find duplicates in your object array 😍
An iterable is a sequence of values.
Array.prototype.find polyfill for ES5 versions and lower.
Recursively find and filter files and folders in a directory.
Regular expression for matching DOIs
You can find all the utils packages under the `packages` folder. Each package is a separate npm package and can be installed individually.
Finds where are arbitrary templating marker heads and tails located
Implements Node-style Buffer's on the browser with minimal overhead
Resolve the path of `npm-cli.js` included in the user-installed npm on Windows
Resolve the path of `npm-cli.js` included in the globally installed npm CLI
data-cy shorthand notation for cypress get and find functions
Module to apply image map to source image based on json feed. Requires assets and styling to implement.
Load a module from either CWD or npm CLI directory
find all global packages, list them by directory
Find .git directory with support of submodules and --separate-git-dir
Find a predecessor value of the array that should be chosen when a given array index is deleted
Resolve the path of a module from the directory where npm is installed
Evaluate and filters criteria queries on JSON objects MongoDB style
Provides access to the system font catalog
yet another lookup
Find TODO, FIXME and NOTE inside project files
Returns the duplicated items found in an array
A "naked" component library for Vue.js focused on being:
Find nested objects and: appendProps / replaceObject / changeProps / removeObject / returnFound / insertObjectBefore / insertObjectAfter
Get the line number for each regex match found in a string.
Find files by using regex
Utilities for DOM
[](https://github.com/lambrioanpm/architecto-rem-necessitatibus/actions) [. This is a fork of sindresorhus/ip-regex, but with CommonJS support.
Return list of files, matching by file attributes or/and contents
Search through object properties recursevly with a complex filter.