npm.io
0.19.1 • Published 5 months ago

@chialab/node-resolve

Licence
MIT
Version
0.19.1
Deps
0
Size
720 kB
Vulns
0
Weekly
0
Stars
183

Node Resolve

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

This plugin development is deprecated and discontinued, as we are going to remove support for the style resolution field in package.json. It's recommended to use the oxc-resolver package instead.

NPM


Install

npm i @chialab/node-resolve -D
yarn add @chialab/node-resolve -D
pnpm add @chialab/node-resolve -D

Usage

import { resolve } from '@chialab/node-resolve';

await resolve('lit', '/path/to/www/js');

License

Node Resolve is released under the MIT license.

Keywords