# getdeep

> like .get but goes all the way down

Latest version **1.0.4** (published 2017-09-11) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2017-09-11 |
| First published | 2016-07-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Luke Chinworth |
| Maintainers | lukechinworth |
| Keywords | get, deep |

## Links

- npm: https://www.npmjs.com/package/getdeep
- Repository: https://github.com/lukechinworth/getdeep
- Homepage: https://github.com/lukechinworth/getdeep#readme
- Issues: https://github.com/lukechinworth/getdeep/issues
- npm.io page: https://npm.io/package/getdeep

## Recent versions

- 1.0.4 (latest) — 2017-09-11
- 1.0.3 — 2016-11-17
- 1.0.2 — 2016-11-17
- 1.0.1 — 2016-07-02
- 1.0.0 — 2016-07-01

## README

# getdeep
like .get but goes all the way down

# use
```javascript
var getDeep = require('getdeep');
```

works on objects like normal
```javascript
getDeep('en', {en: 'the title', fr: 'le titre'}); // 'the title'
```

get deeper
```javascript
getDeep('en', {
    title: {
        en: 'The title',
        fr: 'Le title'
    },
    body: {
        en: 'The body',
        fr: 'le texte'
    }
}); // { title: 'The title', body: 'The body' }
```

get arrays
```javascript
getDeep('en', [
    {
        en: 'item 1',
        fr: 'point 1'
    },
    {
        en: 'item 2',
        fr: 'point 2'
    }
]); // ['item 1','item 2']
```

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