JSPM

Found 2385 results for resolve

find-up

Find a file or directory by walking up parent directories

  • v7.0.0
  • 83.50
  • Published

resolve

resolve like require.resolve() on behalf of files asynchronously and synchronously

  • v1.22.10
  • 81.71
  • Published

resolve-from

Resolve the path of a module like `require.resolve()` but from a given path

  • v5.0.0
  • 80.61
  • Published

pkg-dir

Find the root directory of a Node.js project or npm package

  • v8.0.0
  • 79.00
  • Published

p-try

`Start a promise chain

  • v3.0.0
  • 78.98
  • Published

is-path-inside

Check if a path is inside another path

  • v4.0.0
  • 78.03
  • Published

import-local

Let a globally installed package use a locally installed version of itself if available

  • v3.2.0
  • 76.26
  • Published

resolve-cwd

Resolve the path of a module like `require.resolve()` but from the current working directory

  • v3.0.0
  • 75.46
  • Published

resolve.exports

A tiny (952b), correct, general-purpose, and configurable "exports" and "imports" resolver without file-system reliance

  • v2.0.3
  • 75.22
  • Published

global-modules

The directory used by npm for globally installed npm modules.

  • v2.0.0
  • 74.48
  • Published

global-prefix

Get the npm global path prefix.

  • v4.0.0
  • 73.98
  • Published

pac-resolver

Generates an asynchronous resolver function from a PAC file

  • v7.0.1
  • 72.26
  • Published

resolve-dir

Resolve a directory that is either local, global or in the user's home directory.

  • v1.0.1
  • 71.49
  • Published

findup-sync

Find the first file matching a given pattern in the current directory or the nearest ancestor directory.

  • v5.0.0
  • 71.12
  • Published

resolve-url-loader

Webpack loader that resolves relative paths in url() statements based on the original source file

  • v5.0.0
  • 70.86
  • Published

is-relative

Returns `true` if the path appears to be relative.

  • v1.0.0
  • 70.11
  • Published

p-defer

Create a deferred promise

  • v4.0.1
  • 69.69
  • Published

import-meta-resolve

Resolve things like Node.js — ponyfill for `import.meta.resolve`

  • v4.1.0
  • 68.76
  • Published

detect-file

Detects if a file exists and returns the resolved filepath.

  • v1.0.0
  • 68.56
  • Published

import-from

Import a module like with `require()` but from a given path

  • v4.0.0
  • 68.31
  • Published

delay

Delay a promise a specified amount of time

  • v6.0.0
  • 68.11
  • Published

is-absolute

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`.

  • v1.0.0
  • 67.67
  • Published

@open-draft/deferred-promise

A Promise-compatible abstraction that defers resolving/rejecting promises to another closure.

  • v2.2.0
  • 66.74
  • Published

global-directory

Get the directory of globally installed packages and binaries

  • v4.0.1
  • 66.61
  • Published

import-cwd

Import a module like with `require()` but from the current working directory

  • v3.0.0
  • 66.28
  • Published

find-up-simple

Find a file or directory by walking up parent directories — Zero dependencies

  • v1.0.1
  • 65.80
  • Published

browser-resolve

resolve which handles browser field support in package.json

  • v2.0.0
  • 65.72
  • Published

tsconfig

Resole and parse `tsconfig.json`, replicating to TypeScript's behaviour

  • v7.0.0
  • 65.40
  • Published

issue-parser

Parser for Github, GitLab and Bitbucket issues actions, references and mentions

  • v7.0.1
  • 65.04
  • Published

is-resolvable

Check if a module ID is resolvable with require()

  • v1.1.0
  • 64.28
  • Published

resolve-global

Resolve the path of a globally installed module

  • v2.0.0
  • 64.10
  • Published

find-pkg

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.

  • v2.0.0
  • 64.03
  • Published

cwd

Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)

  • v0.10.0
  • 63.85
  • Published

to-absolute-glob

Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.

  • v3.0.0
  • 63.84
  • Published

