npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

object-getprototypesof

1.0.1 • Public • Published

object-getprototypesof Build Status

Recursive get prototype of object. The Object.getPrototypeOf+.

Install

$ npm install --save object-getprototypesof

Usage

const getPrototypesOf = require('object-getprototypesof');
 
const a = {};
const b = {};
const c = {};
 
b.__proto__ = a;
Object.setProtoypeOf(c, b);
 
var arr = getPrototypesOf(c);
// [{}, {}, {}];

License

MIT

install

npm i object-getprototypesof

Downloadsweekly downloads

2

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability