Excel_managment/node_modules/dunder-proto
Sujal 22e4fe479e Initial commit 2026-10-12 14:36:14 +05:30
..
.github Initial commit 2026-10-12 14:36:14 +05:30
test Initial commit 2026-10-12 14:36:14 +05:30
.eslintrc Initial commit 2026-10-12 14:36:14 +05:30
.nycrc Initial commit 2026-10-12 14:36:14 +05:30
CHANGELOG.md Initial commit 2026-10-12 14:36:14 +05:30
LICENSE Initial commit 2026-10-12 14:36:14 +05:30
README.md Initial commit 2026-10-12 14:36:14 +05:30
get.d.ts Initial commit 2026-10-12 14:36:14 +05:30
get.js Initial commit 2026-10-12 14:36:14 +05:30
package.json Initial commit 2026-10-12 14:36:14 +05:30
set.d.ts Initial commit 2026-10-12 14:36:14 +05:30
set.js Initial commit 2026-10-12 14:36:14 +05:30
tsconfig.json Initial commit 2026-10-12 14:36:14 +05:30

README.md

dunder-proto Version Badge

github actions coverage License Downloads

npm badge

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

Getting started

npm install --save dunder-proto

Usage/Examples

const assert = require('assert');
const getDunder = require('dunder-proto/get');
const setDunder = require('dunder-proto/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