read-package-up

Read the closest package.json file

  • v11.0.0
  • 63.80
  • Published

module-alias

Create aliases of directories and register custom module paths

  • v2.2.3
  • 63.28
  • Published

resolve-pkg

Resolve the path of a package regardless of it having an entry point

  • v2.0.0
  • 63.28
  • Published

requireg

Require and resolve global modules like a boss

  • v0.2.2
  • 62.73
  • Published

eslint-import-resolver-alias

a simple Node behavior import resolution plugin for eslint-plugin-import, supporting module alias.

  • v1.1.2
  • 62.32
  • Published

import-from-esm

Import a module like with require() but from a given path (for ESM)

  • v2.0.0
  • 62.22
  • Published

git-config-path

Resolve the path to the user's local or global .gitconfig.

  • v2.0.0
  • 62.14
  • Published

resolve-path

Resolve a relative path against a root path with validation

  • v1.4.0
  • 61.94
  • Published

app-module-path

Simple module to add additional directories to the Node module search for top-level app modules

  • v2.2.0
  • 61.35
  • Published

@redux-saga/deferred

Helper for creating "exposed" promise object (with resolve & reject methods).

  • v1.2.1
  • 60.42
  • Published

native-url

Brings the node url api layer to whatwg-url class

  • v0.3.4
  • 59.96
  • Published

require-relative

require and resolve modules relative to a path of your choice

  • v0.8.7
  • 59.92
  • Published

@gulpjs/to-absolute-glob

Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.

  • v4.0.0
  • 59.45
  • Published

find-parent-dir

Finds the first parent directory that contains a given file or directory.

  • v0.3.1
  • 59.29
  • Published

relative

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.

  • v3.0.2
  • 57.95
  • Published

original-url

Reconstruct the original URL used in an HTTP request based on the HTTP request headers

  • v1.2.3
  • 56.11
  • Published

glsl-resolve

A wrapper for the "resolve" module that targets GLSL shaders instead of JavaScript

  • v0.0.1
  • 55.42
  • Published

which-promise

Promisified version of node-which

  • v1.0.0
  • 55.15
  • Published

@cush/relative

Fast relative path resolution

  • v1.0.0
  • 54.32
  • Published

get-installed-path

Get installation path where the given package is installed. Works for globally and locally installed packages

  • v4.0.8
  • 53.30
  • Published

@dsherret/to-absolute-glob

Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.

  • v2.0.2
  • 53.13
  • Published

promise.any

ES 2021 spec-compliant shim for Promise.any

  • v2.0.6
  • 52.11
  • Published

resolve-package

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

  • v1.0.1
  • 51.75
  • Published

promise-deferred

A lightweight Deferred implementation, on top of Promises/A+

  • v2.0.4
  • 51.48
  • Published

axios-cached-dns-resolve

Caches dns resolutions made with async dns.resolve instead of default sync dns.lookup, refreshes in background

  • v3.3.0
  • 51.18
  • Published

resolve-bin

Resolves the full path to the bin file of a given package by inspecting the "bin" field in its package.json.

  • v1.0.1
  • 50.53
  • Published

rsolve

Resolve module path with custom entry point `package.json` field relative to caller file

  • v0.2.1
  • 50.28
  • Published

async-wait-until

Waits until the given predicate function returns a truthy value, then resolves

  • v2.0.27
  • 50.24
  • Published

require-resolve

Use the node way to resolve required path to absolute path.

  • v0.0.2
  • 49.92
  • Published

url2

Node's URL module plus relative pathing

  • v1.0.4
  • 49.14
  • Published

load-pkg

Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.

  • v4.0.0
  • 48.50
  • Published

@antora/user-require-helper

A helper function to resolve a module name or path in relation to the specified context and require it.

  • v3.0.0
  • 48.45
  • Published

package-up

Find the closest package.json file

  • v5.0.0
  • 48.31
  • Published

npm-audit-resolver

