curaflow/node_modules/get-proto
Deep Koluguri 6058f9a862
Build Curio HMS / build-and-deploy (push) Successful in 48s Details
feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys
2026-05-23 11:27:26 -04:00
..
.github feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
test feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
.eslintrc feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
.nycrc feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
CHANGELOG.md feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
LICENSE feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
Object.getPrototypeOf.d.ts feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
Object.getPrototypeOf.js feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
README.md feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
Reflect.getPrototypeOf.d.ts feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
Reflect.getPrototypeOf.js feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
index.d.ts feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
index.js feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
package.json feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
tsconfig.json feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00

README.md

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