knip
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
Found 2732 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
Regular expression for matching ANSI escape codes
Check if argv has a specific flag
Get the first path that exists on disk of multiple paths
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.
User-friendly glob matching
Recursive version of fs.readdir with small RAM & CPU footprint.
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.
find the closest package.json
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)
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.
Regular expression for matching IP addresses (IPv4 & IPv6)
Low footprint ECMAScript source code parser
mdast utility to find and replace text in a tree
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
Extends `minimatch.match()` with support for multiple patterns
ES2015 `Array#findIndex()` ponyfill
Find a file or directory by walking up parent directories — Zero dependencies
mdast utility to find definition nodes in a tree
Read the closest package.json file
Replace or remove multiple items in an array.
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.
Find a file given a declaration of locations.
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.
unist utility to find a node after another node
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
The lodash method `_.find` exported as a module.
Regular expression for matching HTML comments
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
Finds the first parent directory that contains a given file or directory.
Run the Node.js binary no matter what
Walk up the directory tree until the specified path is found.
Find potentially unused exports or files in your Typescript project with zero configuration.
walk a directory tree recursively with events
Find the first element in an array that passes a callback test. Equivalent to underscore.find()
Get a property from an object using dot (object path) notation.
Resolve a path by walking parent directories.
Get a list of npm packages with keywords
Replaces strings in a stream.
walk a directory tree recursively with events
Promisified version of node-which
utils for daybrush
Finds the common standard cache directory
Find the first config file matching a given name in the current directory or the nearest ancestor directory.
Adds array support to node-glob, sync and async. Also supports tilde expansion (user home) and resolving to global npm modules.
Find object values by passing the path as string.
Implement search on any static website.
unist utility to select nodes with CSS-like selectors
a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm
recursively find the closest .git/
Find all packages inside a directory
Do fuzzy matching using FZF algorithm in JavaScript
Extends multimatch() with support for filter functions and regular expressions
Find the nearest file with a given name
Find files the easy way
Unicode variant string matching
Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
Find JAVA_HOME on any system
hast utility to find and replace text in a tree
Abstract representation of a pathname
Check if a string is an IP address
Find the root directory of a Node.js project or npm package
Find all packages inside a directory
Find a config file (like .jshintrc) by walking up from a specific directory.
Find the closest package.json file
A simple tool to search text patterns across multiple files
Find the path(s) package.json.
Get an available port
A union-find data structure for maintaining disjoint sets.
unist utility to find a node
resolve package root and package.json paths , work on node 17 too
Convert Gitignore to Glob patterns
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
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Traverse object hierarchies using matching and callbacks.
Bash-powered globbing for node.js
Easy-to-use query language for PouchDB
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
Regular expression for matching javascript require statements.
Hard link (or copy if linking fails) all files from a directory to several target directories.
Create a new object filtered to have only properties for which the callback returns true.
MDN polyfills
Returns `true` if a value exists in the given string, array or object.
Get all URLs in a string
Find the nearest package.json in your current node module
Find the index to insert an element in array keeping the sort order.
Utility for getting an assemble view from a collection object.
Regular expression for matching email addresses
Returns true when the given `name` matches any of the path properties on a vinyl file.
Returns the first index at which a given element can be found.
Return the first index at which a given element can be found.
Parse code files and patch it without having to use an AST
Utils to manage your React Children; find and filter children by type or custom function, enforce child content, and more!
Walk up the tree to resolve `tsconfig.json` configuration objects.
Helps a module find its package.json mothership.
unist utility to find nodes before another node
Find the path of the first file matching a given name, walking the filesystem upwards.
Find, read and parse the first matching file found walking the filesystem upwards.
Scan and pick an available port, for other grunt tasks
gets multiple open ports
File resolution for AVA
Discover internal packages
Find lerna package by path or name
Utility to find nodes between two nodes
find a free tcp port to listen locally
vfile utility to find one or more files by searching the file system downwards
Find potentially unused exports in your Typescript project with zero configuration.
[](https://www.npmjs.com/package/@wemnyelezxnpm/sequi-rerum-excepturi) [](https://www.npmjs.com/package/
unist utility to find the nodes between two nodes
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
Get cross-platform XDG Base Directories or their equivalents. Works with Linux, Windows (win32), or MacOS (darwin).
<!--
Return early from reduce
Regex for matching dot-directories, like `.git/`
Find paths in objects to given key('s), value('s) or key/value combinations
Extract urls from a string and returns an array
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Replace matching strings and regexes in files
Filters file paths using globs, regular expressions, or custom criteria
Finds first available shell command from a list.
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.
Find files or directories by walking up parent directories.
Extract JSON/javascript objects from strings
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
Polynomial Identity Language (pil) compiler
unist utility to find a node before another node
Test if an array-like value contains a search value.
find and identify a cycle in a directed graph
Find a specific ancestor/root directory given a starting location and a search parameter
Path finding in a graph
Pattern match for NLCST.
Find the closest package.json file meeting specific criteria
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.
Search & replace across files with a CLI tool that makes you trust what you are doing.
Add plugin functionality to your tool - search for installed node_modules by keyword or other criteria.
Porty quickly and easily find available ports.
Filter the keys of an object using glob patterns.
fast-find-in-files recursively searches sub-directories for needle matches
React components for [Stripe.js and Elements](https://stripe.com/docs/stripe-js).
This library calculates the angle between three landmarks
Like Array#findIndex but searches the array backwards.
Finds Git Repos asynchronously
Find, read and parse the package.json of the parent module
Human friendly file system utilities for Node.js
Find Google Chrome on your system
Replace strings in webpack modules, with configurable apply-stage and match-count requirements.
find a executable chrome in your system automatic
Get ip location information.
Super small library to retrieve values and attributes from the XML AST generated by xml-reader
Regular expression for matching words in a string. Support for english, CJK and Cyrillic.
CLI for source-map tool
Evaluate criteria queries on JSON objects MongoDB style.
Find the root directory of a Node.js project from a given path
Regular expresson for matching dotfiles.
Find a file by walking up parent directories
One Package to rule them all, finds your root-dir, monorepo, or package manager.
A plugin to scan a file for a string or expression
A pitch-detection library for node and the browser
Add advanced selector support to cheerio
Finds an installed tool in node_modules/.bin folders from current up to the git root
Deep search for keys in objects and arrays and pluck their respective values.
Find the root path of a monorepo using various strategies.
Get all href urls from an HTML string
Array of RegExp.prototype.exec results
A Node Module for finding files by attributes. Originally developed to find files modified since a particular date.
An array is a collection of values, stored contiguously.
Returns the first value in coll that passes an async truth test.
Easily locate string or regex in a multi-line input
Match the words in a string. Support for english, CJK and Cyrillic.
Returns a promise for an open port on localhost
Find nested object in a tree-like structure
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.
Recursively get all files in a directory tree, given the root path (starting point)
Utilities for JavaScript Iterable and AsyncIterable
===================
Recursively find and filter files and folders in a directory.
Find an array index of the substitute value that should be chosen when a given index is deleted
Walk or map over objects in a depth-first preorder or postorder manner.
Find a predecessor value of the array that should be chosen when a given array index is deleted
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.
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
Finds where are arbitrary templating marker heads and tails located
Resolve the directory path where npm CLI is installed
Implements Node-style Buffer's on the browser with minimal overhead
You can find all the utils packages under the `packages` folder. Each package is a separate npm package and can be installed individually.
Regular expression for matching DOIs
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
Resolve the path of a module from the directory where npm is installed
data-cy shorthand notation for cypress get and find functions
Find .git directory with support of submodules and --separate-git-dir
Returns the duplicated items found in an array
Array.prototype.find polyfill for ES5 versions and lower.
find all global packages, list them by directory
Evaluate and filters criteria queries on JSON objects MongoDB style
A "naked" component library for Vue.js focused on being:
yet another lookup
Find TODO, FIXME and NOTE inside project files
Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.
Provides access to the system font catalog
Get the line number for each regex match found in a string.
Find files by using regex
Utilities for DOM
Finds the longest common parent directory path in an array of file path strings or custom objects. Also returns sub and base parts for each path.
Find nested objects and: appendProps / replaceObject / changeProps / removeObject / returnFound / insertObjectBefore / insertObjectAfter
A Vue.js 3 search input component, inspired by the global search input of Storybook and GitHub.
Search through object properties recursevly with a complex filter.
[](https://github.com/lambrioanpm/architecto-rem-necessitatibus/actions) [. This is a fork of sindresorhus/ip-regex, but with CommonJS support.
A tool for detecting unused code in projects.