curaflow/node_modules/setprototypeof
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
..
test 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
README.md 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

README.md

Polyfill for Object.setPrototypeOf

NPM Version NPM Downloads js-standard-style

A simple cross platform implementation to set the prototype of an instianted object. Supports all modern browsers and at least back to IE8.

Usage:

$ npm install --save setprototypeof
var setPrototypeOf = require('setprototypeof')

var obj = {}
setPrototypeOf(obj, {
  foo: function () {
    return 'bar'
  }
})
obj.foo() // bar

TypeScript is also supported:

import setPrototypeOf from 'setprototypeof'