ether-admin/node_modules/dunder-proto
chiguyong eb399474f4 init: ether-admin frontend project
- Vue3 + TypeScript + Ant Design Vue
- Auth, User, Role, Project management pages
- Pinia state management
- Vue Router with auth guard
2026-03-19 09:28:30 +08:00
..
.github init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
test init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
.eslintrc init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
.nycrc init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
CHANGELOG.md init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
LICENSE init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
README.md init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
get.d.ts init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
get.js init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
package.json init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
set.d.ts init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
set.js init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
tsconfig.json init: ether-admin frontend project 2026-03-19 09:28:30 +08: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