# @stackmeister/json-pointer

> @stackmeister/json-pointer ==========================

Latest version **0.1.6** (published 2022-11-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @stackmeister/json-pointer
pnpm add @stackmeister/json-pointer
yarn add @stackmeister/json-pointer
bun add @stackmeister/json-pointer
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2022-11-09 |
| First published | 2022-11-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 24.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | torbenkoehn |

## Links

- npm: https://www.npmjs.com/package/@stackmeister/json-pointer
- Repository: https://github.com/StackmeisterGmbH/typescript-packages
- Homepage: https://github.com/StackmeisterGmbH/typescript-packages#readme
- Issues: https://github.com/StackmeisterGmbH/typescript-packages/issues
- npm.io page: https://npm.io/package/@stackmeister/json-pointer

## Dependencies (1)

- [@stackmeister/types](https://npm.io/package/@stackmeister/types.md) ^0.1.4

## Recent versions

- 0.1.6 (latest) — 2022-11-09
- 0.1.5 — 2022-11-09
- 0.1.4 — 2022-11-09

## README

@stackmeister/json-pointer
==========================

Utilities for JSON-pointers.

Install
=======

```bash
// Yarn
yarn add @stackmeister/json-pointer

// NPM
npm i @stackmeister/json-pointer
```

TypeScript typings are included (No `@types/` package needed)

Usage
=====

```ts
import { get, set, remove } from '@stackmeister/json-pointer'

get('/someProperty/2', { someProperty: ['a', 'b', 'c', 'd'] }) // "c"

set('/a/b', { a: { b: 2 } }, 5) // { a: { b: 5 } }

remove('/a/b', { a: { b: 2, c: 3 } }) // { a: { c: 3 } }
```

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