Aids humans and automation in managing npm audit results

  • v3.0.0-RC.0
  • 48.30
  • Published

resolve-file

Resolve an absolute file path from local directories, local node_modules or global node_modules.

  • v0.3.0
  • 48.20
  • Published

audit-resolve-core

Core modules for audit-resolve.json file and logic of its processing

  • v3.0.0-3
  • 48.19
  • Published

@hyperjump/uri

A small and fast library for validating parsing and resolving URIs and IRIs

  • v1.3.1
  • 47.77
  • Published

asset-resolver

Find an asset in a set of locations

  • v3.0.5
  • 47.69
  • Published

mothership

Helps a module find its package.json mothership.

  • v0.3.0
  • 47.19
  • Published

promish

ES6 Promise Shim

  • v5.1.1
  • 47.15
  • Published

project-name

Get the name of a project, from package.json, git config, or basename of the current working directory.

  • v1.0.0
  • 46.91
  • Published

resolve-glob

Ensures that absolute file paths are always returned from a glob pattern or array of glob patterns.

  • v1.0.0
  • 46.48
  • Published

@chialab/node-resolve

A promise based node resolution library based on enhanced-resolve.

  • v0.18.0
  • 46.42
  • Published

allof-merge

Simplify JsonSchema/Openapi by combining allOf safely

  • v0.6.6
  • 46.34
  • Published

reachable-url

Given an url resolve it as fast as possible

  • v1.8.1
  • 45.81
  • Published

resolve-accept-language

Resolve the preferred locale based on the value of an `Accept-Language` HTTP header.

  • v3.1.11
  • 45.67
  • Published

catchment

Collect Node.JS Stream Data Into Catchment: Stream With Promise Property Resolved On Finish.

  • v3.3.0
  • 45.49
  • Published

git-win

Install Git for Windows by npm.

  • v2.3.0
  • 45.17
  • Published

tsconfig-resolver

