Lukas Goldschmidt c573c3aed2 Init mem0 python plugin with knowledge tools před 1 měsícem
..
.github c573c3aed2 Init mem0 python plugin with knowledge tools před 1 měsícem
test c573c3aed2 Init mem0 python plugin with knowledge tools před 1 měsícem
.eslintrc c573c3aed2 Init mem0 python plugin with knowledge tools před 1 měsícem
.nycrc c573c3aed2 Init mem0 python plugin with knowledge tools před 1 měsícem
CHANGELOG.md c573c3aed2 Init mem0 python plugin with knowledge tools před 1 měsícem
LICENSE c573c3aed2 Init mem0 python plugin with knowledge tools před 1 měsícem
README.md c573c3aed2 Init mem0 python plugin with knowledge tools před 1 měsícem
get.d.ts c573c3aed2 Init mem0 python plugin with knowledge tools před 1 měsícem
get.js c573c3aed2 Init mem0 python plugin with knowledge tools před 1 měsícem
package.json c573c3aed2 Init mem0 python plugin with knowledge tools před 1 měsícem
set.d.ts c573c3aed2 Init mem0 python plugin with knowledge tools před 1 měsícem
set.js c573c3aed2 Init mem0 python plugin with knowledge tools před 1 měsícem
tsconfig.json c573c3aed2 Init mem0 python plugin with knowledge tools před 1 měsícem

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