# nessy

> set value in nested object

Latest version **6.0.1** (published 2026-04-22) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 6.0.1 |
| Published | 2026-04-22 |
| First published | 2016-03-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=22 |
| Dependencies | 0 |
| Unpacked size | 7.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | coderaiser |
| Maintainers | coderaiser |
| Keywords | json, object, value, nested, set |

## Links

- npm: https://www.npmjs.com/package/nessy
- Repository: https://github.com/coderaiser/nessy
- Issues: https://github.com/coderaiser/nessy/issues
- npm.io page: https://npm.io/package/nessy

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 6.0.1 (latest) — 2026-04-22
- 6.0.0 — 2026-01-11
- 5.3.0 — 2025-03-06
- 5.2.0 — 2025-02-16
- 5.1.0 — 2025-02-14
- 5.0.0 — 2025-02-14
- 4.0.0 — 2020-11-04
- 3.0.2 — 2020-11-03
- 3.0.1 — 2020-11-03
- 3.0.0 — 2020-01-05
- 2.1.0 — 2017-07-14
- 2.0.0 — 2016-11-03
- 1.1.1 — 2016-09-19
- 1.1.0 — 2016-09-16
- 1.0.2 — 2016-03-28
- … 2 more at https://npm.io/package/nessy/versions

## README

# Nessy [![NPM version][NPMIMGURL]][NPMURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]

[NPMIMGURL]: https://img.shields.io/npm/v/nessy.svg?style=flat
[BuildStatusURL]: https://github.com/coderaiser/nessy/actions?query=workflow%3A%22Node+CI%22 "Build Status"
[BuildStatusIMGURL]: https://github.com/coderaiser/nessy/workflows/Node%20CI/badge.svg
[NPMURL]: https://npmjs.org/package/nessy "npm"
[CoverageURL]: https://coveralls.io/github/coderaiser/nessy?branch=master
[CoverageIMGURL]: https://coveralls.io/repos/coderaiser/nessy/badge.svg?branch=master&service=github

Set value in nested object.

## Install

`npm i nessy --save`

## Hot to use?

```js
import {nessy} from 'nessy';

nessy('hello.world', 'why not?', '.', {
    hello: {
        world: 'could be used in browser as well',
    },
})(// returns
{
    hello: {
        world: 'why not?',
    },
});
nessy('hello*world', 'why not?', '*', {
    hello: {
        world: 'can be used any divider',
    },
});
({
    hello: {
        world: 'why not?',
    },
});
// even arrays supported
nessy('hello.0', 'world', {});
({
    hello: ['world'],
});
```

## Related

- [jessy](https://github.com/coderaiser/jessy "jessy") - get value by object property.
- [all-object-keys](https://github.com/coderaiser/all-object-keys "all-object-keys") - get all keys of object.
- [finicky](https://github.com/coderaiser/finicky "finicky") delete property of an object

## License

MIT

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