Walk up the tree to resolve `tsconfig.json` configuration objects.

    • v3.0.1
    • 45.12
    • Published

    npm-prefix

    Get global npm prefix. Respects npmrc configs

    • v1.2.0
    • 44.61
    • Published

    cfn-resolver-lib

    Library that resolves AWS Cloudformation templates with exact values

    • v1.1.8
    • 44.22
    • Published

    yoctodelay

    Delay a promise a specified amount of time

    • v2.0.0
    • 44.10
    • Published

    resolve.imports

    resolve "imports" in package.json

    • v2.0.3
    • 43.71
    • Published

    deep-aplus

    Resolve a whole structure of promises

    • v2.0.1
    • 43.61
    • Published

    tsconfig-replace-paths

    Replace absolute paths to relative paths for package compilation

    • v0.0.14
    • 42.97
    • Published

    next-path

    One step closer to your destination.

    • v1.0.0
    • 42.70
    • Published

    json-ref-lite

    Extremely light weight way to resolve jsonschema '$ref' references & inheritance: create circular/graphs, fractals from json (browser/coffeescript/javascript).

    • v1.1.0
    • 41.90
    • Published

    resolve-jit-symbols

    Resolves symbols for dynamic code generated by a JIT via a map file.

    • v0.5.0
    • 41.59
    • Published

    apply-ref

    > Apply React refs

    • v1.0.0
    • 41.51
    • Published

    move-on

    Creates a queue of sync or async functions with resolve and reject callback.

    • v2.1.9
    • 41.22
    • Published

    settle-promise

    Like `Promise.all`, but when all `Promise`s are settled.

    • v1.0.0
    • 41.10
    • Published

    module-resolver

    Asynchronous require.resolve() implementation

    • v1.0.0
    • 41.04
    • Published

    promised-timeout

    For limiting the time to resolve a promise.

    • v0.5.1
    • 40.75
    • Published

    p-min-delay

    Delay a promise a minimum amount of time

    • v4.1.0
    • 40.63
    • Published

    resolve-typescript-plugin

    webpack plugin to resolve TypeScript files when importing with js file extension in ESM projects

    • v2.0.1
    • 40.51
    • Published

    npm-paths

    Returns an array of NPM directory paths based on the user's platform and environment.

    • v2.0.0
    • 40.15
    • Published

    promise-resolve-timeout

    Create a Promise which will resolve with the provided value after a timeout.

    • v2.0.1
    • 40.06
    • Published

    resolve-relative-url

    Resolve a possibly relative URL agains a source URL

    • v1.0.0
    • 39.83
    • Published

    quick-resolve

    A Synchronous Promise.resolve. Preserve Sync/Async. Only Go Async If Necessary.

    • v0.0.1
    • 39.43
    • Published

    resolve-bower

    like require.resolve() on behalf of bower files asynchronously and synchronously

    • v0.0.1
    • 39.38
    • Published

    lookup-path

    Attempt to resolve the absolute filepath to a file and verify that it exists.

    • v0.3.1
    • 39.35
    • Published

    @xmpp/resolve

    XMPP connection methods resolution for JavaScript

    • v0.13.3
    • 39.14
    • Published

    packpath

    Find the path(s) package.json.

    • v0.1.0
    • 38.99
    • Published

    generator-util

    Utils for `generate` generators.

    • v0.2.9
    • 38.97
    • Published

    jref

    Traverse JSON objects through json pointers and dereference JSON schemeas

    • v1.0.2
    • 38.92
    • Published

    @sanity/resolver

    Resolves parts and plugins from a Sanity configuration

    • v2.36.2
    • 38.90
    • Published

    @ayonli/jsext

    A JavaScript extension package for building strong and modern applications.

    • v1.6.0
    • 38.78
    • Published

    relative-import-path

    path.relative for generating short require'able paths.

    • v1.0.0
    • 38.76
    • Published

    promise.withresolvers

    ES Proposal spec-compliant shim for Promise.withResolvers

    • v1.0.3
    • 38.53
    • Published

    sass-extended-importer

    A Custom Sass Import Resolver with included support for Node Module Resolution, additional file extensions, and path aliases/path mapping

    • v1.0.1
    • 38.42
    • Published

    react-resolver

    Async-rendering & data-fetching for universal React applications

    • v3.1.2
    • 37.94
    • Published

    graphql-resolve-batch

    A GraphQL batching model which groups execution by GraphQL fields.

    • v1.0.3
    • 37.80
    • Published

    expand

    Recursively resolve templates in an object, string or array.

    • v0.5.0
    • 37.59
    • Published

    my-deferred

    A tiny library to help with promises you can check and resolve from outside

    • v1.2.0
    • 37.54
    • Published

    yaml-boost

    Yaml Parser with additional functionality.

    • v4.0.2
    • 37.45
    • Published

    tspath

    TypeScript path alias resolver, re-writes JS files with relative paths according to @paths specified in tsconfig

    • v2.6.8
    • 36.87
    • Published

    awscred

    Resolves AWS credentials (and region) using env, file and IAM strategies

    • v1.5.0
    • 36.87
    • Published

    browser-builtins

    Builtins that were extracted from node-browser-resolve on which browserify depends

    • v3.3.1
    • 36.72
    • Published

    casparcg-state

    Node.js Javascript/Typescript library for keeping and resolving a given state of CasparCG into commands for casparcg-connection.

    • v3.0.3
    • 36.58
    • Published

    symlinked

    Node utility to list packages that are npm linked

    • v0.5.0
    • 36.45
    • Published

    fresh-require

    Bypass the require cache when requiring a module – works with both node and browserify

    • v1.0.3
    • 36.41
    • Published

    p-time

    Measure the time a promise takes to resolve

    • v4.0.0
    • 36.38
    • Published

    afterward

    Execute an error-first callback upon resolution or rejection of a promise (and return the promise)

    • v2.1.0
    • 36.34
    • Published

    vite-plugin-transform

    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.

    • v2.0.1
    • 36.23
    • Published

    enhanced-resolve-jest

    Resolver for Jest which uses the enhanced-resolve module

    • v1.1.0
    • 36.10
    • Published

    notate

    Resolve dot notation strings

    • v2.1.1
    • 35.94
    • Published

    find-up-cli

    Find a file by walking up parent directories

    • v6.0.0
    • 35.79
    • Published

    resolve-dep

    Return an array of resolved filepaths for require-able local or named npm modules. Wildcard (glob) patterns may be used.

    • v0.6.0
    • 35.44
    • Published

    witch

    require.resolve for binaries

    • v1.0.3
    • 35.40
    • Published

    require-module

    Requires a module found relative to given root or working directory.

    • v0.1.0
    • 35.36
    • Published

    @dozerg/find-up

    Find files or directories by walking up parent directories.

    • v1.0.8
    • 34.98
    • Published

    p-immediate

    Returns a promise resolved in the next event loop - think `setImmediate()`

    • v4.0.0
    • 34.68
    • Published

    shortstop-resolve

    a shortstop resolver like path but for node modules

    • v1.0.3
    • 34.68
    • Published

    eslint-import-resolver-alias-array

    A simple Node behavior import resolution plugin for eslint-plugin-import, supporting module alias, modified to allow for arrays of aliases.

    • v1.2.2
    • 34.62
    • Published

    jest-webpack-alias

    Preprocessor for Jest that is able to resolve require() statements using webpack aliases.

    • v3.3.4
    • 34.08
    • Published

    resolve-esm

    Shim for `import.meta.resolve`

    • v2.0.3
    • 33.98
    • Published

    git-root-dir

    Find the root directory of a `git` repository

    • v1.0.2
    • 33.54
    • Published

    @visulima/fs

    Human friendly file system utilities for Node.js

    • v3.1.2
    • 33.36
    • Published

    global-paths

    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.

    • v1.0.0
    • 33.25
    • Published

    home

    Gets the home dir or resolves home directories.

    • v2.0.0
    • 33.14
    • Published

    graphql-parse-fields

    Parse fields from AST (GraphQLResolveInfo) into a JSON tree

    • v1.2.0
    • 33.12
    • Published

    @sourcemeta/jsonschema

    The CLI for working with JSON Schema. Covers formatting, linting, testing, and much more for both local development and CI/CD pipelines

    • v9.2.2
    • 32.83
    • Published

    npm-cli-path

    Resolve the path of `npm-cli.js` included in the globally installed npm CLI

    • v4.0.0
    • 32.70
    • Published

    @adobe/redux-saga-promise

    Create actions that return promises, which are resolved/rejected by a redux saga

    • v1.1.1
    • 32.69
    • Published

    require-self-ref

    Solves the relative path problem in Node.js by allowing a require call to reference the current package

    • v2.0.1
    • 32.22
    • Published

    npm-cli-dir

    Resolve the directory path where npm CLI is installed

    • v4.0.0
    • 32.02
    • Published

    resolve-from-npm

    Resolve the path of a module from the directory where npm is installed

    • v4.2.0
    • 31.96
    • Published

    find-pkg-dir

    Find the root directory of a Node.js project from a given path

    • v2.0.0
    • 31.82
    • Published

    reurl

    URL manipulation library

    • v1.0.0-rc.2
    • 31.79
    • Published

    npm-delay

    delay before run next command

    • v1.0.4
    • 31.66
    • Published

    relative-dest

    Calculate the relative path from a file's destination path to another directory or file.

    • v0.1.0
    • 31.51
    • Published

    @cryptotaxcalculator/axios-cached-dns-resolve

    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

    • v4.0.0
    • 31.48
    • Published

    vlad

    JSON schema validation with a chainable syntax.

    • v2.0.0
    • 31.48
    • Published

    resolve-version

    Resolve version of an installed module.

    • v1.0.0
    • 31.39
    • Published

    babel-resolver

    Resolve modules from any directory.

    • v1.1.0
    • 31.19
    • Published

    deep-resolve-from

    Resolve the path of a module through a sequence of packages

    • v1.1.0
    • 31.16
    • Published

    deep-require-from

    Require a module like `require()` but via a sequence of nested packages

    • v1.0.0
    • 30.98
    • Published

    resolves

    Resolve parent directories, execute a function on every dir found until a result is returned

    • v1.0.0
    • 30.89
    • Published

    matchkeys

    Utility for returning a list of arrays that contain matching keywords. Useful for filtering package.json files.

    • v0.2.2
    • 30.83
    • Published

    autoresolve

    A simple module to auto resolve module paths.

    • v0.0.3
    • 30.75
    • Published

    deep-require-cwd

    Require a module like `require()` but via a sequence of nested packages from the current working directory

    • v1.0.0
    • 30.67
    • Published

    fake-promise

    Gives full control over when ES6 promises are resolved by providing an implementation of Promise with behavior controlled by .resolve(result) and .reject(error) methods. Intended for use in unit tests.

    • v2.5.44
    • 30.54
    • Published

    @suchipi/defer

    Inside-out promise; lets you call resolve and reject from outside the Promise constructor function.

    • v1.0.0
    • 30.45
    • Published

    q-deep

    Resolve a deeply nested structure of q-promises into a promise for the whole structure

    • v1.0.3
    • 30.14
    • Published

    lazy-resolver

    Skip hoops with promises Edit

    • v1.0.0
    • 29.79
    • Published

    import-local-file

    Let a globally installed package use a locally installed version of itself if available

    • v0.2.0
    • 29.58
    • Published

    jsconfig-paths-jest-mapper

    Use this to load modules whose location is specified in the `paths` section of `jsconfig.json` when using jest.

      • v1.0.0
      • 29.57
      • Published

      tangerine

      Tangerine is the best Node.js drop-in replacement for dns.promises.Resolver using DNS over HTTPS ("DoH") via undici with built-in retries, timeouts, smart server rotation, AbortControllers, and caching support for multiple backends (with TTL and purge sup

      • v1.6.0
      • 29.43
      • Published

      yarn-dependency-tree

      Display the dependency tree of a certain module based on your yarn.lock file

      • v0.0.7
      • 29.22
      • Published

      fluid-resolve

      resolve like require.resolve() on behalf of files asynchronously and synchronously

      • v1.3.0
      • 29.17
      • Published

      jsconfig-paths-webpack-plugin

      Use this to load modules whose location is specified in the `paths` section of `jsconfig.json` when using webpack.

        • v0.1.3
        • 29.16
        • Published

        docker-host-url

        URL host resolver for Docker applications

        • v0.2.0
        • 28.99
        • Published

        promise-any

        returns first successful promise. As in Promise.any() which is not part of the ES6 spec

        • v0.2.0
        • 28.92
        • Published

        webpack-theme-resolver-plugin

        Webpack Theme Resolver plugin to resolve files through directory chain with a package fallback at compile time.

        • v4.0.0
        • 28.90
        • Published

        resolve-dir-fixed

        simply resolves a path, using resolve after expanding a tilde

        • v1.0.0
        • 28.49
        • Published

        resolve-dependency

        Find The File That Dependency Path Resolves To.

        • v1.0.3
        • 28.47
        • Published

        cdn-resolve

        Resolves import paths to their CDN equivalents

        • v2.0.0
        • 28.16
        • Published

        fpj

        Resolves The Location Of The Package.Json File For The Given Dependency By Traversing The File System Up Starting From Given Path.

        • v1.3.1
        • 28.11
        • Published

        app-module-path-node

        Simple module to add additional directories to the Node module search for top-level app modules

        • v0.1.0
        • 27.97
        • Published

        @dword-design/load-pkg

        Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.

        • v4.0.0
        • 27.80
        • Published

        path-resolver

        returns a valid filesystem path.

        • v0.0.2
        • 27.75
        • Published