# deema

> > "Deema" stands for ["deus-ex-machina"](https://en.wikipedia.org/wiki/Deus_ex_machina) since it can resolve **anything**.

Latest version **0.1.0** (published 2020-11-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install deema
pnpm add deema
yarn add deema
bun add deema
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2020-11-30 |
| First published | 2020-11-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 22.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | AnatoleLucet |
| Maintainers | anatole-lucet |

## Links

- npm: https://www.npmjs.com/package/deema
- Repository: https://github.com/AnatoleLucet/Deema
- Homepage: https://github.com/AnatoleLucet/Deema#readme
- Issues: https://github.com/AnatoleLucet/Deema/issues
- npm.io page: https://npm.io/package/deema

## Dependencies (1)

- [find-up](https://npm.io/package/find-up.md) ^5.0.0

## Recent versions

- 0.1.0 (latest) — 2020-11-30

## README

# Deema

> "Deema" stands for ["deus-ex-machina"](https://en.wikipedia.org/wiki/Deus_ex_machina) since it can resolve **anything**.

A utility to resolve most non-vanilla JS import paths

## Usage

```json
// tsconfig.json
{
  "compilerOptions": {
    "baseUrl": ".",
    "paths": { "@/*": ["./*"] }
  }
}
```

```ts
import { generateResolver } from "deema";

const resolve = generateResolver("/my/root/path");

resolve("src/component/main.ts", "@/shared/sum"); // "../shared/sum"
```

## [Work in progress](https://github.com/benawad/destiny/issues/123)

This repo is more of an experiment for now. We'll see if its concept become viable.

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