# @jswork/next-get2get

> Get paths one by one.

Latest version **1.0.9** (published 2026-05-04) · MIT license · 945 weekly downloads

## Install

```sh
npm install @jswork/next-get2get
pnpm add @jswork/next-get2get
yarn add @jswork/next-get2get
bun add @jswork/next-get2get
```

## Health

**Score 50/100 (C)** — status: active.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2026-05-04 |
| First published | 2021-06-27 |
| Weekly downloads | 945 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | afei |
| Maintainers | afeiship, yujiao.luo |
| Keywords | next, get, paths, event, value |

## Links

- npm: https://www.npmjs.com/package/@jswork/next-get2get
- Homepage: https://js.work
- npm.io page: https://npm.io/package/@jswork/next-get2get

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads
- [@walkeros/server-destination-criteo](https://npm.io/package/@walkeros/server-destination-criteo.md) — 323 weekly downloads

## Recent versions

- 1.0.9 (latest) — 2026-05-04
- 1.0.8 — 2023-07-29
- 1.0.7 — 2023-07-29
- 1.0.6 — 2023-07-18
- 1.0.5 — 2023-07-18
- 1.0.4 — 2023-05-25
- 1.0.3 — 2023-04-14
- 1.0.2 — 2023-04-06
- 1.0.1 — 2022-12-11
- 1.0.0 — 2021-06-27

## README

# next-get2get
> Get paths one by one.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-get2get
```

## usage
```js
import '@jswork/next-get2get';

const e1 = { target: { value: '121' } };
const e2 = { detail: { value: '122' } };
const e3 = 123;
const paths = ['target.value', 'detail.value'];

const res1 = nx.get2get(e1, paths, 'event-value');
const res2 = nx.get2get(e2, paths, 'event-value');
const res3 = nx.get2get(e3, paths, 'event-value');

// '121'
// '122'
// 'event-value'
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-get2get/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-get2get
[version-url]: https://npmjs.org/package/@jswork/next-get2get

[license-image]: https://img.shields.io/npm/l/@jswork/next-get2get
[license-url]: https://github.com/afeiship/next-get2get/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-get2get
[size-url]: https://github.com/afeiship/next-get2get/blob/master/dist/next-get2get.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-get2get
[download-url]: https://www.npmjs.com/package/@jswork/next-get2get

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