# ua-dotpathlookup

> A simple function to convert a dot notation string to its corresponding value on an object, written as part of a technical evaluation.

Latest version **0.0.0** (published 2013-05-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install ua-dotpathlookup
pnpm add ua-dotpathlookup
yarn add ua-dotpathlookup
bun add ua-dotpathlookup
```

## 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.0 |
| Published | 2013-05-16 |
| First published | 2013-05-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Chris Trombley |
| Maintainers | ctrombley |

## Links

- npm: https://www.npmjs.com/package/ua-dotpathlookup
- Repository: https://github.com/ctrombley/ua-dotpathlookup
- npm.io page: https://npm.io/package/ua-dotpathlookup

## Recent versions

- 0.0.0 (latest) — 2013-05-16

## README

# ua-dotpathlookup

A simple function to convert a dot notation string to its corresponding value on an object, written as part of a technical evaluation.

```javascript
var dotpath = require('ua-dotpathlookup')
var find = dotpath('part.key.attribute')

var found = find({part: {key: {attribute: "woop woop"} }})
console.log(found) // outputs "woop woop"

var not_found = find({}) || find() || find(null)
console.log(not_found) // outputs undefined
```

## LICENSE 

MIT

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