# dunder-proto-x

> If available, the `Object.prototype.__proto__` accessor and mutator, call-bound

Latest version **1.0.0** (published 2026-01-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install dunder-proto-x
pnpm add dunder-proto-x
yarn add dunder-proto-x
bun add dunder-proto-x
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2026-01-10 |
| First published | 2026-01-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | xsfj |
| Maintainers | xsfj |
| Keywords | xsfj |

## Links

- npm: https://www.npmjs.com/package/dunder-proto-x
- Repository: https://github.com/xsfj/dunder-proto-x
- Homepage: https://github.com/xsfj/dunder-proto-x#readme
- Issues: https://github.com/xsfj/dunder-proto-x/issues
- npm.io page: https://npm.io/package/dunder-proto-x

## Dependencies (4)

- [gopd](https://npm.io/package/gopd.md) ^1.2.0
- [uncurry-x](https://npm.io/package/uncurry-x.md) ^1.0.1
- [es-object-atoms](https://npm.io/package/es-object-atoms.md) ^1.1.1
- [es-error-intrinsics](https://npm.io/package/es-error-intrinsics.md) ^1.0.1

## Recent versions

- 1.0.0 (latest) — 2026-01-10

## README

# dunder-proto-x

If available, the `Object.prototype.__proto__` accessor and mutator, call-bound.

## Getting started

```sh
npm install --save dunder-proto-x
```

## Usage/Examples

```js
const assert = require('assert')
const getDunder = require('dunder-proto-x/get')
const setDunder = require('dunder-proto-x/set')

const obj = {}

assert.equal('toString' in obj, true)
assert.equal(getDunder(obj), Object.prototype)

setDunder(obj, null)

assert.equal('toString' in obj, false)
assert.equal(getDunder(obj), null)
```

## Tests

Clone the repo, `npm install`, and run `npm test`

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