# q_

> Tiny helper to navigation into objects

Latest version **1.0.5** (published 2017-09-20) · ISC license · 0 weekly downloads

## Install

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

## 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.5 |
| Published | 2017-09-20 |
| First published | 2017-09-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | @antoniopresto |
| Maintainers | antoniopresto |
| Keywords | elvis operator, optional chainig, safe navigation |

## Links

- npm: https://www.npmjs.com/package/q_
- Repository: https://github.com/antoniopresto/safe-object-navigation
- Homepage: https://github.com/antoniopresto/safe-object-navigation#readme
- Issues: https://github.com/antoniopresto/safe-object-navigation/issues
- npm.io page: https://npm.io/package/q_

## Alternatives

- [express-promise-router](https://npm.io/package/express-promise-router.md) — 736.1K weekly downloads
- [next-usequerystate](https://npm.io/package/next-usequerystate.md) — 29.8K weekly downloads
- [@bitkyc08/opencodex](https://npm.io/package/@bitkyc08/opencodex.md) — 4.6K weekly downloads
- [lynkr](https://npm.io/package/lynkr.md) — 575 weekly downloads
- [baremetal.js](https://npm.io/package/baremetal.js.md) — 42 weekly downloads

## Recent versions

- 1.0.5 (latest) — 2017-09-20
- 1.0.3 — 2017-09-19
- 1.0.2 — 2017-09-19
- 1.0.1 — 2017-09-19
- 1.0.0 — 2017-09-19

## README

# Safe navigation into objects

npm install --save q_

```js

const q = require('q_');

const object = {
  a: {
    b: {
      c: {
        d: 1,
        array: ['foo', 'bar'],
      },
    },
  },
};
```

 - ``` q(object, 'a.b.c.d'); // => 1 ```
 - ``` q(object, 'a.b.c.array[1]'); // => bar```
 - ``` q(object, 'foo'); // => undefined```

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