# @0x/sol-resolver

> Import resolver for smart contracts dependencies

Latest version **3.1.13** (published 2022-08-18) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @0x/sol-resolver
pnpm add @0x/sol-resolver
yarn add @0x/sol-resolver
bun add @0x/sol-resolver
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.1.13 |
| Published | 2022-08-18 |
| First published | 2018-10-18 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=6.12 |
| Dependencies | 4 |
| Unpacked size | 55.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | aeph4muh, idokleinman, jadetran, kyuc, henryzhu, tobernguyen, dex_tracker, dekz, amirbandeali, phil-ociraptor |

## Links

- npm: https://www.npmjs.com/package/@0x/sol-resolver
- Repository: https://github.com/0xProject/tools
- Homepage: https://github.com/0xProject/tools/tree/main/resolver
- Issues: https://github.com/0xProject/tools/issues
- npm.io page: https://npm.io/package/@0x/sol-resolver

## Dependencies (4)

- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [@0x/types](https://npm.io/package/@0x/types.md) ^3.3.7
- [@types/node](https://npm.io/package/@types/node.md) 12.12.54
- [@0x/typescript-typings](https://npm.io/package/@0x/typescript-typings.md) ^5.3.2

## Recent versions

- 3.1.13 (latest) — 2022-08-18
- 2.1.0-beta.3 (protocolV3) — 2019-12-02
- 3.1.12 — 2022-03-16
- 3.1.11 — 2022-03-16
- 3.1.10 — 2022-02-26
- 3.1.9 — 2021-08-25
- 3.1.8 — 2021-04-26
- 3.1.7 — 2021-03-24
- 3.1.6 — 2020-12-02
- 3.1.5 — 2020-10-28
- 3.1.4 — 2020-10-21
- 3.1.3 — 2020-10-21
- 3.1.2 — 2020-10-20
- 3.1.1 — 2020-10-20
- 3.1.0 — 2020-07-15
- … 28 more at https://npm.io/package/@0x/sol-resolver/versions

## README

## @0x/sol-resolver

A Solidity import resolver used by [sol-compiler](https://github.com/0xProject/0x-monorepo/tree/development/packages/sol-compiler).

## Installation

```bash
yarn add @0x/sol-resolver
```

**Import**

```javascript
import { Resolver } from '@0x/sol-resolver';
```

or

```javascript
var Resolver = require('@0x/sol-resolver').Resolver;
```

## Contributing

We welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.

Please read our [contribution guidelines](../../CONTRIBUTING.md) before getting started.

### Install dependencies

If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:

```bash
yarn config set workspaces-experimental true
```

Then install dependencies

```bash
yarn install
```

### Build

To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:

```bash
PKG=@0x/sol-resolver yarn build
```

Or continuously rebuild on change:

```bash
PKG=@0x/sol-resolver yarn watch
```

### Clean

```bash
yarn clean
```

### Lint

```bash
yarn lint
```

---
_Source: https://npm.io/package/@0x/sol-resolver · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
