jira-ai-fixer/frontend/node_modules/dunder-proto
Ricel Leite 6b020d19a7 Add pre-built frontend 2026-02-18 20:05:41 -03:00
..
.github Add pre-built frontend 2026-02-18 20:05:41 -03:00
test Add pre-built frontend 2026-02-18 20:05:41 -03:00
.eslintrc Add pre-built frontend 2026-02-18 20:05:41 -03:00
.nycrc Add pre-built frontend 2026-02-18 20:05:41 -03:00
CHANGELOG.md Add pre-built frontend 2026-02-18 20:05:41 -03:00
LICENSE Add pre-built frontend 2026-02-18 20:05:41 -03:00
README.md Add pre-built frontend 2026-02-18 20:05:41 -03:00
get.d.ts Add pre-built frontend 2026-02-18 20:05:41 -03:00
get.js Add pre-built frontend 2026-02-18 20:05:41 -03:00
package.json Add pre-built frontend 2026-02-18 20:05:41 -03:00
set.d.ts Add pre-built frontend 2026-02-18 20:05:41 -03:00
set.js Add pre-built frontend 2026-02-18 20:05:41 -03:00
tsconfig.json Add pre-built frontend 2026-02-18 20:05:41 -03:00

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