oxc-resolver
TypeScript icon, indicating that this package has built-in type declarations

1.8.1 • Public • Published

The JavaScript Oxidation Compiler

See index.d.ts for resolveSync and ResolverFactory API.

ESM

import path from 'path';
import resolve, { ResolverFactory } from './index.js';
import assert from 'assert';

// `resolve`
assert(resolve.sync(process.cwd(), "./index.js").path, path.join(cwd, 'index.js'));

// `ResolverFactory`
const resolver = new ResolverFactory();
assert(resolver.sync(process.cwd(), "./index.js").path, path.join(cwd, 'index.js'));

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.8.1
    45
    • latest

Version History

Package Sidebar

Install

npm i oxc-resolver

Weekly Downloads

67

Version

1.8.1

License

MIT

Unpacked Size

17.5 kB

Total Files

5

Last publish

Collaborators

  • boshen