# fastget

> An alternative to lodash _.get()

Latest version **1.0.2** (published 2017-05-30) · MIT license · 0 weekly downloads

## Install

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

## 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.2 |
| Published | 2017-05-30 |
| First published | 2017-05-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Robin Malfait |
| Maintainers | malfaitrobin |

## Links

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

## Recent versions

- 1.0.2 (latest) — 2017-05-30
- 1.0.1 — 2017-05-30
- 1.0.0 — 2017-05-30

## README

## Fastget

An alternative to lodash' `_.get()`. It can get the value from an object or an array with ease.

### Install

```
npm install fastget --save
```

or with yarn

```
yarn add fastget
```

### Usage


```js
import get from 'fastget';

const obj = {a: [{b: {c: 3}}]}

get(() => obj.a[0].b.c)
// => 3

get(() => obj.a.b.c, 'default')
// => 'default'
```

### Tests

```
npm test
```

or with yarn

```
yarn test
```

### Licence

MIT

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