detect-file
Detects if a file exists and returns the resolved filepath.
Found 2324 results for resolve file
Detects if a file exists and returns the resolved filepath.
Find a file or directory by walking up parent directories
Read the closest package.json file
Generates an asynchronous resolver function from a PAC file
Get the relative filepath from path A to path B. Calculates from file-to-directory, file-to-file, directory-to-file, and directory-to-directory.
Resolve an absolute file path from local directories, local node_modules or global node_modules.
Find a file or directory by walking up parent directories — Zero dependencies
Webpack loader that resolves relative paths in url() statements based on the original source file
Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
Find the closest package.json file
A tiny (952b), correct, general-purpose, and configurable "exports" and "imports" resolver without file-system reliance
Finds the first parent directory that contains a given file or directory.
Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.
Core modules for audit-resolve.json file and logic of its processing
Resolve module path with custom entry point `package.json` field relative to caller file
Ensures that absolute file paths are always returned from a glob pattern or array of glob patterns.
Resolves the full path to the bin file of a given package by inspecting the "bin" field in its package.json.
Human friendly file system utilities for Node.js
Find a file by walking up parent directories
Generates an asynchronous resolver function from a PAC file
Resolves symbols for dynamic code generated by a JIT via a map file.
webpack plugin to resolve TypeScript files when importing with js file extension in ESM projects
Ensures that module (import-like or `url`) can be resolved to a module on the file system.
A file loader plugin for esbuild for `require.resolve` statements.
Attempt to resolve the absolute filepath to a file and verify that it exists.
Resolves AWS credentials (and region) using env, file and IAM strategies
Find The File That Dependency Path Resolves To.
Resolve a URI relative to an optional base URI
NodeJS hook to resolve `.ts` files when a `.js` file is imported so that --experimental-strip-types works
Check if a path is inside another path
Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)
Resolves The Location Of The Package.Json File For The Given Dependency By Traversing The File System Up Starting From Given Path.
Calculate the relative path from a file's destination path to another directory or file.
Display the dependency tree of a certain module based on your yarn.lock file
A Custom Sass Import Resolver with included support for Node Module Resolution, additional file extensions, and path aliases/path mapping
Find a file by walking down parent directories.
resolve like require.resolve() on behalf of files asynchronously and synchronously
Resolve the path of a module like `require.resolve()` but from a given path
Enhance ESLint with better support for large scale monorepos
Resolve a directory that is either local, global or in the user's home directory.
Parse, Resolve, and Dereference JSON Schema $ref pointers
Returns `true` if the path appears to be relative.
Define and resolve aliases for bundle dependencies
Gulp plugin that resolves relative paths in url() statements based on the original source file
Reads and parses a JSON file.
Resolve things like Node.js — ponyfill for `import.meta.resolve`
`Start a promise chain
Rollup plugin to resolve relative imports from local folders without stating the index file
Import a module like with `require()` but from a given path
Check if a module ID is resolvable with require()
Resole and parse `tsconfig.json`, replicating to TypeScript's behaviour
Resolve relative paths as though it were in the caller's file
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
Create aliases of directories and register custom module paths
Let a globally installed package use a locally installed version of itself if available
Resolve the path of a module like `require.resolve()` but from the current working directory
Recursively resolve JSON pointers and remote authorities.
a simple Node behavior import resolution plugin for eslint-plugin-import, supporting module alias.
Library to help resolve module locations.
Get the npm global path prefix.
Find the root directory of a Node.js project or npm package
The directory used by npm for globally installed npm modules.
Copy test-fixtures to temp dir and get resolved file paths.
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
Find and load a YAML or JSON config file (like .jshintrc, package.json, bower.json etc) from either a local project, installed npm module, or the user's home directory.
Let a globally installed package use a locally installed version of itself if available
> Minimal and efficient cross-platform file watching library
Parse, Resolve, and Dereference JSON Schema $ref pointers
Extensible JSON Schema library with support for multi-file schemas using $ref
Create a deferred promise
An algorithm for resolving imports in Sass
Simple module to add additional directories to the Node module search for top-level app modules
Webpack loader that adjusts source maps
A wrapper for the "resolve" module that targets GLSL shaders instead of JavaScript
micromark utility to resolve subtokens
Parse, Resolve, and Dereference JSON Schema $ref pointers
Read the closest package.json file
A Promise-compatible abstraction that defers resolving/rejecting promises to another closure.
Delay a promise a specified amount of time
Get the directory of globally installed packages and binaries
babel-plugin-module-resolver resolver for eslint-plugin-import
Resolve a path by walking parent directories.
Find a file or directory by walking up parent directories
This packages lets you autoload your environment variables from your `.env` file, no code changes required.
Import a module like with `require()` but from the current working directory
Module resolver plugin for Babel
resolve which handles browser field support in package.json
A fork of `import-meta-resolve` with commonjs + ESM support at the same time, AKA dual package.
Parser for Github, GitLab and Bitbucket issues actions, references and mentions
File-based routing plugin for fastify. Inspired from [fastify-autoroutes](https://github.com/GiovanniCardamone/fastify-autoroutes).
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
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.
Resolve the path of a globally installed module
Walk up the tree to resolve `tsconfig.json` configuration objects.
Resolve required module's bin file.
Require and resolve global modules like a boss
Import a module like with require() but from a given path (for ESM)
Node's URL module plus relative pathing
Resolve the path of a package regardless of it having an entry point
Aids humans and automation in managing npm audit results
Resolves a given package if it is installed locally, then tries to resolve it from global registry, using battle-tested [global-modules][] package. Better approach than internal `require.resolve`, so you can trust. You just get absolute filepath to some p
Resolve a relative path against a root path with validation
One step closer to your destination.
<!-- -- This file is auto-generated from src/README_js.md. Changes should be made there. --> # Mime
Promisified setTimeout
Parse, Resolve, and Dereference JSON Schema $ref pointers
import the closest file as a node module with loader
Resolve the path to the user's local or global .gitconfig.
Helper for creating "exposed" promise object (with resolve & reject methods).
Brings the node url api layer to whatwg-url class
A helper function to resolve a module name or path in relation to the specified context and require it.
require and resolve modules relative to a path of your choice
resolve package root and package.json paths , work on node 17 too
Resolve and bundle data loader file exports at build-time.
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Use the node way to resolve required path to absolute path.
Find files or directories by walking up parent directories.
[//]: # "This README.md file is auto-generated, all changes to this file will be lost." [//]: # "To regenerate it, use `python -m synthtool`." <img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Goo
Resolves a file within a dat archive based on how web browsers would load it
Reconstruct the original URL used in an HTTP request based on the HTTP request headers
Promisified version of node-which
Caching DNS resolve
Fast relative path resolution
Fulfill long runinng promises on timeout.
a webpack plugin that transforms core-js v2 paths to core-js v3 paths
Get installation path where the given package is installed. Works for globally and locally installed packages
The `Easylibs` library is a collection of reusable JavaScript modules that can be used to build web applications. The library includes modules for progress form, file uploading, image processing, and data validation and more.
ES 2021 spec-compliant shim for Promise.any
The `Easylibs` library is a collection of reusable JavaScript modules that can be used to build web applications. The library includes modules for progress form, file uploading, image processing, and data validation and more.
Parse, Resolve, and Dereference JSON Schema $ref pointers
given a filepath return a unique id with serialised info from any package.json file is discovered on the path
Caches dns resolutions made with async dns.resolve instead of default sync dns.lookup, refreshes in background
Library that resolves AWS Cloudformation templates with exact values
A lightweight Deferred implementation, on top of Promises/A+
A JavaScript extension package for building strong and modern applications.
Resolve a package entry point to a file path (like require.resolve/import.meta.resolve) OR a file path to a package entry point
Waits until the given predicate function returns a truthy value, then resolves
Replace absolute paths to relative paths for package compilation
File Resolution for Esbuild running in the Browser
rollup plugin that represents bundle content as convenient interactive zoomable treemap
fork of eslint-import-resolver-babel-root-import that works
A small and fast library for validating parsing and resolving URIs and IRIs
Read the closest package.json file
resolve "imports" in package.json
A simple promise resolver
Find the path(s) package.json.
Return an array of resolved filepaths for require-able local or named npm modules. Wildcard (glob) patterns may be used.
Yaml Parser with additional functionality.
PATTERN_KEY_COMPARE implementation
Simplify JsonSchema/Openapi by combining allOf safely
Find an asset in a set of locations
Collect Node.JS Stream Data Into Catchment: Stream With Promise Property Resolved On Finish.
Resolve the preferred locale based on the value of an `Accept-Language` HTTP header.
Resolve a symlink's (or junction's) target
Get global npm prefix. Respects npmrc configs
ES6 Promise Shim
Get the name of a project, from package.json, git config, or basename of the current working directory.
A Synchronous Promise.resolve. Preserve Sync/Async. Only Go Async If Necessary.
Resolves index.js files with Rollup
A promise based node resolution library based on enhanced-resolve.
Creates a queue of sync or async functions with resolve and reject callback.
Custom resolve module content.
Helps a module find its package.json mothership.
Install Git for Windows by npm.
Resolve relative IRIs to absolute IRIs given a base IRI
Delay a promise a specified amount of time
Given an url resolve it as fast as possible
Babel plugin to dynamically rewrite the path in require() and ES6 import
Supports tsconfig paths in Parcelv2.
[![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
React components for [Stripe.js and Elements](https://stripe.com/docs/stripe-js).
Like `Promise.all`, but when all `Promise`s are settled.
Module resolver plugin for Gatsby
Resolve a whole structure of promises
path.relative for generating short require'able paths.
Asynchronous require.resolve() implementation
Find a file or directory by walking up parent directories
Resolve dependencies file paths in a package.json
Resolves @import statements in CSS
Import, export, require path redirect plugin for Babel
Change where a module dependency is resolved/imported from.
For limiting the time to resolve a promise.
CLI for source-map tool
A simple Node behavior import resolution plugin for eslint-plugin-import, supporting module alias, modified to allow for arrays of aliases.
Extremely light weight way to resolve jsonschema '$ref' references & inheritance: create circular/graphs, fractals from json (browser/coffeescript/javascript).
Resolve a possibly relative URL agains a source URL
Parse, Resolve, and Dereference JSON Schema $ref pointers
like require.resolve() on behalf of bower files asynchronously and synchronously
Vite plugin to handle your resources. For example, to replace occurrences by a regular expression, or resolving paths in cases where the usual tools do not help you, or something else.
Delay a promise a minimum amount of time
Returns an array of NPM directory paths based on the user's platform and environment.
ES Proposal spec-compliant shim for Promise.withResolvers
Plugin for using import maps in @web/dev-server
Create a Promise which will resolve with the provided value after a timeout.
> Apply React refs
Find the root directory of a Node.js project from a given path
A GraphQL batching model which groups execution by GraphQL fields.
XMPP connection methods resolution for JavaScript
## What is it?
Preprocessor for Jest that is able to resolve require() statements using webpack aliases.
Resolves parts and plugins from a Sanity configuration
Find the root directory of a `git` repository
Async-rendering & data-fetching for universal React applications
Table resolution utilities
a shortstop resolver like path but for node modules
Resolve the path of `npm-cli.js` included in the globally installed npm CLI
Use Webpack's enhanced-resolve inside Jest
Allow rollup to resolve local files with any extension
resolvewith with extra power
Fork of axios-cached-dns-resolve in CJS and with type safety. Caches dns resolutions made with async dns.resolve instead of default sync dns.lookup, refreshes in background
Inside-out promise; lets you call resolve and reject from outside the Promise constructor function.
Recursively resolve templates in an object, string or array.
A flexible find-up implementation supporting string, RegExp, CJS/ESM dual build, and custom matcher.
Turn css @import statements into full urls
A tiny library to help with promises you can check and resolve from outside
Wrap `require` in a try/catch block.
The CLI for working with JSON Schema. Covers formatting, linting, testing, and much more for both local development and CI/CD pipelines
Traverse JSON objects through json pointers and dereference JSON schemeas
Nodejs module loader from Typescript path alias
resolve like require.resolve() on behalf of files asynchronously and synchronously
Requires a module found relative to given root or working directory.
Babel Plugin Root Import ESLint resolver.
babel-plugin-root-import resolver for eslint-plugin-import
Bypass the require cache when requiring a module – works with both node and browserify
Offers an enhanced bower support for enhanced-resolve plugin.
Node utility to list packages that are npm linked
Resolver for Jest which uses the enhanced-resolve module
Resolve dot notation strings
TypeScript path alias resolver, re-writes JS files with relative paths according to @paths specified in tsconfig
Chmod + Directory Resolver + Shebang Rollup plugins by Harald Rudell
Light weight JSON Schema $ref resolver. Expands a JSON Schema by resolving `$ref` references from a mapping of definitions. Does not handle remote references. Has comprehensive unit tests and no dependencies.
Measure the time a promise takes to resolve
Node.js Javascript/Typescript library for keeping and resolving a given state of CasparCG into commands for casparcg-connection.
Execute an error-first callback upon resolution or rejection of a promise (and return the promise)
Utils for `generate` generators.
Solves the relative path problem in Node.js by allowing a require call to reference the current package
Returns a promise resolved in the next event loop - think `setImmediate()`
A little bundler for resolving dependencies graphs into a single concatenated file.
Returns an array of unique "global" directories based on the user's platform and environment. The resulting paths can be used for doing lookups for generators or other globally installed npm packages. Node.js / JavaScript.
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Use this to load modules whose location is specified in the `paths` section of `jsconfig.json` when using jest.
delay before run next command
Parse fields from AST (GraphQLResolveInfo) into a JSON tree
require.resolve for binaries
Shim for `import.meta.resolve`
File Resolution for Esbuild running in the Browser
Gets the home dir or resolves home directories.
A simple module to auto resolve module paths.
Resolves aliases with Rollup
Webpack resolver plugin to load relative paths from a different directory or directories.