# organic-dna-resolvereferences

> Resolves DNA `@references` within branches directly

Latest version **0.0.3** (published 2014-08-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install organic-dna-resolvereferences
pnpm add organic-dna-resolvereferences
yarn add organic-dna-resolvereferences
bun add organic-dna-resolvereferences
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2014-08-26 |
| First published | 2014-07-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Boris Filipov |
| Maintainers | outbounder |

## Links

- npm: https://www.npmjs.com/package/organic-dna-resolvereferences
- Repository: https://github.com/outbounder/organic-dna-resolvereferences
- Issues: https://github.com/outbounder/organic-dna-resolvereferences/issues
- npm.io page: https://npm.io/package/organic-dna-resolvereferences

## Dependencies (1)

- [organic-dna-branches](https://npm.io/package/organic-dna-branches.md) 0.0.2

## Recent versions

- 0.0.3 (latest) — 2014-08-26
- 0.0.2 — 2014-08-18
- 0.0.1 — 2014-07-11

## README

# organic-dna-resolvereferences

Resolves DNA `@branch.property` as references

## example

    var dna = {
      "branch": {
        "property": "value"
      },
      "otherBranch": {
        "propertyValueReference": "@branch.property",
        "wholeBranch": "@branch"
      }
    }

    var resolveReferences = require("organic-dna-resolvereferences")
    resolveReferences(dna)

    console.log(dna.otherBranch.propertyValueReference) // == "value"
    console.log(dna.otherBranch.wholeBranch.property) // == "value"

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