zioinfo-mail/workspace/guardia-manager/frontend/node_modules/get-proto
DESKTOP-TKLFCPR\ython cfe2901a55 refactor(structure): consolidate all projects under workspace/
- itsm/    -> workspace/guardia-itsm/
- manager/ -> workspace/guardia-manager/
- app/     -> workspace/guardia-messenger/
- manual/  -> workspace/guardia-docs/

workspace/zioinfo-web/ unchanged.
git mv preserves full commit history.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 23:50:56 +09:00
..
.github refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
.eslintrc refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
.nycrc refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
CHANGELOG.md refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
index.d.ts refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
index.js refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
LICENSE refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
Object.getPrototypeOf.d.ts refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
Object.getPrototypeOf.js refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
package.json refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
README.md refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
Reflect.getPrototypeOf.d.ts refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
Reflect.getPrototypeOf.js refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
tsconfig.json refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00

get-proto Version Badge

github actions coverage License Downloads

npm badge

Robustly get the Prototype of an object. Uses the best available method.

Getting started

npm install --save get-proto

Usage/Examples

const assert = require('assert');
const getProto = require('get-proto');

const a = { a: 1, b: 2, [Symbol.toStringTag]: 'foo' };
const b = { c: 3, __proto__: a };

assert.equal(getProto(b), a);
assert.equal(getProto(a), Object.prototype);
assert.equal(getProto({ __proto__: null }), null);

Tests

Clone the repo, npm install, and run npm test